07-08-2019 02:56 PM
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.
07-08-2019 03:02 PM
The Event Structure that you posted earlier most certainly would exit the loop because you were sending a TRUE to stop the loop.