Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

readModified

Package: opc.hda

Read modified data from an OPC HDA server

Syntax

DObj = readModified(HdaClient, ItmList, StartTime, EndTime)

Description

DObj = readModified(HdaClient, ItmList, StartTime, EndTime) reads modified data from the items defined by ItmList, stored on the OPC HDA server connected to OPC HDA Client HdaClient, between StartTime (inclusive) and EndTime (exclusive). The StartTime and EndTime arguments must be date numbers, or character vectors that can be converted to a MATLAB date number. DObj is returned as an opc.hda.Data array, with one element per item specified in ItmList.

DObj contains only data items that have been modified, replaced or deleted on the OPC HDA server. That is, only data values that return a quality of 'Extra Data' during a readRaw operation. If a value has been modified multiple times, all values for that time are returned.

Some servers do not support this function.

See Also

|

Introduced in R2011a

Was this topic helpful?