I can't claim to be an expert, but it sounds to me like you want to
lose that auto sequence and place it in new states in your state
machine. If you have states 0 - 4 in your machine right now, make
states 50 - 55 your auto sequence, having 1 call the next until
returning to the default state.
The drawback is you will have a loop delay between each step of your
now converted sequence.
The benefit is you can do a check of your E-stop after each step.
Hope this helps,
Gc.
Noman wrote in message news:<506500000008000000FE9A0000-1042324653000@exchange.ni.com>...
> I am using Labview 6.0.2 version, I have a state machine and within
> that state machine I have sequences, one sequence consist of "Auto"
> meaning when user press Auto button from the fron
t panel the automated
> part of the program starts :basically I have alot of sequences within
> this sequence and using shift register the sequence numbers are passed
> to the next sequence and sequence number is compared outside the while
> loop and value defferece keeps my auto sequences running, the question
> is that I also have an emergency button but within the sequence I have
> dialog boxes show up for user to do certain things, if the user turn
> the power on of the device and hits the emergency stop button my
> sequence is taking precedence over emergency stop so if anyone has any
> idea how to deal with this let me know. thanks