01-12-2012 02:50 PM
Hi, I have two events in a event structure. I need to use one event to input "yes" to a boolean indicator and use the other event to inpot "no" to the same boolean indicator. How to do that? The Labview help is helpless.
Thanks
Solved! Go to Solution.
01-12-2012 02:56 PM
Use a local variable.
@Jerry Jin wrote:
[...] The Labview help is helpless.
[...]
Definitely not. It may take some time until it becomes your friend.
01-12-2012 02:58 PM
Like this?
01-12-2012 03:04 PM
I'm a bit confused by the idea of a boolean with values Yes an No so I assume you meant property.text
Here's a quick example that demonstrates the event structure
01-12-2012 03:08 PM
@WayneS1324 wrote:
Like this?
Wayne! Hold up on that- event structures without a loop are pretty dangerous. The events can queue up pretty fast waiting for an active event loop. And we won't use the run continusly button outside of code testing again!
With a while loop thats a nice example
01-12-2012 03:15 PM
@Jeff Bohrer wrote:
@WayneS1324 wrote:
Like this?
Wayne! Hold up on that- event structures without a loop are pretty dangerous. The events can queue up pretty fast waiting for an active event loop. And we won't use the run continusly button outside of code testing again!
With a while loop thats a nice example
Yeah, I know. It was just meant as the simplest possible example of an event structure. I guess it was a bad example.
01-12-2012 03:34 PM
Could you save the VI as LABVIEW 2009 version so I can open it?
01-12-2012 04:00 PM
Here you are-
02-10-2012 03:21 AM
Hey, I'd really love to get the same for LV 7.0
Would be really great!
Thanks in advance,
logi