LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS write

Dear all!

 

I'm using the following vi. to save data coming from two different channels in a TDMS file. In my main application, I have two bottons, one for starting the recording of the data and the other for stoping the operation. Whenever I press the record button, this TDMS write vi. is called and it stops executing when I press the stop button. Could anybody tell me how could I save the exact time when the recording of the data is stopped?

I would really appreciate your help,

 

Thank you very much in advance,

 

Miren

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

Hi.

 

I present you two ways to do it. Both are included in the vi.

 

1. The Timestamp of the signals ends can be calculated from the Signal data :  t1 = t0 + dt * NumberOfSamples

 

2. Or use the (less exact) PC timer (see vi) and save it to the tdms file

 

 Greets CtheR

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