System Console and Toolkit Tcl Command Reference Manual

ID 683101
Date 6/20/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.1.5. add_timed_callback

Description

Used to add a callback procedure that is called at a fixed timed interval (in milliseconds). Interval has an allowed range of 500 - 60000. These callbacks execute sequentially, and when added, are scheduled to execute at the next available time slot.

Availability

ACTION, AUTOSWEEP_FINALIZATION, AUTOSWEEP_INITIALIZATION, AUTOSWEEP_QUALITY_METRIC, CHART, EYE_VIEWER, PARAMETER_UPDATE

Usage

add_timed_callback <proc> <interval>

ReturnType

Nothing

Returns

no return value

Arguments

proc
The name of the callback tcl proc that will be called when the timed callback triggers.
interval
The length of time between callback triggers. This time is in milliseconds.

Example

add_timed_callback my_timed_callback 500