Error -1950678945 When Using the I/O Variable Engine to Access a Shared Variable Hosted on a Remote Target in LabVIEW

Updated May 19, 2026

Reported In

Software

  • LabVIEW

Issue Details

Whenever I try to use the I/O Variable Engine (ni.var.io) to read or write from/to a network-published shared variable that is hosted on a remote target from my development PC through the Shared Variable API in LabVIEW, I get the following error message:


Error -1950678945 occurred at Open Variable Connection.vi

Possible reason(s):

LabVIEW: (Hex 0x8BBB005F) The host name specified in the variable identifier URL does not correspond to the local host, but the specified variable engine URL only supports an operation on the local host. You cannot perform the specified operation on a remotely hosted variable or stream endpoint. Use the PSP Variable Engine URL (ni.var.psp) to read or write a network-published I/O variable or I/O alias remotely.

The error is shown in the below dialog box:
 
Error -1950678945

Solution

The error occurs when using an incorrect Variable Identifier URL to access a network-published shared variable on a remote target. According to the Variable Identifier URLs documentation, the PSP Variable Engine URL (ni.var.psp) is utilized to read or write a network-published I/O variable or I/O alias remotely. In contrast, the I/O Variable Engine (ni.var.io) is designed to read or write a network-published I/O variable or I/O alias locally. Therefore, when accessing shared variables hosted on a remote system, you must use the PSP Variable Engine URL in conjunction with the Open Variable Connection VI. For additional guidance, refer to Using Network Published Shared Variables to Communicate Between Systems.