I'm trying to read from my NI 6363 X Series card in continuous mode. I keep running into issues where the buffer overflows after some time even though I am reading faster than the low sample rate I set using CfgSampClkTiming.
I would like to use DAQmxGetReadAvailSampPerChan to get the number of samples in the buffer. However, it only returns 0 when the task is running and -200983 when it is stopped. In particular, I'm not sure what I should pass in as the data parameter. I'm currently passing in an empty Int32 array. Any help is appreciated.
probably best to search and ask for help on a NIDAQ forum as those will have much more traffic. please let us know if/when/how you get it fixed. sorry, and thanks.
I'm trying to read from my NI 6363 X Series card in continuous mode. I keep running into issues where the buffer overflows after some time even though I am reading faster than the low sample rate I set using
CfgSampClkTiming
.I would like to use
DAQmxGetReadAvailSampPerChan
to get the number of samples in the buffer. However, it only returns0
when the task is running and-200983
when it is stopped. In particular, I'm not sure what I should pass in as thedata
parameter. I'm currently passing in an empty Int32 array. Any help is appreciated.