Products & Services Solutions Academia Support User Community Company

Learn more about OPC Toolbox   

Function Reference


Object Creation and ConfigurationCreate and configure the objects that provide access to OPC servers
Server ExplorationExplore server name space, tag properties, and server configuration information
Data AccessRead data from OPC server synchronously or asynchronously, or through server-initiated events; write data to OPC server synchronously or asynchronously
OPC Data VisualizationVisualize live OPC data
Logging and BufferingLog data provided by OPC data access servers to disk and/or memory; and read logs
Simulink SupportCreate Simulink blocks from MATLAB group objects
UtilitiesManage OPC Toolbox objects and connections to OPC servers; get help on using OPC Toolbox software

Object Creation and Configuration

addgroupAdd data access group to opcda object
additemAdd data access items to dagroup object
clonegroupClone group into new private group on same client
connectConnect opcda object to server
copyobjMake copy of OPC Toolbox object
deleteRemove OPC Toolbox objects from memory
disconnectDisconnect opcda object from server
dispSummary of information for OPC Toolbox objects
getOPC Toolbox object properties
isvalidTrue for undeleted OPC Toolbox objects
makepublicConvert private group into public group
opcdaConstruct OPC data access object
removepublicgroupRemove public group from server
setConfigure or display OPC Toolbox object properties

Server Exploration

flatnamespaceFlatten hierarchical OPC name space
getnamespaceOPC server name space
opcserverinfoVersion, server, and status information
serveritempropsProperty information for items in OPC server name space
serveritemsQuery server or name space for fully qualified item IDs

Data Access

cancelasyncCancel asynchronous read and write operations
readRead data synchronously from OPC groups or items
readasyncRead data asynchronously from group or items
refreshRead all active items in group
writeWrite values to group or items
writeasyncAsynchronously write values to group or items

OPC Data Visualization

trendDisplay graphical trend of OPC data for group

Logging and Buffering

flushdataRemove all logged data records associated with dagroup object
getdataLogged records from OPC Toolbox software engine to MATLAB workspace
opcreadRead logged records from disk to MATLAB workspace
opcstruct2arrayConvert OPC data from structure to array format
opcstruct2timeseriesConvert OPC data from structure to time series format
peekdataPreview most recently acquired data
startStart a logging task
stopStop a logging task
waitSuspend MATLAB execution until object stops logging

Simulink Support

genslreadGenerate Simulink OPC Read block from MATLAB group object
genslwriteGenerate Simulink OPC Write block from MATLAB group object

Utilities

cleareventlogClear event log, discarding all events
loadLoad OPC Toolbox objects from MAT-file
obj2mfileConvert OPC Toolbox object to MATLAB code
opccallbackEvent information for OPC Toolbox callbacks
opcfindFind OPC Toolbox objects with specific properties
opchelpHelp for OPC Toolbox software function or property
opcqidConstruct quality ID from item's quality string
opcqpartsExtract quality parts from OPC quality ID
opcqstrConvert OPC quality ID into readable string
opcregisterInstall and register OPC Foundation Core Components
opcresetDisconnect and delete all OPC Toolbox objects
opcsupportRun OPC Toolbox software troubleshooting utility
opctoolOpen OPC Tool GUI
openosfOpen OPC Tool GUI session file
propinfoProperty information for OPC Toolbox objects
saveSave OPC Toolbox objects to MAT-file
showopceventsEvent log summary for OPC Toolbox software events
  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS