LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Timestamp Decoding - Help!!

Can someone help me understand the result of Time stamp values when using the DIAdem .TDMS to .mat conversion tool?

 

In LabVIEW / DIADEM timestamp looks like this:

05/27/2016 09:54:42.0118

 

When converted to MATLAB it looks like this:

6.363147568201177e+10

 

I understand that it is converting a 128bit character into a 64bit double in MATLAB but not sure what info is actually captured or how to get real time value in MATLAB.

 

Basically what does 6.363147568201177e+10 mean?

 

Thanks for any help!!!

0 Kudos
Message 41 of 42
(820 Views)

Hello BG103,

 

 

I'd try creating a new thread as this one seems a bit old and you're comment won't get the attention it needs from our community. 

 

If you use the calculator in DIAdem and run the function RTT(6.363147568201177e+10)? it gives the date 05/27/2016, presumably this will also include the HH:MM:SS as well. 

 

So it appears the number 6.363147568201177e+10 given to MATLAB from DIAdem is the seconds since 01/01/0000.


Hope that helps some. 

 

Regards,

 

Rob

 

Rob S
Applications Engineer
National Instruments
0 Kudos
Message 42 of 42
(793 Views)