08-25-2005 10:24 AM
08-25-2005 10:39 AM
Bonjour Sébastien,
This depends on the technique you use to make your analog acquisition.
Most of the time, there is a timeout possibility, put it to, say 100ms, and when it is getting out for a time out reason, check the while loop stop button condition.
Hope this helps
08-25-2005 11:15 AM
ptitseb,
It sounds to me like you should perhaps poll your abort condition in a seperate loop. If you hit your abort condition, then call the DAQmx Control Task VI, and use abort. This will cause the currenly running task to be aborting, which will stop the read with an error, which you should be able to trap. I've attached a brief example.
Hope this helps,
Dan
08-26-2005 01:24 AM