Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting timestamp of each data using DAQPad 6020E, Traditional DAQ, and C#

Hi
 
I am using NI-DAQPad 6020E in measurement studio 7 (C#) to measure acceleration from accelerometer. I am trying to get timestamp of each data, but so far no success.
 
 Can anyone suggest that whether it is possible to extract timestamp of each data with this combination? If yes then any help will be a lot helpful to me. I am looking for any help like manual, examples, code etc.
 
Regards
 
Manoj
0 Kudos
Message 1 of 2
(2,961 Views)
Hello,
 
It is not to possible to have a time stamp for every element of data that comes through. You can however calculate this from the start time and the dT values that you have for your measurements (including any inter channel delay you may have).
 
I haven't found any example code that performs this, but it shouldn't be too difficult, you'll just need to look at each point and based on its index multiply by dT and add on the start time.
 
Hope this helps
 
Hannah
NIUK& Ireland
0 Kudos
Message 2 of 2
(2,947 Views)