Server Connection and Browsing

Connect to OPC servers and browse their name spaces

Functions

opcfind Find OPC Toolbox objects with specific properties
opcda Construct OPC data access object
opchda Create OPC historical data access client
connect Connect OPC Toolbox client to server
isConnected True if HDA Client is connected to server
disconnect Disconnect OPC Toolbox client from server
propinfo Property information for OPC Toolbox objects
obj2mfile Convert OPC Toolbox object to MATLAB code
opcreset Disconnect and delete all OPC Toolbox objects
opc.hda.reset Disconnect and delete all OPC HDA client objects
getnamespace (opcda) OPC data access server name space
getNameSpace (opchda) OPC historical data access server name space
browsenamespace (opcda) Graphically browse OPC DA server name space
browseNameSpace (opchda) Graphically browse OPC HDA server name space
flatnamespace Flatten hierarchical OPC name space
serveritems Query server or name space for fully qualified item IDs
opcserverinfo Version, server, and status information
opchdaserverinfo Query host for installed HDA servers
readItemAttributes Read item attribute values from OPC HDA server
serveritemprops Property information for items in OPC server name space
getDescription Get description of OPC HDA aggregate type or item attribute
getIDFromname Translate OPC HDA aggregate type or item attribute name to numeric identifier
getIDList Get all aggregate type or item attribute IDs
getNameList Get all aggregate type or item attribute names
copyobj Make copy of OPC data access object
delete Remove OPC Toolbox objects from memory
isvalid True for undeleted OPC Toolbox objects
save Save OPC Toolbox objects to MAT-file
load Load OPC Toolbox objects from MAT-file
disp Summary of information for OPC Toolbox objects
get OPC Toolbox object properties
set Configure or display OPC Toolbox object properties
opchelp Help for OPC Toolbox data access function or property

Properties

Group Data Access Group objects contained by client
Name Descriptive name for OPC Toolbox object
Tag Label to associate with OPC Toolbox object
Type OPC Toolbox object type
UserData Data to associate with OPC Toolbox object
Host DNS name or IP address of server
ServerID Server identity
Status Status of connection to OPC server
Timeout Maximum time to wait for completion of instruction to server
Was this topic helpful?