03-27-2014 03:48 PM
I have multiples subVI´s which send data to the main VI when are called using global variables. Then the main VI must send that data to another subVI´s called by another main VI to show it in its front panels. This works perfectly when all VI are executed in LabVIEW environment, however when it is doing by build aplication of main VI´s it is like global variables do not work since data are always zero... I can´t find the error cause, i checked build specifications and there is nothing about global variables, only the VI that contents them located in dependences of the project.
What could be the error???
Solved! Go to Solution.
03-27-2014 04:13 PM
03-27-2014 04:28 PM
You are right, my idea is firstly trying to comunicate the aplications (.exe) using global variables to later to comunicate through a network using shared variables to access acquired data from different PCs... I mean, a main PC acquire data using an aplication and those data can be accessed to monitor it. I want to this way because i am working in a single PC thus i want to test my program using global variables... Is possible share data between apps (.exe) using global or shared variables??
03-27-2014 04:31 PM
You can use shared variables, you cant use global variables. Shared variables can be local (to one PC) or networked.
03-27-2014 04:55 PM
Ok, i have two different projects... One contains the data acquisition main VI and its subVIs and the other contains the main monitor VI and its subVIs, is there no matter with shared variables in this case, i mean having different projects or must join all VIs into one?
03-27-2014 04:58 PM
03-27-2014 05:08 PM
Ok i will take the simpler way... Finally, i guess that my test in a single PC i must use single process shared variable or can i use network-published shared variable???
03-27-2014 05:53 PM