Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Time-stamp for Analog Input read of Data?

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

0 Kudos
Message 1 of 2
(3,070 Views)

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,

Brooks
0 Kudos
Message 2 of 2
(3,040 Views)