16-14
IM 765501-01E
16.2.2 Output Commands (OUTPut Group)
:OUTPut[:STATe]
Function
Sets the output state (ON, OFF, or zero) or
queries the current setting.
Syntax
:OUTPut[:STATe] 1|0|ON|OFF|ZERO
1 or ON = Turns the output ON.
0 or OFF = Turns the output OFF.
ZERO = Turns the output to zero.
:OUTPut[:STATe]?
→
1 = Currently ON
0 = Currently OFF
ZERO = Currently zero
Example
:OUTP ON
:OUTP:STAT ZERO
:OUTP:STAT?
Description ON and OFF indicates ON and OFF of the
output relay. ZERO indicates the zero state.
The zero state is defined using the
:SOURce:VOLTage:ZERO
or
:SOURce:
CURRent:ZERO
command.
:OUTPut:PROGram
Function
Sets the programmable output state (ON or
OFF) or queries the current setting Or, carries
out pulse generation.
Syntax
:OUTPut:PROGram 1|0|ON|OFF|PULSe
1 or ON = Turns the output ON (Low).
0 or OFF = Turns the output OFF (High).
PULSe = Generates a 10-
µ
s pulse.
:OUTPut:PROGram?
→
1 = Currently ON (Low)
0 = Currently OFF (High)
Example
:OUTP:PROG 1
:OUTP:PROG PULS
:OUTP:PROG?
Description The program output used here indicates pin 9 of
the external input/output connector. If the BNC
output is set to programmable output using the
:ROUTe:BOUT:SELect CONTrol;CONTrol
PROGram
command, the same signal is output
to the BNC output.
16.2 Commands