CCS Standardfunction   WaitUntil [ms]
 

WaitUntil [ms]

Control [Str]

Time [ms]

Description of Function

This function is used to pause the testing sequence until a specified time. It controls a timer and can access that timer. The result returned is the timer reading at which it is detected that the waiting period has elapsed. With the aid of tolerance limits this can be used to generate an error message if the specified time has already passed when the function is invoked.

Testing Points

None

Parameters

Control

Defines the behavior of the function. The following values are allowed:

Init

Sets the timer to 0 ms.

WaitMin

The function waits until the timer reading specified by the parameter Time is reached.

Time

Specifies the timer reading until which the function is to wait.

Example

WaitUntil

Init,

Sets the timer to 0

:

:

WaitUntil

WaitMin,120

Function waits until 120 ms have elapsed since Init