12-17-2009 10:49 AM
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.
12-17-2009 11:01 AM
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.