08-14-2006 08:40 PM
08-14-2006 09:29 PM
08-14-2006 09:51 PM
Notice the checkbox that says LOCK FRONT PANEL UNTIL THE EVENT COMPLETES.
Uncheck it and your code works.
When you trigger the first event, the panel is locked, and it doesn't respond to clicks because your event isn't finished, but your event cannot finish until you click another button. Also called "deadlock".
Although, in all my programming time, I have never needed such an arrangement. I suggest you re-think your design.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
08-15-2006 11:24 AM
08-15-2006 11:53 AM
It sounds complicated to read, but it's really simple: the shift register holds an array of actions to perform, frame 0 performs thos actions, frame 1 translates clicks, value changes, user activity, into actions for the list.
If you need to be in a certain state, then disable buttons, or tab pages, or whatever, until conditions are satisfied.
HTH,
Blog for (mostly LabVIEW) programmers: Tips And Tricks
08-15-2006 06:02 PM