XenoGuard 4.0 Documentation

Wait Milliseconds

ActionStep Reference » Programming » Time » Wait Milliseconds


The ActionStep Wait Milliseconds sets a time interval before executing an ActionStep and stores the elapsed time in Waited Time of the result list.  Only Unsigned Number is allowed for this ActionStep.

[-] Hide
  1. Open the Programming node in the Workspace Explorer.
  2. In the Time node, select the Wait Milliseconds ActionStep.

Parameters:

The ActionStep has the following input parameters:


NAME DESCRIPTION
Waiting Time [ms] Specifies the waiting time in milliseconds

Allowed Context Scopes
 [Fixed, Local, Global]
Allowed Value [Unsigned Number]

Results:

The ActionStep returns the following results:


NAME
DESCRIPTION
Waited Time [ms] Contains the time waited in milliseconds

Allowed Context Scopes [Fixed, Local, Global]
Allowed Context Types [Variable, Parameter]
Warning An exception occurs when the Waiting Time has a negative value.
Information A hint text may appear to the right of the ActionStep that displays a piece of information that explains what is currently happening.

Example 1 (Runs an ActionStep after a specified time interval):

This example displays the value of the local Pop-out Box variable with a Text data type. The ActionStep waits for several milliseconds before it is output via the Message Box.

See other Time operations:

Stopwatch Start
Stopwatch Stop
Date/Time Show
Date/Time Subtract
Date/Time Offset
Date/Time to Ticks
Date/Time From Ticks