06-25-2020 05:20 AM
Dear all,
I'm generating data on an analog output.I create a waveform and then the data on the analog output, start the task and Wait until the generation is completed.
The problem is that I need an emergency stop if, for example, I need to stop the generation of millions of samples if my waveform is wrong or if Something appends outside.
Could you help me please?
Sébastien
06-25-2020 07:41 AM
Well, if "Wait Until Done" is a problem, don't use it. Instead you could use the query "Is Task Done" in a loop, preferably with idling delay of maybe 25-100 msec. Then you can terminate the loop on either the done boolean output or whatever your "emergency stop" condition might be.
-Kevin P