Has anyone had delayed data sampling due to repeated use of a DAQmx Read property node?
I have an externally clocked DAQmx task reading digital input ports from a PXI-6533 DIO card. External clock is coming in at approx rate of 10 ms +/- 0.1 ms. I am reading 10 samples from the buffer every 100 ms. When I view the recorded data, occasionally there is an evident lag in the data sampled by the 6533. The lag can be seen repeatable at every 10 samples when it is present.
I believe I am misusing the DAQmx Read property node, and want to know if relocating it to the Initialize portion of my Task will solve the issue. I set the "Relative to" and "Offset" properties before every read (once every 100 ms), which is consistent with the period at which the lag occurs. I was setting "Relative to" to 'Current read position' and "Offset" to '0'.
Basically, what I want to know is, can setting DAQmx read property node values "Relative to" and "Offset" have any effect on the 6533 card when it is attempting to place samples in the buffer?
I have a related question with other details listed in another thread here: <a href="
http://forums.ni.com/ni/board/message?board.id=170&thread.id=291034" target="_blank">
http://forums.ni.com/ni/board/message?board.id=170&thread.id=291034</a>
if anyone has any ideas.
Thanks for your help,
Jason