I need to synchronize analog data acquisiton with the reading of a quadrature encoder.
When my analog acquisition is running, I set up the counter as a buffered edge counting with the source of the sample clock "/Dev1/ai/SampleClock" (like in the example Count Digital Events-Buffered-Continuous-Ext Clk.vi provided with LV7.1).
When I started the buffered edge counting, I always obtain the error :
"
Data was overwritten before it could be read by the system.
If Data Transfer Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal before taking the measurement.
"
Parameters for analog input :
Fs=100Hz
Number of points to read at a time : 10
Parameters for buffered edges counting :
Source of sample clock : "/Dev1/ai/SampleClock
Fs=100Hz
Number of points to read at a time : 10.
The hardware is a DAQPAD 6015, maybe, it 's the problem ?
any suggestions ?
Thanks in advance, for your help.