LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Global Variables - Upgrade LV 8.5

Hi,

I am trying to upgrade an existing application which uses a few global variables. The orignal source code was created with LV 7.1. Within this application it is an EXE a few other VIs are called dynamically which are writing and reading the global variables. Within the Development Environment (Project Explorer) everything works correctly, but when i make an application the Run VI invoke node returns the error code 1003. Can't I use Global Variables in an EXE from 8.0? Is there only the way of using SVs? Because the application is very large it is a very extensive job to adjust.

Kind Regards,

--
Joachim
0 Kudos
Message 1 of 3
(2,588 Views)
You can use global variables. When you built the exe in 8.0, did you include the dynamic VIs and the global in the project? The error means that a VI is broken and it something is missing in the build and the installer you created (you create an installer?), you will get this error.
0 Kudos
Message 2 of 3
(2,557 Views)
Hi Dennis,

Thanks for the hint. I've set the dynamically loaded VIs to the always included list of the build spec and now it works.

Kind Regards,

Joachim
0 Kudos
Message 3 of 3
(2,541 Views)