opchda
Create OPC historical data access client
Description
An opc.hda.Client object represents an OPC HDA client in
MATLAB® that connects to an OPC HDA server.
Creation
Syntax
Description
constructs an OPC HDA client object, hdaObj = opchda(serverInfoObj)hdaObj, for the information
provided in the OPC HDA ServerInfo object,
serverInfoObj, obtained from an opchdaserverinfo
function call.
constructs hdaObj = opchda(hostName,serverID)hdaObj for the host specified by hostName
and the OPC server ID specified by serverID.
When you construct hdaObj, its initial Status
property value is 'disconnected'. To communicate with the server,
connect hdaObj to the server using the connect function.
applies the specified property values to the client created with the
hdaObj = opchda(hostName,serverID,Name=Value)Host and ServerID parameters. If you specify an
invalid property name or value, the function does not create an object.
applies the specified property values to the client created with the
hdaObj = opchda(serverInfoObj,Name=Value)ServerInfo object, serverInfoObj. If you specify
an invalid property name or value, the function does not create an object.
Input Arguments
Name-Value Arguments
Output Arguments
Examples
Version History
Introduced in R2013a