Hello, any help on this issue is appreciated, I'll try and outline as much context as possible:
We have a LABView 2015 application. We run a VI called "Tag Engine" which reads tags from the PLC and stores them into the CVT. Then in other executable files we are trying to read that CVT to create our front panels for operators. We put SubVIs into .llbs (probably switching to a protected vi lib). When we run any of these front panels by clicking the VI, it works fine. However, when we open the project of that VI and run from there, the CVT seems to break (stops reading). If we package that VI into an executable it also stops reading. Note that it all runs fine, it's just the data communication portion of it that fails.
What happens to global variables, or however the CVT works, when switching between a VI and an .exe that we can troubleshoot?
I tried changing the CVT subVI to a static reference. I am currently trying to change the .llb to a packed library (general improvement anyways I think so we can lock it). I tried including the .llb in the "Always Included" source files of the .exe. I removed any "This VIs Path" constants that seem to conflict with .exe files and replaced them with application directory, that definitely helped get the .exe running.
I would attach the program if I could, but it's very dense and we are DoD.
Thank you for any help in advance!