LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS Open runtime error -2519

Solved!
Go to solution

I customized the TDMS File Viewer function and then built it into an EXE to be deployed to a laptop.  My TDMS File Viewer executable runs without any problems on my development computer but when I try and run it on my laptop with only the RTE installed on it I get Error -2519 when the Open TDMS function is called.  Are there any other special tool kits that need to be installed along with the RTE to use the TDMS functions?  If not, what else could be causing this error?

 

Thanks

0 Kudos
Message 1 of 6
(5,033 Views)

One of the minor upgrades (I think 8.2.1) only works well with TDMS files if the original code was written in 8.2.0 and the RTE 8.2.0 or 8.21 and 8.2.1.

 

I think this liitle annoying bug bites you.

 

One advice, I hope you edited a copy of the TDMS viewer and not the one placed inside vi.lib.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 6
(5,021 Views)
I did edit a copy of the TDMS viewer.  And as far as I know, I have only opened and edited my custom version of the TDMS viewer in 8.5.1 and the RTE is 8.5.1.  I'm still at a bit of a loss as to how I can get it to work.
0 Kudos
Message 3 of 6
(5,014 Views)
Solution
Accepted by topic author Gravy_Train

The TDMS component has it's own installer component, but that is included in the RTE. Once that is installed, you should see TDMS.DLL in .\Program Files\National Instruments\Shared\TDMS. Error -2519 can come up if the DLL is missing or if it is too old. You can double-check the DLL version number between your development and deployment machines in Windows Explorer (right-click >> Properties).

 

Herbert 

Message 4 of 6
(4,976 Views)

Thanks Herbert,

That was the fix.  Upon further investigation my laptop did not even have a TDMS directory in the  \Program Files\National Instruments\Shared path so the TDMS.DLL was not even present.  All I had to do was copy the TDMS directory from my developemnt computer to my laptop.  I don't know why the TDMS directory was missing to begin with, if I understand what you are saying, the TDMS directory and the TDMS.DLL should been installed automatically with the RTE without any special additions.

 

Thanks for you help.

0 Kudos
Message 5 of 6
(4,963 Views)

I found the same problem with a custom application deployed to a system.  I updated the application's RTE per readme_LV851F4.htm. 

 

The newer application did not read or write TDMS files as the deployed TDMS.dll was version 1.0.619.778 and the development TDMS.dll was version 1.0.689.950. 

 

The directions for the 851f4 update did not indicate any changes to the TDMS DLL.  However, I understood that one must copy the updated RTE DLL in any new installer.  I will eventually try that solution on the next deployment.

 

regards,
Kenneth

0 Kudos
Message 6 of 6
(4,747 Views)