| Contents | Index |
This table summarizes what is new in Version 3.0 (R2011a):
| New Features and Changes | Version Compatibility Considerations | Fixed Bugs and Known Problems |
|---|---|---|
| Yes Details below | No | Bug
Reports Includes fixes |
OPC Toolbox now supports OPC Historical Data Access (OPC HDA) specification version 1.2. This allows you to access and visualize historical process data from an OPC Historical Data Access server (commonly referred to as an historian).
Key features of OPC HDA support are:
You can browse networks for Historical Data Access servers.
A single OPC HDA client object allows you to manage connections to an HDA server, to browse the server name space, and to read raw and processed data from the server.
An OPC Historical Data Access object allows you to easily manipulate and visualize data retrieved from OPC HDA servers.
The OPC HDA read functions include:
readRaw — Reads raw historical data for a selection of item tags over a selected time span.
readAtTime — Reads data from the server at specific time intervals. It can return array data as an output, by specifying an optional 'datatype' argument.
readProcessed — Reads processed data from the server for chosen item tags using an aggregate type defined from a list of available types. It can return array data as an output, by specifying an optional 'datatype' argument.
readModified — Reads all modified data between two times for a particular item.
The OPC HDA data object functions include:
tsunion — (Time stamp union) Converts all data to have the same time stamps, by resampling at the union of the time stamps of all items.
tsintersect — (Time stamp intersection) Converts all data to have the same time stamps, using the time stamps common to all items in the array. Removes all data that is not common to all elements (items) in the data object.
resample — Converts all data to have the given (regularly) sampled time stamps that you provided. Combines elements with the same item ID, so that resample creates data objects with unique item IDs.
plot — Generates a plot so you can visualize the historical data.
For a command-window listing of available functions and links to their specific help, type:
help opc.hda
You access the Historical Data Access (HDA) functions through the opc.hda package. For this reason, to get help on a particular HDA function, you must prefix the function name with opc.hda. For example, to get help on the getServerInfo function, type:
help opc.hda.getServerInfo
Other prefixes, such as opc, opc.hda.Data, or opc.hda.Client might be necessary, as listed in the output for help opc.hda.
To view OPC HDA documentation in the help browser, see
OPC Historical Data Access (HDA) functions category
Demos for OPC Historical Data Access Tutorials are in the help documentation under the Demos node in OPC Toolbox.
![]() | Version 3.1 (R2011b) OPC Toolbox Software | Version 2.1.6 (R2010b) OPC Toolbox Software | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |