User manual

Chapter 2 Command System RIGOL
MSO1000Z/DS1000Z Programming Guide 2-131
[:SOURce[<n>]]:OUTPut[<n>][:STATe]
Syntax [:SOURce[<n>]]:OUTPut[<n>][:STATe] <bool>
[:SOURce[<n>]]:OUTPut[<n>][:STATe]?
Description Turn on or off the output of the specified source channel, or query the status of the output
of the specified source channel.
Parameter
Name
Type
Range
Default
[<n>] Discrete {1|2}
If omitted, the operation is
performed on source 1 by
default
<bool>
Bool
{{1|ON}|{0|OFF}}
0|OFF
Explanation [:SOURce[<n>]] and :OUTPut [<n>] are used to specify the source channel. The former
enjoys higher priority over the latter; namely if the former is omitted, the channel is
specified by the latter and if the former is not omitted, the channel is specified by the
former.
Return
Format
The query returns OFF or ON.
Example
:OUTPut 1 /*Turn on the output of source 1*/
:OUTPut? /*The query returns ON*/
[:SOURce[<n>]]:OUTPut[<n>]:IMPedance
Syntax [:SOURce[<n>]]:OUTPut[<n>]:IMPedance <impedance>
[:SOURce[<n>]]:OUTPut[<n>]:IMPedance?
Description
Set or query the impedance of the specified source channel.
Parameter
Name
Type
Range
Default
[<n>] Discrete {1|2}
If omitted, the operation is
performed on source 1 by
default
<impedance>
Discrete
{OMEG|FIFTy}
OMEG
Explanation [:SOURce[<n>]] and :OUTPut [<n>] are used to specify the source channel. The
former enjoys higher priority over the latter, namely if the former is omitted, the
channel is specified by the latter and if the former is not omitted, the channel is
specified by the former.
OMEG: highZ; FIFTy: 50Ω
Return
Format
The query returns OMEG or FIFT.
Example
:OUTPut:IMPedance FIFTy /*Set the output impedance of source 1 to 50Ω*/
:OUTPut:IMPedance? /*The query returns FIFT*/