6
Tel: 886.2.2175 2930 Email: [email protected]
CALCulate is the root of the command, BANDwidth and NDB are the second and third level keywords. The command line begins with a
colon "," and separates the keywords at all levels. <Rel_ampl> represents the settable parameter; the question mark "?" Indicates the
query; the command: CALCulate: BANDwidth: NDB and the parameter <rel_ampl> is separated by a space “ “.
In some commands with parameters, usually with a comma "," separate multiple parameters, such as:
: SYSTem: DATE <year>, <month>, <day>
1.2.2.
Symbol Description
The following four symbols are not the contents of the SCPI command, but are usually used to describe the parameters in the command.
1.2.2.1.
Braces {}
The parameters in braces are optional, can be empty, or can be set one or more parameters.
Example
[:SENSe]:CORRection:CSET<n>:DATA <freq>,<rel_ampl>{,<freq>,<rel_ampl>}
In
{,<freq>,<rel_ampl>}
the frequency and amplitude can be omitted, or set one or more pairs of frequency/amplitude parameters.
1.2.2.2.
Vertical bar |
The vertical bar is used to separate multiple parameter options, and one of the parameters must be selected when execute the
command.
Example
: DISPLAY: MENU: STATe OFF | ON | 0 | 1
The available command parameters are "OFF", "ON", "0" or "1", one of them must be selected.
1.2.2.3.
Square brackets []
The contents in the square brackets (command keywords) are optional and can be omitted.
Example
[: SENSe]: CORRection: OFFSet [: MAGNitude]?
This command equals to following 3 commands:
: CORRection: OFFSet?
: CORRection: OFFSet: MAGNitude?
: SENSe: CORRection: OFFSet?
1.2.2.4.
Triangle brackets <>
The parameters in the triangle brackets must be a valid value.
Example
: DISPlay: BRIGtness <integer>
: DISPlay: BRIGtness 10
1.2.3.
Parameter Type