Hello Ton,
I'm pretty sure that trigger appears on the board. It was first thing I checked.
-while loop runs OK until stop is pressed. There isn't problem
I tried to change number of samples and sample rate. If I have sample rate Fs=4M and number of samples Ns=8000 it doesn't capture any data (AvailSampPerChan is still = 0). But if I change Ns=100 it captures data. On the other hand when I change Fs=100k and Ns=80000 it starts data acquisition but when I capture 53th vector it stops capturing data but while loop still runs (with AvailSampPerChan=0). Other strange thing is that it captures slightly more than 8000 in the beginning.
-set the timing of the counter to continuous doesn't help
Maybe you should put the triggering in the analog input loop? and let the counter loop run continuously? I'm sorry I don't know how this realize.
Message Edited by ceties on 10-04-2006 07:11 AM
LV 2011, Win7