8-37
Instrument BASIC
Programming and Using the TESTS Subsystem
Figure 8-17 Instrument-Configuration Screen
Program Structure for TESTS Subsystem Programs
Writing programs that take advantage of the TESTS subsystem capabilities requires
the programmer to understand how to structure the program to access the TESTS
subsystem user-interface screens.
General Organization
Here are the steps to a basic algorithm that can be used to execute a number of test
subroutines at a number of different frequencies:
BEGIN
SET UP (Set up the COM area to hold the global variables.)
REPEAT (for all Defined Tests)
DO SUBROUTINE (defined Test)
UNTIL (All Defined Tests Done)
END
SUBROUTINE1 (Defined Test 1)
SUBROUTINE2 (Defined Test 2)
SUBROUTINE3 (Defined Test 3)
5
321
4