Agilent Technologies 8922M Cell Phone User Manual


 
8-42
Instrument BASIC
Programming and Using the TESTS Subsystem
590: Initialize I_o$ to a null string.
600: I_o$ holds the value of the return string.
610: Tst now hold the value of the current test. This value is equal to the index of the
Test Name in the Test selection list shown on the Test Seqn screen.
630: This tests whether this test is to be run for all channels. If not, the value is still
kept around but is made negative. This will be used in later tests.
650: If the number of the test is indeed negative but the channel is prime, then the
test is done.
670: This calls a subroutine that maps the number of the test with the subroutine that
defines this test.
680: If there is an error, then the program stops and the error is reported.
690: Done_t is set to completed.
700: End this IF statement.
720: If Tst is suppose to be done, and has not yet been done, then now do it.
740: Again, This calls a subroutine that maps the number of the test with the
subroutine that defines this test.
750: If there is an error, then the program stops and the error is reported.
760: End this IF statement.
770: Increment the step for the Test index.
780: If there are no more steps specified, or if the number of tests run is 51, then
leave the test seqn loop.
790: End the Tst IF statement.
800: Increment the Channel number.
810: Stop stepping through the channels if the number of channels reaches 51, or if
the Receive or Transmit frequencies are specified at -1.
820: The goto location for the stop test softkey.
830: Clear the screen
840: Indicate that the test is finished.
850: Goto the end statement.
860: The goto location if an error occurs in one of the subroutines.
870: Clear the screen.