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
Was this topic helpful?