Single point daq reads seem to be very slow. I am using NiDAQ V 6.9. Using a high speed counter in a for loop I came up with the following times:
io_error = AI_Read (1, 0, 1, &_tmp1); // 120 usec
io_error = AI_Read (1, 1, 1, &_tmp1); // 180 usec (the input channel was changed)
io_error = ICTR_Read (1, 0, &fast_tick_end); // 50 usec
The documentation indicates the analog conversion should take 10usec, and I expect there will be additional delay for settling when switching analog channels. But these times seem extreme. Even reading the counter (ICTR_Read) takes 50 usec.
I need to use a single point read because my system needs to set a digital output, then take one reading, set another digital output, then take a reading, ...
An
y ideas on what I can do to improve this? Thanks in advance for your help.
Tom W