LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application Builder - Use of Global Variables

Hello,
 
I have an application which consists one one main VI running for the user interface, and one VI running in the background dealing with CAN communications.  These two VIs must communicate using global variables.  In the main VI, I have to open a reference to the global variable VI in order to write data to it.  The application works correctly in LabVIEW environment.  However when I build the application using application builder, I receive an error with the open reference VI in opening the global variable VI.  The error given is Error Code 7: File not found.  The path to the Global variable VI is correct however.  I am pretty sure of this because in my main VI, I open up other VIs based on the open reference function and a path.
 
Therefore:
1) I can open references to normal VIs and use properties such as run VI without a problem.
2) This does not work for my global variable vi.
 
Build settings:
Im dont understand all the build options completely but the settings I use are:
 
1) Single target file contening all the VIs
2) All the VIs I use are located in the same folder
 
I hope the explaination is clear enough.
 
Do you have any suggestion to explain what happens and how can I make it work correctly?
 
Thanks
 
Julien
 
 
0 Kudos
Message 1 of 2
(2,547 Views)
Duplicate.

___________________
Try to take over the world!
0 Kudos
Message 2 of 2
(2,524 Views)