LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface locked

In that example, the event structure is only in the wait event case. So new events will not be processed until you return to the wait case. If you turn on highlight execution, you can see this happening. You need to bring your event structure out of the case structure.
_____________________________
- Cheers, Ed
0 Kudos
Message 11 of 14
(631 Views)
Aha, I thought that the event structure is only there to catch ongoing events, and that they would just happen if there is none. In that case thank you very much for your help, i will write again if i need somethign else 😉
0 Kudos
Message 12 of 14
(627 Views)
If you want to catch all events while still processing other tasks, search around for information on using queues and events.
_____________________________
- Cheers, Ed
0 Kudos
Message 13 of 14
(626 Views)
I would suggest looking at the producer-consumer architecture.

Oh, and get rid of those local variables. Programming like that is like programming a text-based language, and they will invariably lead to race conditions. Why some people say Local Variables are bad...
0 Kudos
Message 14 of 14
(602 Views)