LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time stamp to sample data

Hi, I would like to attach a time stamp to acquire data. For example, if I acquire 50 samples, I would like to know when each one was captured so that I can work out the time elapsed between them. Any help would be greatly appreciated.

Thanks in advance for the help.

Ming
0 Kudos
Message 1 of 3
(2,888 Views)
You get a timestamp whenever you acquire data as dynamic data (i.e. DAQ Assistant) or select waveform data type. The wavefrom data type is a cluster with a y array, a t0, and a dt. Assuming that you are using hardware timed acquisition, the dt is equal to 1/sample rate. If you are not using hardware timed acquisition, why not?
Message 2 of 3
(2,877 Views)
Yes, I am using hardware DAQ. In fact, I am using DAQ Assistant. I understand what you mean. I think i figured it out. Thanks.
0 Kudos
Message 3 of 3
(2,849 Views)