‎07-25-2010 01:18 PM
Have you considered an Action Engine (AE) for the Stop function? Search for Ben's Nugget on AEs if you are not familiar with the concept.
As for polling, the only place that would be needed is in the even structure. Just read the AE in the Timeout case. No extra code for polling. Anywhere else the AE can be read just as the global is read.
Lynn
‎07-27-2010 10:03 AM
I'm still having trouble connecting the Create User Event to the Global variable because I don't know how to define the Global variable. If I define the Global variable as a boolean indicator, I get a broken wire from the Create User Event because the output is a user event refnum. But there is no User event Refnum variable in LabVIEW for me to use in the Global variable definition.
How did you define user event out so that you could connect it to the Create USer Event?
Can you show the code (front panel) for it?
THANKS.
‎07-27-2010 10:11 AM
Right click on the output of the Create User Event and select Create>Indicator. Cut and paste that into a global VI.
‎07-27-2010 01:15 PM
It Works ! (of Course)
LabVIEW is pretty good at hiding things like this in different places.
THANKS MUCH !
I am very grateful.
‎07-27-2010 01:21 PM
@dbaechtel wrote:
It Works ! (of Course)
LabVIEW is pretty good at hiding things like this in different places.
THANKS MUCH !
I am very grateful.
Two of my early G-Daddies taught me two imporatant leasons to thrive in LV.
1)
If I do not know how a function works I used "ctrl-n" to create a new VI and try the function out.
2)
If in doubt, right-click.
Ben