Jump to content
News about the LabVIEW Wiki! Read more... ×
crossrulz

New Messaging VIs

Recommended Posts

I started working on a reuse library late last year. I've been working on it off and on. Anyways, I would like to submit it for OpenG. So here's the first batch of code.

There are two main parts to this library. First, I included templates for Action Engines for using Queues, Notifiers, and Events. These AEs are pretty simple, but have become a criitcal part of some of my architectures over the years. They are controled using a type def enum.

The otehr main part is an Functional Global Variable for stopping an application. I called it a Stop Global. The key features with this FGV is a Set and a Reset mechanism and the use of an Event in order to tell an event structure to exit. I didn't like the idea of using a timeout event in order to poll the global. And yes, the event is controled with an AE that was created by one of the templates.

I zipped up the code and left an example of how to use the Stop Global. Everything should be saved in 2011. If you need me to save back to 2009, let me know.

Thoughts? Critisism? Praise? Ideas to make them better? Good for OpenG?

I'll post more of my library for submisison a little down the road.

Messaging.zip

Stop Global Example.vi

Messaging Library Descriptions.txt

Edited by crossrulz

Share this post


Link to post
Share on other sites

Consider making these into project templates for LV 2012 for those parts that do not overlap the shipping templates.

Share this post


Link to post
Share on other sites

Consider making these into project templates for LV 2012 for those parts that do not overlap the shipping templates.

I did think about that during the beta. But at this current time OpenG is supposed to be written in LV2009. It is something to look into.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.