Initialization events are processed in the sequence shown in the following table:
Module |
Event |
When Processed |
Usage Examples |
System |
Before anything else, when the application is started. |
Perform any initialization processes for the entire application before drivers are initialized. Output text to the Test Log describing the application. |
|
Driver(s) |
After System OnInit, in the order of the drivers listed in the System. |
Initialize the instrument driver before the application uses it. For a test executive driver, initialize the user interface. |
|
System |
After the Drivers OnInit events are called, allowing an opportunity for processing before a program starts. |
If necessary, reinitialize driver, overriding driver initialization. Use driver to set instrument to a known state before a program starts. |
|
System then, Drivers(s) then, Program |
OnInitSwitchUut (v8) |
Depends on the App.UutSwitchLevel, may be called before program, task or a test initialization. |
initialize instruments and global variables to prepare for new UUT program, task or test execution. |
System |
When any program in the application starts. |
Output text to the Test Log describing the program. |
|
Driver(s) |
When any program in the application starts. |
For a test executive driver, initialize the user interface or modify it based on user input. |
|
Program |
When the program starts. |
Initialize user interface for program. |
|
System |
When a task starts. |
Output text to the Test Log describing the task. |
|
Driver(s) |
When a task starts. |
For a test executive driver, initialize or modify user interface based on user input or the results of the previous test. |
|
Program |
When a task starts. |
Output text to the Test Log describing the task. |
|
System |
When a test starts. |
Output text to the Test Log describing the test. |
|
Driver(s) |
When a test starts. |
For a test executive driver, initialize or modify user interface based on user input or the results of the previous test. |
|
Program |
When a test starts. |
Output text to the Test Log describing the test. |