LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Reading TDMS files in Labview 2010, created in 2009, error -2503

Solved!
Go to solution

I have performed my measurements on my laptop with Labview 2009 installed.

The file format was TDMS v1.0

I can read these files with the TDMS file viewer and I am able to do analysis on my laptop.

On my desktop I have Labview 2010.

If I run the analysis vi on Labview 2010, I get the following error -2503 : Specified file does not comply with TDMS file format standards.

What's wrong ?

I can open the file in Excel with the add-in.

I included a tdms file created on my laptop in Labview 2009

-----------------------------------------------------------------------------
Tom Versluys - Dept. of Civil Engineering, Gent University
Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:Tom.Versluys@UGent.be
-----------------------------------------------------------------------------
0 Kudos
Message 1 of 8
(3,460 Views)
Solution
Accepted by TVS_UGENT

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 2 of 8
(3,443 Views)

Hello Tom,

 

If I attempt to open the file you attached in LabVIEW 2010, it loads fine.  I'm just using the TDMS File Viewer in the TDMS palette in LabVIEW.  Could you by chance post a simple VI that you're using to read the file that shows error -2503?  Thanks!

0 Kudos
Message 3 of 8
(3,418 Views)

Hi TVS_UGENT,

 

I also tried with your attached file with LV 2010, I can also open the file successfully.

0 Kudos
Message 4 of 8
(3,397 Views)

Is this bug of TDMS solved in version of 2010 ?

I am considering to install the 2010

 

labmaster

0 Kudos
Message 5 of 8
(2,819 Views)

It seems not..

0 Kudos
Message 6 of 8
(2,810 Views)

To add to Yongqing's reply, this bug was introduced in LabVIEW 2010, and is fixed in LabVIEW 2010 SP1.  LabVIEW 2011 also contains this fix.

Message 7 of 8
(2,806 Views)

Thanks for Jeff's relpy. Let me try to explain in more details:

 

1) For the issue reported in this post, we have tried with LabVIEW 2009, LabVIEW 2010 (Jeff tried), LabVIEW 2010 SP1 and LabVIEW 2011, we haven't reproduced the problem on our machines without more detail information or the reproduciable VI.

2) We did have a similar bug reported before, returning the error code -2503, but currently we cannot make sure it's the same to the issue in this post. We already fixed that problem in LV 2010 SP1, LV 2011 also doesn't have this problem. 

3) For the above -2503 problem, we also created a KB, please refer here for more information if you are interested: http://digital.ni.com/public.nsf/allkb/DD94C6858DE6FBA4862577FB0065B231?OpenDocument

 

Please feel free to let us know if you have any quesiton of TDMS. Thanks.

Message 8 of 8
(2,800 Views)