05-17-2017 02:11 AM - edited 05-17-2017 02:14 AM
I've suddenly started having trouble with applications that have been working for years.
The problem is that I can no longer open TDMS files in a compiled application.
"TDMS open.vi" gives error -2519 when I run it in a compiled application on my PC, but runs fine when I run it in the LabVIEW IDE.
To make things more interesting, it still works on a fleet of PCs not connected to the internet.
All PCs are Windows 7. The PCs that are network connected just received a bunch of Microsoft security updates and can no longer open TDMS files without error. The PCs not internet connected received no updates and can still open TDMS files without error.
Is anyone else experiencing this kind of error?
I've written a very simple VI to verify the behaviour...
The first part just proves that the file actually exists and can be accessed by LabVIEW. The second part demonstrates the problem. The third part never works, TDMS advanced open doesn't seem to work at all. I don't know if it did before.
You can see that it works in the IDE (upper) but not in the (lower) compiled application. (Ignore the last error.)
I've included the test vi and a tiny TDMS file for testing.
Is anyone else having this problem?
Has Microsoft blocked some functionality or is there some invalid security certificate type thing happening?
I'm stuck.
LabVIEW 2015 32bit
tdms.dll version 15.0.0.49152
Solved! Go to Solution.
05-17-2017 05:57 AM
tried it .. in dev environment and as .exe
on windows10 with labview 2016
couldn't reproduce your error (the middle one)
05-17-2017 06:10 AM - edited 05-17-2017 06:13 AM
−2519 | LabVIEW could not load the TDMS file component. The component is expected in the National Instruments\shared\TDMS directory. You might need to reinstall LabVIEW to fix this problem. |
http://zone.ni.com/reference/en-XX/help/371361N-01/lverror/storage_error_codes/
also search the forum for the error number and have a look for other ppls solutions.
perhaps someone knows details of the build process or the execution process,
as to decide if it is a failed build or a wrong runtime environment.
regards
05-17-2017 07:41 AM
Yeah I'd suggest a reinstall of the TDMS components on those machines. It might be easier to just reinstall all the 2015 runtime engine and components. Maybe an update screwed up the binaries those functions rely on somehow.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
05-17-2017 07:37 PM
Thank you both for your time in trying it out and your replies.
@jwscs Maybe Windows 10 / LabVIEW 2016 have different updates / components that don't conflict?
It also seems that LabVIEW 2016 has a slightly more helpful error message than 2015.
@Hooovahh I reinstalled LabVIEW 2015 from the disc and the problem disappeared.
I'd love to know what exactly broke though.