Error -1967362032 When Remotely Reading Shared Variable Properties

Updated Aug 30, 2024

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Issue Details

I deployed a Shared Variable on a target machine. I would like to programmatically view the Properties of this Variable across the network.

When shared variables are hosted on the host PC I don´t have any problem viewing the properties using Property Nodes in my block diagram, but when I try to view properties from a shared variable hosted in a remote PC, the property nodes display the following error with some properties:

 

Is this expected behavior? How can I work around this behavior?

Solution

This is expected behavior. The only properties supported by Property Nodes in a remote PC are:

-Set mode
-Name
-FullURL
-DataSocket URL
-Process


The rest Shared Variable properties are only accessible from the PC hosting the Shared Variable. 
It is possible to view and read Properties using a Data Socket Read or DataSocket Write VI, respectively. The format of the Alarm Level address is the following:

//<machine name or IP>/<library name>/<variable name>/Alarms/HiHi/level

For more information about DataSocket for LabVIEW refer to related links.