LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview 2010 - Can’t browse OPC servers on remote PC

Solved!
Go to solution

Hello all,

 

I'm trying to create an OPC client using LabVIEW 2010. I can see the remote PCs in my workgroup but the problem is I can't browse for OPC servers. I get error 080004002 (pic below):

 

Capturar.PNG

 

I believe my DCOM settings are correct because I have MatrikonOPC Explorer installed on the same PC and through that I'm able to browse the OPC server over the remote PC. Also, I know the server is configured correctly because I have a second client PC that is able to connect to it, although it is running LabVIEW 8.6.1.

 

Capturar2.PNG

 

Is there any particular configuration to the 2010 version that I'm missing? Any help is appreciated.

 

Best,

Glauber

0 Kudos
Message 1 of 3
(2,392 Views)

Just an addendum:

 

I found out I can browse the server through the "DataSocket Select URL.vi" (see figure below). However I still can't figure out a way to browse to the OPC server when I try to create a new I/O server on the Project Explorer.

 

Capturar 3.PNG

0 Kudos
Message 2 of 3
(2,384 Views)
Solution
Accepted by topic author Glauber

According to this, it seems that on LV 2010 there are two ways to develop an OPC client. Through DataSockets, which accepts OPC servers on version 2.x and below, and through the DSC module, which accepts servers on version 3.0. Because the server I want to connect to is on version 2.1, I would be stuck with DataSockets, which is limiting. This is why I could browse the server using the "DataSocket Select URL.vi" but not when creating a new I/O server on the Project Explorer. The solution was to roll back to LV 8.6.1...

0 Kudos
Message 3 of 3
(2,377 Views)