LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

exe generated from app builder doesn't update globals with changes made from front panel controls

Using LV 7, creating exe from the application builder doesn't update globals when the controls from the front panel are modified. The code has it such that changes made to controls from the front panel update the globals that are then used in the code. I am pretty sure this worked in LV 6.1
0 Kudos
Message 1 of 2
(2,536 Views)
In LabVIEW 7 Express you should be able to update front global variables inside built executables. Attached is a small example of how global variables are being updated with the data from front panel controls. This VI should run as both a standalone VI and as an executable.
One thing to keep in mind is that global variables do not work when they are shared between multiple executables or between executables and normal LabVIEW VIs. They do not work in this situation because each executable has its own memory space that houses its global variables and other applications are not allowed to access this memory. Please see the KnowledgeBase, Can I Use a Global Variable to Share Data between Two LabVIEW Executables?, for more information on this issue.

Regards,

Matt Friedman
Applications Engineer
National Instruments
Download All
0 Kudos
Message 2 of 2
(2,536 Views)