04-24-2009 11:14 AM
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
Solved! Go to Solution.
04-24-2009 12:42 PM
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
04-24-2009 02:18 PM
04-26-2009 06:17 PM
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
04-27-2009 09:59 AM
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.
07-30-2009 09:57 AM
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