Chapter 1 Programming Overview
RIGOL
DG900 Programming Guide
1-5
Symbol Description
The following four symbols are not part of the SCPI command, and they are not sent with the commands,
but taken as delimiters to better describe the parameters in the command.
1.
Braces { }
The contents enclosed in the braces can contain multiple parameter options; and the vertical bar is
used to separate multiple parameter options. When sending the command, you must select one of the
parameters. For example, :COUPling[<n>]:PHASe:MODE {OFFSet|RATio}.
2.
Vertical Bar |
The vertical bar is used to separate multiple parameters. When using the command, you must select
one of the parameters. For example, :COUPling[<n>]:PHASe:MODE {OFFSet|RATio}.
3.
Square Brackets []
The contents (command keywords or parameters) 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 :COUNter:STATIstics[:STATe]? command, send any of the following two commands can achieve
the same effect.
:COUNter:STATIstics?
:COUNter:STATIstics:STATe?
4.
Triangle Brackets <>
The parameter enclosed in the angle brackets must be replaced by an effective value. For example,
sending the :COUNter:LEVEl <value> command in :COUNter:LEVEl 1.5 form.
Parameter Type
The command parameters introduced in this manual include 5 types: Bool, Integer, Real, Discrete, and
ASCII String.
1.
Bool
The parameter can be set to "ON (1)" or "OFF (0)". For example, :COUNter:HF {ON|1|OFF|0}.
2.
Integer
Unless otherwise specified, the parameter can be any integer within the effective value range. Note:
Do not set the parameter to a decimal, otherwise, errors will occur. For example, in
the :DISPlay:BRIGhtness <brightness> command, <brightness> can be any integer from 0 to 100.
3.
Real
Unless otherwise noted, the parameter can be any number within the effective value range.
For example, the range of <value> in the :COUNter:LEVEl <value> command is from -2.5 V to 2.5 V.
4.
Discrete
The parameters can only be the specified numerical values or characters. For example, in
the :COUPling[<n>]:PHASe:MODE {OFFSet|RATio} command, the parameter can only be OFFSet or
RATio.
5.
ASCII String
The parameter can be the combinations of ASCII characters. For example, in
the :MMEMory:LOAD:STATe <filename> command,
<filename> is the filename of the state file to be loaded under the current directory of the external
memory and it can include English characters and numbers.
Besides, you can replace the parameters in many commands with MINimum or MAXimum to set the
parameters to their minimum or maximum value.
Summary of Contents for DG952
Page 2: ......
Page 168: ......
Page 181: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 7 ...
Page 185: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 11 ...
Page 187: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 13 ...
Page 199: ...Chapter 4 Programming Examples RIGOL DG900 Programming Guide 4 25 ...
Page 200: ......