Lesson 1 – Test Method Structure
419
Execution API
After the trigger lines are enabled, to run the test with the present
primary sets including the changes by Setup APIs, use the
following APIs:
The changes by Setup APIs are reflected to the tester hardware by
an Execution API. At this time, enabling trigger lines of analog
modules is reflected at the end of this change operation. Then,
the digital sequence is activated and the test starts.
NOTE If a digital sequence program performs digital capture for digital
channel(s), DIGITAL_CAPTURE_TEST must be used to start the
digital sequence program.
You can set the timeout time for measurement that starts with a
parameter of the EXECUTE_TEST or WAIT_TEST_DONE API. In
this case, by using the returned value of the flag parameter, you
can monitor whether timeout occurred:
0: Timeout did not occur
1: Timeout occurred
Timeout for Execution API
EXECUTE_TEST(timeout, &flag);
or
START_TEST();
WAIT_TEST_DONE(timeout, &flag);
or
DIGITAL_CAPTURE_TEST();
Terminated
Trigger
Digital Sequence
Program Execution
EXECUTE_TEST( timeout, &flag );
Test Method
Program Execution
Elapsed Time
EXECUTE_TEST( timeout, &flag );
timeout
Done
Terminated
(A) If timeout did not occur (flag = 0)
(B) If timeout occurred (flag = 1)
Analog Sequence
Program Execution
Trigger
timeout time
timeout time
Done
Next statement
Next statement