UutSwitchLevel Property (AApp) |
Version 8 |
Returns or sets the way ATEasy switches from one UUT to another in sequential run mode.
Object.UutSwitchLevel [ = enUutSwitchLevel ]
The UutSwitchLevel property syntax has the following parts:
Name |
Type |
Description |
Object |
AApp |
AApp object |
enUutSwitchLevel |
Integer constant specifying the way UUT automatic switching is done. |
enumAUutSwitchLevel can be one of the following:
Name |
Value |
Description |
aUutSwitchLevelTest |
-1 |
Switch to the next UUT after each test is complete |
aUutSwitchLevelProgram |
0 |
Switch to the next UUT after each program is complete |
aUutSwitchLevelTask |
1 * |
Default. Switch to the next UUT after each task is complete |
aUutSwitchLevelTask1 |
2 |
Switch to the next UUT after each top level task is complete |
aUutSwitchLevelTask2 |
3 |
Switch to the next UUT after each second level task is complete |
aUutSwitchLevelTask3 |
4 |
Switch to the next UUT after each third level task is complete |
This UutSwitchLevel property is used when testing multiple UUT at the same time in sequential run mode. Setting the property will effect when ATEasy switches between UUT
By default ATEasy will run program one after the other however you can change this behavior to switch UUT between tasks, test etc.
The following example sets App.UuutCount is set to 2 and UutSwitchLevel to aUutSwitchLevelTask:
app.UutCount=2
If the program running have 3 tasks, the two UUTs will run as follows:
UUT1 Task1, UUT2 Task1, UUT1 Task2, UUT2 Task2, UUT1 Task3, UUT2 Task3
Setting:
app.UutSwitchLevel=aUutSwitchLevelProgram
Will run the 2 UUTs as follows:
UUT1 Task 1, Task 2, Task3, UUT2 Task1, Task2, Task3
App.UutCount, AApp.UutIndex, App.UutRunMode, App.OnInitSwitchUut, App.OnEndSwitchUut