LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to include global variables in executables

Hi,

 

I have two main VI's which transfer data between them with using a global VI. I am wonderig if I use one of them as an executable or both of them as executables, how will I be transfering data between them using the same global VI. Is it possible to do this?

 

Thanks,

 

Mudda.

0 Kudos
Message 1 of 4
(3,689 Views)

If the VIs are run in parallell in the same exe you can simply use the globals, if they're separate exe's you can use network published globals.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 4
(3,684 Views)

How do I create the netowrk published globals? is this is the best way to transfer the data between two executables? or are there any other efficient ways to do it? I will trafering a cluster data between the application and an executable or between two executables.

 

Thanks,

 

Mudda

0 Kudos
Message 3 of 4
(3,672 Views)

There is no such thing as a network published global.  I believe what he means is a network published shared variable.

 

There was another thread recently where the person is trying to share data between different PC's.  The advice in that thread will work for you as well when sharing data between different .exe's on the same PC.

 

http://forums.ni.com/t5/LabVIEW/accessing-data-from-another-pc/m-p/1756446/message-uid/1756446#U1756...

0 Kudos
Message 4 of 4
(3,662 Views)