05-28-2008 10:09 PM
The number of samples to read. If you set samplesPerChannel to -1 for a continuous acquisition, the read retrieves all samples available in the buffer at the time of the read. If you set samplesPerChannel to -1 for a finite acquisition, the read behavior is set by the ReadAllAvailableSamples property of the CNiDAQmxStream you are reading from.
05-29-2008 02:35 PM
Hi A
It is difficult to tell what you should monitor to determine if you are getting correct data. Basically it depends on what value you are writing to. For instance in the watch window that you posted I would assume that you are writing values to m_ReadBackSample, however I can be sure. It will be the value that you are equating to the reader method that you are using to read data from your DAQ card.
I would suggest looking at the Measurement Studio examples and seeing how your code equates to it.
Chris_K