Specifications
Programming Guide 2-79
ESG Family Signal Generators Programming Commands and Examples
Local Lockout Demonstration, Example Program 2
Local Lockout Demonstration, Example Program 2
When the signal generator is in REMOTE mode, all the front panel keys are disabled
except for the
Local, , and keys. But, when the LOCAL LOCKOUT command is
sent, the
Local key also is disabled and only and are allowed. The LOCAL
command, executed from the controller, is then the only way to return all (or selected)
instruments to front-panel control.
CLEAR and RESET the controller, type the following commands, and RUN the program.
10 !******************************************************************************
20 !
30 ! PROGRAM NAME: LCLLCK_OT Rev. 2A796
40 !
50 ! PROGRAM DESCRIPTION: When the signal generator is in REMOTE mode, all
60 ! functional front panel keys are disabled except for
70 ! the Local and Contrast keys. But, when the LOCAL LOCKOUT
80 ! command is set on the bus, even the Local key is disabled.
90 ! The LOCAL command, executed from the controller, is then
100 ! the only way to return the signal generator to front panel,
110 ! LOCAL, control.
120 !
130 ! Continue by building upon Example Program #1; GPIB CHECK:
140 !
150 !******************************************************************************
160 !
170 Sig_gen=719
180 CLEAR Sig_gen
190 LOCAL Sig_gen
200 REMOTE Sig_gen
210 CLEAR SCREEN
220 OUTPUT Sig_gen;"*RST"
230 PRINT "The signal generator should now be in REMOTE."
240 PRINT
250 PRINT "Verify that all keys are ignored, except the ‘Local’ and ‘Contrast’ keys."
260 PRINT
270 PRINT "Verify that pressing ‘Local’ causes the remote [R] annunciator to go OFF."
280 PRINT
290 PRINT ".......... Press Continue"
300 PAUSE
310 REMOTE Sig_gen
320 LOCAL LOCKOUT 7
330 PRINT
340 PRINT "Signal generator should now be in LOCAL LOCKOUT mode."
350 PRINT










