LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enum in an Event Structure

Solved!
Go to solution

You're right. I don't need the Local. I replaced the Spots enum with a combo box and that solved the problem. The event structure does not exit when the enum changes. It exits when a switch is pressed. If I does exit when the enum is changed I have no problem with the front panel locking up. It may be possible that the event structure queue has not finished executing causing the front panel to lock up. I'm not sure why this happens, but it doesn't happen with the combo box. I'd post my code, but it can't be ran because of the hardware dependencies and connection to a database. It has 14 different states and about 50 front panel indicators and controls. I've attached a picture which might help.

0 Kudos
Message 11 of 12
(394 Views)

The Event Structure that you posted earlier most certainly would exit the loop because you were sending a TRUE to stop the loop.

0 Kudos
Message 12 of 12
(388 Views)