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
opcserverinfoVersion, server, and status information
opchdaserverinfoQuery host for installed HDA servers
opcuaserverinfo (opcua)Query host for installed OPC UA servers
opc.hdaSupportOPC HDA troubleshooting utility
opc.daSupportOPC data access troubleshooting utility
opcsupportOPC troubleshooting utility
openosfOpen OPC Data Access Explorer session file
opcfindFind OPC objects with specific properties
opcdaCreate OPC data access object
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
propinfoProperty information for OPC objects
obj2mfileConvert OPC object to MATLAB code
opcresetDisconnect and delete all OPC objects
opc.hda.resetDisconnect and delete all OPC HDA client objects
getnamespace (opcda)OPC DA server name space
getNameSpace (opchda)OPC HDA server name space
getNamespace (opcua)Namespace of OPC UA server associated with client
browsenamespace (opcda)Graphically browse OPC DA server name space
browseNameSpace (opchda)Graphically browse OPC HDA server name space
browseNamespace (opcua)Graphically browse name space and select nodes from OPC UA server
flatnamespaceFlatten hierarchical OPC name space
serveritemsQuery server or name space for fully qualified item IDs
opcserverinfoVersion, server, and status information
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
serveritempropsProperty information for items in OPC server name space
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
copyobjMake copy of OPC data access object
deleteRemove OPC objects from memory
isvalidTrue for undeleted OPC objects
saveSave OPC objects to MAT-file
loadLoad OPC objects from MAT-file
dispSummary of information for OPC objects
getOPC object properties
setConfigure or display OPC object properties
opchelpHelp for OPC data access function or property

Apps

OPC Data Access ExplorerExplore and exchange data with OPC Data Access servers

Properties

opcda Object PropertiesConfigure OPC DA client
dagroup Object PropertiesConfigure OPC dagroup object
daitem Object PropertiesConfigure OPC daitem object

Topics

OPC Data Access (DA)

OPC Historical Data Access (HDA)

OPC Unified Architecture (UA)