01-19-2007 02:17 AM
01-19-2007 07:24 AM
The usual guideline goes like this: Configure your AI task to use one of your counter outputs as its sample clock. Then configure the counter for retriggerable finite pulse train generation. In LabVIEW, the retriggerable property is found under the DAQmx Trigger property node.
Each trigger signal will cause your pair of counters to generate a finite # of pulses that are used to take AI samples.
Note however that your AI buffer will *NOT* keep track of the fact that you've got delays between bursts of samples. Suppose for example that you take 100 sample bursts at 100 kHz. The 1st 100 samples will have 1 msec spacing, then there will be a 19 msec delay before sample 101. You will need to keep track of this fact in your app software if it matters to your needs.
Check out this page and note that it references a shipping example to do exactly this kind of thing.
-Kevin P.
01-19-2007 11:38 AM
01-19-2007 11:43 AM