LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Function "Wait for value change"

Hello, I want a sequence to wait until a boolean variable in another part of the block diagram becomes true. Is there a function that I can put in one of the frames of the sequence that does the job?

Thanks a lot
0 Kudos
Message 1 of 3
(3,891 Views)
Would a semaphore work in your application?
(Click on LabVIEW Help, and index the semaphore topic.) Grab the semaphore when you set the boolean to false, release it when you set it true.

Les.Hammer@CompleteTest.com
0 Kudos
Message 2 of 3
(3,891 Views)
Hello, thanks for advice. I've already solved my problem using locals. However I'll have a look at the semaphores for the sake of better performance!
0 Kudos
Message 3 of 3
(3,891 Views)