LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

GPS timestamp to tdms file

Hello all,

 

Is there any way to overwrite the timestamp written to a TDMS file with a timestamp from a GPS card (6682H module)? Also, will this stamp be synced exactly to the first sample taken? Thanks!

 

The CART-2 Detectives 

0 Kudos
Message 1 of 4
(2,944 Views)

There is no direct way to modify data in a TDMS file. But you can accomplish that by read all data out and write to a new file with the channels you want to replace.

0 Kudos
Message 2 of 4
(2,928 Views)

You can edit the timestamp field in the TDMS file.

It is quit simple.

 

Refer the following examples.

C:\Program Files\National Instruments\LabVIEW 2011\examples\file\plat-tdms.llb\TDMS - Write data (time domain).vi

C:\Program Files\National Instruments\LabVIEW 2011\vi.lib\Utility\tdmsutil.llb\TDMS - File Viewer.vi

 

Now, what is the data type used in the TDMS file?

Share the data type or the sample code, for more assistance.

 

Regards,

Yogesh Redemptor

Regards,
Yogesh Redemptor
0 Kudos
Message 3 of 4
(2,920 Views)

What is the data type going into the TDMS write as it may be possible to modify this?

Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
0 Kudos
Message 4 of 4
(2,915 Views)