Main Content

Server Connection and Browsing

Connect to OPC servers and browse their name spaces

Identify the host and ID of the OPC server you want to connect to. After you connect, you can retrieve server information and browse its name space.

Functions

expand all

opcregisterInstall and register OPC Foundation core components
opchdaserverinfoQuery host for installed HDA servers
opcuaserverinfo (opcua)Query host for installed OPC UA servers
opc.hdaSupportOPC HDA troubleshooting utility
opcsupportOPC troubleshooting utility
opchdaCreate OPC historical data access client
opcua (opcua)Create OPC UA client object
opcuanode (opcua)Create OPC UA node objects
connectConnect client object to OPC server
isConnectedTrue if HDA Client is connected to server
disconnectDisconnect client object from OPC server
opc.hda.resetDisconnect and delete all OPC HDA client objects
getNameSpace (opchda)OPC HDA server name space
getNamespace (opcua)Namespace of OPC UA server associated with client
browseNameSpace (opchda)Graphically browse OPC HDA server name space
browseNamespace (opcua)Graphically browse name space and select nodes from OPC UA server
opchdaserverinfoQuery host for installed HDA servers
opcuaserverinfo (opcua)Query host for installed OPC UA servers
findDescription Locate OPC HDA servers with particular description
readItemAttributesRead item attribute values from OPC HDA server
getDescription Get description of OPC HDA aggregate type or item attribute
getIDFromNameTranslate OPC HDA aggregate type or item attribute name to numeric identifier
getIDListGet all aggregate type or item attribute IDs
getNameListGet all aggregate type or item attribute names
isvalidTrue for undeleted OPC objects

Topics

OPC Historical Data Access (HDA)

OPC Unified Architecture (UA)