LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you trigger an event within a program?

I have my event structure within a sequence and when it gets to the sequence where the events are, it waits there until there is an event and does not go to the next sequence. Is there a way to trigger an event structure within a program if no event occurs within a certain amount of time?
0 Kudos
Message 1 of 3
(2,846 Views)
That's what the timeout event can be used for. Wire a value other than -1 to the timeout terminal. Wire the appropriate Boolean value from inside the event to terminate the while loop that the event structure is inside of.
Message 2 of 3
(2,846 Views)
Dennis is right, but you can also programaticly fire events in LabVIEW 7. It is not straight forward to explain. Look in the user manual and the shipping examples for user events .
0 Kudos
Message 3 of 3
(2,846 Views)