![Rigol DSG5000 Series Programming Manual Download Page 12](http://html.mh-extra.com/html/rigol/dsg5000-series/dsg5000-series_programming-manual_1460929012.webp)
The contents in the square brackets can be omitted. If the parameter is omitted,
the instrument will set the parameter to its default. For example, for the command
[:SOURce]:RFALl:OUTPut[:STATe]?
sending any of the four commands below can generate the same effect:
:SOURce:RFALl:OUTPut:STATe?
:SOURce:RFALl:OUTPut?
:RFALl:OUTPut:STATe?
:RFALl:OUTPut?
4. Angle Brackets < >
The parameter enclosed in the angle brackets must be replaced by an effective
value. For example,
:FREQuency
4 MHz is the correct command form for sending the command
[:SOURce][:RF
<
channel>
]:FREQuency
<
freq>[<unit>].
Parameter Type
The command parameters introduced in this manual include 5 types: bool, discrete,
integer, real number, and ASCII string.
1. Bool
The parameter can be set to ON, OFF, 1, or 0. For example,
:SYSTem:COMMunication:LAN:MDNS
<
bool>
:SYSTem:COMMunication:LAN:MDNS?
Wherein, <
bool> can be set to 1|ON|0|OFF. The query returns 1 or 0.
2. Discrete
The parameter can be any of the values listed. For example,
:SYSTem:LANGuage
<
type>
:SYSTem:LANGuage?
Wherein, <
type> can be set to CHINese|ENGLish. The query returns an abbreviated
form: CHIN or ENGL.
3. Integer
Unless otherwise specified, the parameter can be any integer (NR1 format) within
the effective value range.
CAUTION
Do not set the parameter to a decimal, otherwise, errors will occur.
For example,
SCPI Command Overview
4
Copyright ©RIGOL TECHNOLOGIES CO., LTD. All rights reserved.