From: fabien chevillotte on 9 Apr 2010 10:30 Hey I'm using a card DT-9738A (Data Translation) with the data acquisition toolbox. I have a trouble when time-out error occurs. If trigger condition is not reached, I can catch the event time-out by using this code: start(ai); try wait(ai,30); catch disp("timeout"); stop(ai); end The problem is that I can't stop analoginput when error occurs and the program runs as an infinite loop. any idea? Thanks fabien
|
Pages: 1 Prev: Web Services & Matlab Next: How to save Parfor loop output in text file. |