04-26-2011 12:27 AM
Hi,
I am a newbie to NIDAQ. I want to read Analog data for the channels added to the task and also the time when the data is sampled.
The API used to read data:
DAQmxReadAnalogF64(m_An_In_TaskHandle, samplesPerChan, timeout, DAQmx_Val_GroupByChannel, data, 1000, &read, NULL)
I am getting the samples but I need to get the timestamp of when the data is sampled. Is there any API/method to get the time-stamp information for the samples obtained?
Thanks,
Roopa
05-12-2011 02:56 PM
Hello Roopa,
I think that this Knowledge Base article will provide you with the information you need. Its written in reference to LabWindows/CVI, but the answer applies to other programming environments as well. Please let me know if you have any other questions.
How Do I Get a DAQmx Timestamp in LabWindowsTM/CVI?
Cheers,