Download OPC Toolbox User`s Guide

Transcript
TimerFcn
TimerFcn
Callback function file to execute when predefined period passes
Description
You configure TimerFcn to execute a callback function file when a timer event occurs. A
timer event occurs when the time specified by the TimerPeriod property passes. Timer
events are only generated when the Status property is set to 'connected'. Timer
events will stop being generated when the object's Status is set to 'disconnected',
either by a disconnect function call, or when the server shuts down.
Some timer events may not be processed if your system is significantly slowed or if the
TimerPeriod value is too small. Timer event information is not stored in the EventLog
property.
Characteristics
Access
Read/write
Applies to
opcda
Data type
string, function handle, or cell array
Values
The default value is an empty matrix ([]).
See Also
Functions
connect, disconnect
Properties
TimerPeriod
11-61