
1-6 Programming Guide
Preparing for Use ESG Family Signal Generators
Setting up the Equipment for Remote Operation
Verifying GPIB Programming Functionality
This program verifies that the GPIB connections and interface are functional. With the
equipment set up as described in the previous section, clear and reset the controller. Type
in the following program:
10 Sig_gen=719
20 ABORT 7
30 LOCAL Sig_gen
40 CLEAR Sig_gen
50 OUTPUT Sig_gen;"*RST"
60 REMOTE Sig_gen
70 CLEAR SCREEN
80 PRINT "The source should now be in REMOTE."
90 PRINT "Verify that the ‘R’ annunciator is displayed"
100 END
Run the program and verify that the R (remote) annunciator is activated on the signal
generator’s display. If it is not, verify that the signal generator address is set to 19 (see
“Setting Up the Interface for GPIB Operation” on page 1-5) and that the interface cable is
properly connected.
If the controller display indicates an error message, it is possible that the program was
entered in incorrectly. If the controller accepts the remote statement but the signal
generator’s remote annunciator does not appear on the signal generator’s display, refer to
the service guide for troubleshooting information.
Program Comments
10: Sets up a variable to contain the GPIB address of the signal generator.
20: Aborts any bus activity and return the GPIB interfaces to their reset states.
30: Places the signal generator into LOCAL mode to cancel any local lockouts that may
have been set up.
40 to 50: Resets the signal generator’s parser and clears any pending output from the signal
generator. Prepares the signal generator to receive new commands.
60: Places the signal generator into remote mode.
70: Clears the controller’s display.
80 to 90: Prints a message to the controller’s display.
100: Ends the program.
Kommentare zu diesen Handbüchern