LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programmatically communicate between two labview executables in labview 2010 or later?

I have two independant labview executables. One creates a sorted table as an output and another that can use that table to locate associated pictures relevant to the data rows in the sorted table. I'd like to be able to pull the sorted table directly from one to the other so that the user doesn't have to save a datasheet then open it to work between VIs.

I'd prefer to leave the executables independant because the table interaction is only a small part of what each can do otherwise.

in older labview i could use a direct path to the VI under the executable, but in 2010 that's not possible anymore. I've been trying to use an Invoke Node Get Cntrl Value to do this, but am unable to find the right way to reference the other VI to get the value from when deployed as an executable.

0 Kudos
Message 1 of 3
(2,739 Views)

the simplest way would be to use a shared variable

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 3
(2,734 Views)

Are you using Open Application Reference, and then Open VI Reference? If so, replace the path constant to the VI with a string constant containing only the name of the VI, and see if that works. Since the VI will already be in memory in the other application, the VI name is sufficient to get a reference to it.

0 Kudos
Message 3 of 3
(2,729 Views)