CCS Standardfunction Control [INT] |
This function is used to implement program subroutines and loops in the PAV. The conditions supported are IF/THEN, IF/THEN/ELSE and WHILE. A subroutine is terminated by ENDIFor ENDWHILE respectively. The Control function must be invoked for every keyword.
Subroutines are limited to a single PAV table, i.e. all associated function calls and executable test lines must be contained within the same table.
Control lines must not contain any signal connections in the Stimulus columns. Alterations to the interface configuration within a Control construct may only be implemented in exceptional cases after consultation with the unit responsible for performing the test. There are complex rules to be observed in such circumstances.
If the condition is met, the Control function returns the result 1, if not the result is 0.
Specifies the type of subroutine function. Possible options are the following:
IF
|
Marks the start of a WHILE loop; the test lines that follow up to the next ENDWHILE instruction continue to be executed until the condition returns the value 0. |
|
Condition used to decide whether/which test stages within the subroutine are to be executed or when execution of a loop is to be terminated. The condition may included comparators and logical operators (but no calculations).
Numerical values within the condition are only allowed in Float or Integer format (decimal notation).
The following order of precedence applies to the execution of the condition: comparators before logical operators. A different execution sequence can be forced by the appropriate use of (round) brackets.