Documentation Center

  • Trials
  • Product Updates

Events and Callbacks

Execute functions triggered by specific events

Functions

opccallback Event information for OPC Toolbox callbacks
cleareventlog Clear event log, discarding all events
showopcevents Event log summary for OPC Toolbox events

Properties

ErrorFcn Callback function file to execute when error event occurs
EventLog Event information log
EventLogMax Maximum number of events to store in event log
ShutDownFcn Callback function file to execute when OPC server shuts down
TimerFcn Callback function file to execute when predefined period passes
TimerPeriod Period between timer events
CancelAsyncFcn Callback function file to execute when asynchronous operation is canceled
DataChangeFcn Callback function file to execute when data change event occurs
ReadAsyncFcn Callback function file to execute when asynchronous read completes
RecordsAcquiredFcn Callback function file to execute when RecordsAcquired event occurs
RecordsAcquiredFcnCount Number of records to acquire before RecordsAcquired event occurs
StartFcn Callback function file to execute immediately before logging starts
StopFcn Callback function file to execute immediately after logging stops
WriteAsyncFcn Callback function file to execute when asynchronous write completes

Concepts

Was this topic helpful?