Open System Testing Architecture

TOC PREV NEXT INDEX



LOAD TIMER Command

Description:

This command loads an integer variable with the current value - as a number of 10ms ticks - of the specified timer. The current value of a timer is calculated by taking the time for the latest stop timer and subtracting from it the time for the preceding start timer. If no start timer / stop timer commands have been executed for the specified timer by the current thread an error will occur. This will either abort script execution, or take the specified action if error trapping is enabled via the ON ERROR command.

Format:
 LOAD TIMER name INTO variable
Parameters:
name

The timer name. The timer must be declared in a TIMER statement in the Definitions section of the script.

variable

The name of an integer variable into which the timer value - in 10ms ticks - is loaded.

Example:
 LOAD TIMER Transaction INTO Timval

See also:

Miscellaneous Commands


OpenSTA.org
Mailing Lists
Further enquiries
Documentation feedback
CYRANO.com
TOC PREV NEXT INDEX