LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check TDMS File Format Version

With the advent of TDMS 2.0 is there anyway to check if a TDMS file is 1.0 or 2.0? Does it matter? The version setting of "TDMS Open" doesn't appear to have any effect when reading files. If it is set to 1.0 and a 2.0 file is opened (or vise-versa) no error is generated and all read VIs work correctly.

 

 

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

this is apparently not available through the API functions.  The internal structure document http://zone.ni.com/devzone/cda/tut/p/id/5696 describes how the version number is stored in each segment header, but thats not very easy to access.

 

the Open function would need to know what kind of file to open if it is creating a new file, so it probably doesnt matter for files already created.

-Barrett
CLD
0 Kudos
Message 2 of 2
(2,813 Views)