LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and RSLinx Gateway - URL for ServerName

Hello,

 

I read about the posibility to use Datasocket to communicate with an OPC Server. I am trying to adquire some data from an AB ControlLogix 5000. There is a PC with RSLinx Gateway that I want to use to Serve OPC Items to a remote LabVIEW client. My question is related to the OPC URL

 

The Datasocket indicates this format 

 

opc://ServerName/OPCServer/ItemName

 

 

If the computers are not in the same Network Group ( i.e. I can´t locate the PC with the RSLinx Gateway when browsing the DSTP list) ,  Is it posible to subsitute the ServerName with an IP address ?

 

Something like this

opc://192.168.224.210/RSLinx Remote OPC Server/[Temperatures]Node2_CNB:1:I.ChData0

 

 

 

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

Hi there

 

Warning, i'm not an expert at this:

 

There are limitations with OPC and access rights. If client and server are located at different systems both systems have to be in the same domain. If they are not there is a feature called "OPC tunnel" to overcome this. But this feature has to be provided by the OPC server.

 

Another approach would be to use the same local(!) user with the same(!) password on both systems. But i never tested that.

 

You may try to look here for detailed information: http://www.opcfoundation.org

Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 2
(3,347 Views)