11-27-2006 02:32 PM
In the attached VI there is a state machine that is triggered by a boolean “start” change event. There is also a boolean “stop” that stop the state machine, a numeric “voltage” that has an event handler and a boolean “exit” that has an event handler.
The stop button works as expected unless if the voltage value is changed before the stop button is pressed. I was thinking this might be because there is an event for the voltage value change but there is also an event for the exit button value change and the problem does not occur if the exit button is pressed before stop.
If anyone could explain the reason I am only running into the problem with the voltage value change and/or how to properly implement the stop/abort function I would appreciate it!
Thanks,
Dave (LabVIEW 7.1)
11-27-2006 02:42 PM
Dave:
Your vi did not attach.
11-27-2006 02:45 PM
11-27-2006 03:04 PM - edited 11-27-2006 03:04 PM
Message Edited by davey31415 on 11-27-2006 03:09 PM
11-27-2006 03:13 PM
11-27-2006 03:21 PM
Thanks Lynn, I'll give that architecture a try for the first time.
Thanks tbob too, I have changed my exit event as you suggested; good to know the boolean can reset before the event finishes!
11-27-2006 07:00 PM - edited 11-27-2006 07:00 PM
Message Edited by davey31415 on 11-27-2006 07:04 PM
11-27-2006 07:24 PM
11-28-2006 10:10 AM
11-28-2006 10:30 AM