LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New TDMS writing issues in a previously working program

Hello Marco - would you be able to supply us with a copy of your TDMS file, or is the data particularly sensitive / large?  If not, perhaps you could supply a VI that generates a data file in a similar way where the TDMS file has the same issue?

0 Kudos
Message 11 of 15
(903 Views)

Hi Jeff,

 

I am sorry I cannot provide to you the data file, due to huge dimensions and to customer restrictions...

Moreover, they have been created by a PXI RT HW that is not at my disposal at the moment.

I think that every simulated tdms file I could  create now, will not be the same as those created before the PC updating.

 

The error provided in LabView is the following:

Error -2503 occurred at TDMS Open in TDMS - File Viewer.vi->Untitled 1

LabVIEW:  Specified file does not comply with TDMS file format standards.

 

I also tried to open the file with Diadem 2010 (installed on the same machine with LV2010), but I have the error in the annexed jpg.

 

Thanks for your interest in this issue.

 

marco

 

 

0 Kudos
Message 12 of 15
(899 Views)

sorry, i forgot to tell you that tdms files are generated in the classical way...

opentdms vi -> write tdms vi (waveform queues) -> close tdms vi

 

0 Kudos
Message 13 of 15
(896 Views)

For this problem, it's a bug in LabVIEW 2010 (not in earlier versions of LabVIEW), sorry for the inconvenience. While the R&D side fixing this problem, we also have a workaround, but maybe a little bit complicated:

1) Please use old version of LabVIEW (like 2009 or 8.6) to defragement the file using TDMS Defragment node, if it works fine, you can then open the defragmented TDMS file in LabVIEW 2010.

2) If TDMS Defragment returns any error, then you can still find your defragmened files in Windows temp directory, but with a different (randomly generated) file name, you can type "%temp%" in Run windows to open your temporary file.

0 Kudos
Message 14 of 15
(866 Views)

Thanks for the help.

The NI support suggested me to use the tdms.dll version prior to the installation of LV2010.

So I checked over my PC.

Under ..\RT Images\TDMS there are some subdirectories that I think be related to the various tdms.dll versions.

I've found the following subdirectories

1.0.2; 1.0.3; 2.0.0; 2.0.2; 2.0.5. 

I took the file contained inside 2.0.0 and put it in  C:\Programmi\National Instruments\Shared\TDMS.

In this way, I was able now to open the tdms file with LV861, but not with LV2010.

This time the error was "Error -2519 occurred at TDMS Open in TDMS - File Viewer.vi->Untitled 1 LabVIEW:  LabVIEW could not load the TDMS file component." 

Waiting for the next LV2010 patch...

Bye

 

0 Kudos
Message 15 of 15
(856 Views)