This is machine translation

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

Data Logs and Buffers

Log data to disk or memory, read data logs


refresh Read all active items in group
start Start a logging task
stop Stop a logging task
wait Suspend MATLAB execution until object stops logging
flushdata Remove all logged data records associated with dagroup object
getdata Retrieve logged records from OPC Toolbox engine to MATLAB workspace
peekdata Preview most recently acquired data
opcread Read logged records from disk to MATLAB workspace
opcstruct2array Convert OPC data from structure to array format
opcstruct2timeseries Convert OPC data from structure to time series format


Active Group or item activation state
DeadbandPercent Percentage change in item value that causes subscription callback
LogFileName Name of disk file to which logged data is written
Logging Status of data logging
LoggingMode Specify destination for logged data
LogToDiskMode Method of disk file handling for logged data
RecordsAcquired Number of records acquired
RecordsAvailable Number of records available in OPC Toolbox engine
RecordsToAcquire Number of records to acquire for logging session
Subscription Enable server update when data changes
UpdateRate Rate, in seconds, at which subscription callbacks occur


Log OPC Server Data

Describes how to log data from an OPC server for later analysis and/or visualization.

Data Change Events and Subscription

Describes how OPC servers generate data change events, and how you can control data change event notification.

Was this topic helpful?