LabVIEW Error -1950679035 When Reading a Variable Using Third Party OPC Server

Updated May 14, 2023

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Other

  • Third party OPC server

Issue Details

I am using the LabVIEW Datalogging and Supervisory Control (DSC) module to communicate with a third party OPC Server. When I try to read a shared variable, I receive an error similar to the following:

Error -1950679035
Possible reason(s):
LabVIEW:  (Hex 0x8BBB0003) Server failure.
This error or warning occurred while reading the following Shared Variable:
\\My Computer\testlib1\Variable1
\\10.144.3.48\testlib1\Variable1


 

Solution

Try the following suggestions to resolve the error: 
  1. Run the command dcomcnfg in Windows start. You will see the Component Services window.
 

 
  1. Expand DCOM Config and find the DCOM of the OPC Server (in this case a Omron SYSMAC OPC Server is used). Open the Properties of the OPC Server.
 
 
  1. Select the Identify tab and change the radio button to The interactive user
 

 
  1. Click Apply to save your changes. ​

Additional Information

Error -1950679035 occurs when using some third party OPC Servers. The Windows operating system runs the OPC server using the SYSTEM account as default, but some OPC Server refuse to run in such a high-level account. This causes the failure of deploying shared variables.