04-30-2011 06:33 AM
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.
05-02-2011 08:59 AM - edited 05-02-2011 09:01 AM
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.