EasyManua.ls Logo

Agilent Technologies 8922M - Page 339

Agilent Technologies 8922M
381 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8-43
Instrument BASIC
Programming and Using the TESTS Subsystem
880: Indicate that one of the tests have failed.
890: The goto for the end of the program.
900: End of the main program.
910: Subroutine T01-This corresponds with test #1. This subroutine illustrates how
to enter values from the Parameters, Configuration, and Specification screens.
920-930: Includes the common variables.
940: Dimension some variables that will be used to store values from the configure
screen.
960: Indicate that the first test is now active.
980: Enter the value of the first Parameter. This is the value of the first parameter on
the Parameter Screen.
990: Initialize the I_o$ string.
1000: Enter the value.
1020-1050: If there is no defined parameter this string will catch the error and return
it to the main program.
1080: Get the information for the first instrument stored on the configure screen.
1090: Initialize the I_o$ string.
1100: Enter the string.
1110: Calling_name$ now holds the string associated with the Calling Name field
on the configure screen.
1120: Model$ now holds the string associated with the Model field on the configure
screen.
1130: I1addr equals the value in the Addr field on the configure screen.
1140: Options$ now holds the string associated with the Options field on the
configure screen.
1160: Get the information for the first Specification listed on the Specification
system.
1170: Initialize the I_o$ string to null.
1180: ENTER the I_o$ string.
1190-1220: If there is no specification defined for this specification number, then an
Error will appear in the I_o$ string. If this occurs, stop the test and return the error to
the main program.

Table of Contents

Related product manuals