Page 1 of 1

operator suspend versus normal end of run

Posted: 11 Jan 2011, 02:14
by dthomp
Hi folks,

Is there an easy way for a module to know if it's being suspended because an operator hit the suspend button rather than because the run has ended normally?

In particular, I'm interested if a Signal Processing module can get this information while working with, say, CursorTask as an application module.

I can probably do something like create a state variable that is set only when the operator button is pressed, and check that, but it seems like there might be an easier path I'm overlooking. I'm interested in your input.

Thank you,

Dave

Posted: 11 Jan 2011, 08:54
by mellinger
Dave,

there is no difference between stopping a SignalProcessing module from the Operator module, and an Application module ending a run. In both cases, the "Running" state is set to zero, and the SignalProcessing module reacts to that.

Best regards,
Juergen