03-29-2006 01:22 PM
03-29-2006 02:03 PM
03-29-2006 02:42 PM
03-30-2006 08:10 AM
03-30-2006 02:30 PM
To measure all edge-to-edge intervals of pulses coming in on a single wire, you'll need to do a buffered measurement. Just insert the DAQmx Timing vi before starting the task. For period measurement, the lower pull-down menu choice should be "Implicit." There are terminals at the top of the vi to select Finite vs. Continuous sampling & # samples to acquire.
If you do this, all the measurements are done in hardware, you just have to call DAQmx Read to retrieve the values from the acquisition buffer. None should be missing.
This explanation is based on guessing that you started and stopped a single unbuffered measurement repeatedly in a loop. This would cause you to miss at least 1/2 the intervals, probably more.
-Kevin P.