LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DataSocket: Determining the OPC hostname and ItemName on a 3rd party PLC device

Just curious how most people determine the hostname and variable names of tags (for the format opc://ServerName/OPCServer/ItemName) when using OPC calls within the DataSocket function set. In a lot of examples I've seen, this is simplified when the publishing system is running LabVIEW, but I have not found any good examples (or ones I've understood, apparently) that show the actor model of using some 3rd party PLC or Wonderware device as the publisher you're reading data from. Can LabVIEW do something fancy a la DSC where ItemNames are scanned for you, and where a list of available Hosts is selectable? I'm anticipating a bit of a guessing game on the ServerName/ItemName front and am curious how others made this work, i.e. is it specified on the OPC server running on the PLC, etc. 

 

Does this make sense?

 

 

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

Issue is resolved. Dialogue/explorer vi made this easy to discover. 

 

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