LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event structure

Solved!
Go to solution

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

0 Kudos
Message 1 of 9
(2,526 Views)

Use a local variable.

 


@Jerry Jin wrote:

[...] The Labview help is helpless.

 

[...]



Definitely not. It may take some time until it becomes your friend.

0 Kudos
Message 2 of 9
(2,522 Views)

Like this?

 

 

0 Kudos
Message 3 of 9
(2,521 Views)

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


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 9
(2,518 Views)

@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


"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 9
(2,511 Views)

@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.

 

Message 6 of 9
(2,506 Views)

Could you save the VI as LABVIEW 2009 version so I can open it?

0 Kudos
Message 7 of 9
(2,495 Views)
Solution
Accepted by topic author Jerry Jin

Here you are-

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 9
(2,487 Views)

Hey, I'd really love to get the same for LV 7.0 Smiley Happy

Would be really great!

 

Thanks in advance,

logi

Lv 7.0 Sudent Edt. Mac OsX 10.6.8/10.7.2 Windows XP
0 Kudos
Message 9 of 9
(2,431 Views)