I'm trying to track down a discrepancy.
(Using a NI-4451 card)
Calling DAQ_Set_Clock with 20 000Hz and getting 20 000Hz in return.
Doing acquisition on 100 000 samples with SCAN_Start (single shot, single buffer, single channel).
The acquisition is expected to last 5s but in reality lasts for about 5.093s
A 1kHz reference signal input into the card shows up as 933Hz based on this 20kHz sampling.
Where should I look for an error ? I can reliably reproduce this at various sampling frequencies.
--
Guillaume Dargaud
http://www.gdargaud.net/
"Don't bother me, I'm busy conserving energy, momentum, and angular momentum."