09-19-2008
06:47 AM
- last edited on
02-25-2025
11:12 AM
by
Content Cleaner
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:
09-19-2008
07:38 AM
- last edited on
02-25-2025
11:13 AM
by
Content Cleaner
Hey,
I hope this KB can help -> http://digital.ni.com/public.nsf/allkb/231CAF98ED830635862570C200565116?OpenDocument
Christian
09-19-2008 08:00 AM
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
09-22-2008 03:14 AM
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
09-22-2008 04:37 AM
I log in as Administrator on both computers if that is what you mean.
Terje
09-23-2008 09:48 AM
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