LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Time stamping the samples

 

 Hi all,

 

 I am using NI PCI-6251 daq card for acquiring analog signals and i am also writing the samples

of analog signals in a file. Can anyone tell me what i have to do for writing the time at which the sample

was acquired.

 

In short, i want to time stamp my each acquired sample. Please show me how to do this?

The resolution of time must be 10 usecs.

 

Any help will be greatly appreciated.

 

 

0 Kudos
Message 1 of 2
(2,684 Views)

On a 100 kS/sec acquisition it is often better to timestamp process start only, and rely on acquisition board capabilities to maintain a constant acquisition rate. This is the concept of waveform which can be passed e.g. to PlotWaveform to display it on a graph.

In case you want to examine a portion of the process, sample index * (1 / acquisition rate) gives you the time offset from acquisition start.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(2,674 Views)