Error -1967357949 When Using Shared Variables On NI RT Device

Updated May 20, 2024

Reported In

Hardware

  • CompactRIO Controller
  • PXI Controller

Software

  • LabVIEW Real-Time Module

Issue Details

  • I am trying to deploy shared variables to my Real-Time target and I get the following error.
  • I am trying to undeploy a shared variable or library from my Real-Time target in NI Distributed System Manager (DSM) and I get the following error.
  • I have changed subnetwork for both PC and sbRIO and running created .exe file same error occurs.

Error -1967357949 occurred at an unidentified location. Possible reason(s): Unable to query Measurement & Automation Explorer for the Network Variable Engine
 

Solution

  • Make sure that the Network Variable Engine software is installed on your Real-Time target. In order to check whether or not this software is installed, locate the Real-Time target in NI Measurement & Automation Explorer (NI MAX), then expand the Software list.

If it is installed you should see Network Variable Engine as seen above.  This is the engine that is referred to as the Shared Variable Engine in the error message.

If the engine is not present and you need to install it, follow these steps:

1. Right-click on Software and select Add/Remove Software.

2. Select the LabVIEW Real-Time Software and then select Next.


 
3. Check the box next to Network Variable Engine and select Next.
 

 
4. Select Next again to review the configuration and the software will be loaded onto the Real-Time target.
  • If you are seeing this error when removing a library or variable in NI DSM, please try the following:   
  1. Open NI DSM. 
  2. Right-click on My Systems and select Add system...
  3. Enter the IP address of the Real-Time target and click OK. 
  4. The Real-Time target should now show up in the My Systems list.                                                                                                                                                                                                                                                                                                                 Try removing your library or variable again.
  • Each time creating an .exe the following files are being created in the same location:
image.png

Open the .aliases file from this list in a text editor, such as Notepad++.
Names and IP addresses of the host and remote target should be changed to match the new system. Host with a new IP should now be able to find the network shared variables hosted on the RT target.


If the above steps were performed and the issue is still visible, formatting the hardware and reinstalling all the software back would resolve the problem.