Lesson 1 – Multi-Site Test
517
1-4 Test Method Program for Multi-Site
Testing
Setting Up a Block for Parallel Execution
For parallel execution of setup and test (measurement) for all sites at the
first invocation of the program, enclose the setup and test execution part of
a test method program by the following two Multi-site APIs:
Multi-Site APIs
For simple reference, the part enclosed by these APIs is called the first invo-
cation block.
If the Parallel Mode Enable testflow flag and Allow Parallel testsuite flag
are turned on, and if the number of sites is 3, the system performs parallel
execution for the sites as follows:
Execution Flow
As shown in the above figure, the first invocation block will be executed once
only at the first invocation of the program, and the other blocks will be exe-
cuted site by site.
ON_FIRST_INVOCATION_BEGIN();
// Setup and Test Execution
ON_FIRST_INVOCATION_END();
Site 1 Site 2 Site 3
Set up tester hardware
Execute test
Retrieve measurement data
Perform computation
Judge result to Pass/Fail
Skipped
Skipped
Site 1 Site 2 Site 3
Focus On Site 3
3rd Invocation
connected and masked
connected and active
Focus (Query-focus)
2nd Invocation1st Invocation
First Invocation Block