This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Remote OPC help

 

 

I am trying to connect to an OPC server on a remote computer on our local network using LabView with the DSC Module. An OPC client was supplied from the same vendor as the server and using that on my local computer everything seems to work as expected. In LabView, I create an OPC client using the I/O server, but when I try to connect to the remote computer I get the following error:

 

Unable to browse OPC Server from the selected machine.

Error -2147024891 occurred at GetOPCServerList.vi

 

Possible reason(s):

 

LabVIEW:  (Hex 0x80070005) Access denied.”

 

I found some posts in the forum about this issue, but they didn’t help me.

What I find strange is that although I can’t see or connect to the tags/variables through the I/O server using shared variable, I can connect to them using DataSocket. I would however prefer to use shared variables as this is the recommended way when there are over 30 variables. Does anyone have any ideas why it doesn’t work with shared variables?

 

This is what I have tried:

  1. Firewalls are off
  2. Changed DCOM settings according to the server vendor’s specification.
  3.  Checked that OpcEnum services are running on both server and client computer
  4.  Computers are running on the same workgroup
  5.  Changed remote access to the registry according to: http://digital.ni.com/public.nsf/allkb/5C8A90CD57B279F286256C2C006F1EB4
  6. I have also checked out these links:

https://www.ni.com/docs/en-US/bundle/labview-datalogging-and-supervisory-control-module/page/lvdsche...

https://www.ni.com/docs/en-US/bundle/labview-datalogging-and-supervisory-control-module/page/lvdscco...

 

0 Kudos
Message 1 of 6
(4,339 Views)

Hey,

 

I hope this KB can help -> http://digital.ni.com/public.nsf/allkb/231CAF98ED830635862570C200565116?OpenDocument 

 

 

Christian

Message 2 of 6
(4,332 Views)

Hi Christian and thanks for you reply.

 

Unfortunately, I have checked this and the OpcEnum service is running on both the server and the client PC.

 

Terje

0 Kudos
Message 3 of 6
(4,325 Views)

Hey,

 

Your computers are running on the same workgroup. What you should try is to create the same user (same name) on both computers.

 

 

Christian

Message 4 of 6
(4,286 Views)

I log in as Administrator on both computers if that is what you mean.

 

Terje

 

0 Kudos
Message 5 of 6
(4,279 Views)

Terje,

 

At this point the only thing i can do is to suggest to have a look at www.opc-foundation.org. They have some whitpaper for troubleshooting there.

 

Christian

0 Kudos
Message 6 of 6
(4,253 Views)