01-06-2016 07:03 AM
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
Solved! Go to Solution.
01-06-2016 07:41 AM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord