LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple event cases ?

I hear people saying do not use multiple event cases.
 
is this in reference to multiple event cases in the same loop?
 
is it ok to use 1 event structure per parallel loop?
 
what happens if you have two parallel loops reacting to the same event?
 
- James

Using LV 2012 on Windows 7 64 bit
0 Kudos
Message 1 of 3
(2,781 Views)
Only way you will come to know is try it Smiley Very Happy. But yes, event cases are a bit risky option. Use only one in a loop.
----------------------------------------------------------------------------------
I have still not got what I love.....
0 Kudos
Message 2 of 3
(2,776 Views)


James R wrote:
I hear people saying do not use multiple event cases.

Who are these people??! There is nothing wrong with an event structure containing multiple event cases. 🙂


James R wrote:
is this in reference to multiple event cases in the same loop?

Yes, you should only have one event structure per loop, but that event structure can have multiple cases.


James R wrote:
is it ok to use 1 event structure per parallel loop?

Yes. What makes you think otherwise?


James R wrote:
what happens if you have two parallel loops reacting to the same event?

Nothing unusual. They will both fire whenever that associated event occurs. No problem!

0 Kudos
Message 3 of 3
(2,765 Views)