Using Global Variable to Share Data Between Executables

Updated Jan 31, 2019

Reported In


  • LabVIEW Full
  • LabVIEW Base

Issue Details

I have built two executables, can I share data between them using a global variable that is not embedded in either executable?


No, global variables cannot share data between executables. Each executable uses its own memory space. So global variables can only share data with subVIs within a single executable. However, there are other methods for communicating between executables which are detailed in "Additional Information" below.

Additional Information

There are a few other methods of communicating between executables using LabVIEW:
  1. TCP/IP or UDP
  2. Network Streams
  3. Communicate Between Multiple LabVIEW Executables Using Shared Variables
In order to figure out the best networking protocol for you, please consult our tutorial Using the Right Networking Protocol