
2-80 Programming Guide
Programming Commands and Examples ESG Family Signal Generators
Local Lockout Demonstration, Example Program 2
360 PRINT "Verify that all keys including ‘Local’ (except Contrast keys) have no effect."
370 PRINT
380 PRINT ".......... Press Continue"
390 PAUSE
400 PRINT
410 LOCAL 7
420 PRINT "Signal generator should now be in LOCAL mode."
430 PRINT
440 PRINT "Verify that the signal generator’s front-panel keyboard is functional."
450 PRINT
460 PRINT "Press RUN to start again."
470 END
Program Comments
10 to 160: Title and program description
170: Sets up a variable to contain the GPIB address of the source.
180: Resets the signal generator’s parser and clears any pending output from the source.
190: Places the signal generator into LOCAL mode.
200: Sets the signal generator to REMOTE mode.
210: Clears the controller’s display.
220: Sets the signal generator to a defined state.
230 to 300: Prints messages on the computer’s display, then pauses.
310: Places the signal generator into REMOTE mode.
320: Places the signal generator into LOCAL LOCKOUT mode.
330 to 400: Prints a message on the computer’s display, then pauses.
410: Returns the signal generator to LOCAL control.
420 to 460: Prints messages on the computer’s display.
470: Ends the program.
Comentários a estes Manuais