Read Timer

Reads the value of a timer previously started in an established session. The current time value is put into the specified variable without stopping the timer. Timer sessions can be used to gauge the execution time between Start Timer and Stop Timer steps. Use this step to read the timer value without stopping the timer.

Declaration

<AMREADTIMER SESSION="Text" RESULTVARIABLE="Text" SCALE="Text" />

See Also: Start Timer, Stop Timer, Pause Task, Wait for File, Wait for Process

General Tab

Property

Type

Required

Default

Markup

Description

Timer Name

Text

Yes

TimerSession1

SESSION="TimeSess2"

The name of the timer session previously established by a Start Timer step that should be read. Timer sessions allow several timers to be running simultaneously. The default value is TimerSession1.

Populate Variable With Elapsed Time

Text

Yes

(Empty)

RESULTVARIABLE="myVar"

The variable to populate with the timer reading.

Time Scale

Text (options)

No

Seconds

SCALE="minutes"

The scale to be used in calculating the time. The available options are:

  • Hours

  • Minutes (default)

  • Seconds

  • Milliseconds