06-25-2008 03:03 PM
06-26-2008 08:13 PM
coanda,
The 200 refers to the sampling rate in number of samples per second per channel. The 100 after DAQmx_Val_ContSamps is configuring the buffer to be 100 samples. If you would like to achieve a sampling rate of 100 samples per second per channel then please replace the 200 with 100. If you have no trigger configured then 200 samples per second per channel should be written to DAQmx memory when the task is started. (with the posted code) The read will take a predefined amount of data from DAQmx memory to your programming environment. Also, where do you see a 1Hz sampling rate occuring and how are you viewing this?
07-04-2008 01:43 PM