LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp in data acquisition of two tasks

Solved!
Go to solution

Hi guys,

 

I have one strain gauge and one displacement sensor in two different tasks using two different modules (one for strain and one for voltage measurements). I synchronised them sharing the master sample clock and a digital start trigger. I used an index array and the Get Waveform Time Array.vi for the one task only to extract the time in a tdms file. I am wondering whether this is the right way to do it or whether I need to define two Get Waveform Time Array functions.

 

Regards,

 

StathPol

 

 

0 Kudos
Message 1 of 2
(2,513 Views)
Solution
Accepted by topic author StathPol

I think each task can have the reading as a waveform data type.  This would give you a start time, time between samples, and all samples.  With this you can calculate the time that each sample was taken.  But if you wrote your code to use the same clock this might be unneccesary.  You can reliably say if the hardware works, that both tasks will use the same clock, and examining each time on the task might be extra work.

0 Kudos
Message 2 of 2
(2,502 Views)