Remote Control
Copyright© Itech Electronic
Co., Ltd.
8
NOTE
As for every SCPI message with one query sent to the instrument, the instrument will use
a <NL> or newline sign (EOI) to terminate response of return. For example, if
"DISP:TEXT?" is sent, <NL> will be placed after the returned data string to terminate
response. If an SCPI message includes several queries separated by semicolon (such as
"DISP?;DISP:TEXT?"), <NL> will terminate response returned after response to the last
query. In all cases, the program must read <NL> in response before another command is
sent to the instrument, otherwise errors will be caused.
1.7 Data Type
SCPI language defines several data types used for program message and
response messages.
Numerical parameter
Commands requiring numerical Parameter support the notations of all common
decimal notations, including optional signs, decimal points, scientific notation,
etc. Special values of numerical Parameter are also acceptable, such as MIN,
MAX and DEF. In addition, suffixes for engineering units can also be sent
together with numerical Parameter (including M, k, m or u). If the command
accepts only some specific values, the instrument will automatically round the
input Parameter to acceptable values. The following commands require
numerical Parameter of frequency value:
[SOURce[1|2]:]FREQuency:CENTer {<Frequency>|MINimum|MAXimum}
<NR1>:
There is an implicit decimal point in the last bit,such as 273
<NR2>: There is an explicit decimal point,such as .273
<NR3>: There are an explicit decimal point and exponential,such as
2.73E+22.73E+2
<Nrf>:The extensible form includes <NR1>, <NR2> and <NR3>,such
as 273 273. 2.73E2273 273. 2.73E2
<Nrf+>: The extensible decimal form includes <NRf> and MIN MAX
DEF, such as 273 273. 2.73E2 MAX. MIN and MAX are the minimum
and maximum finite number. Within the range of the parameter
definition, DEF is the default of the parameter.
Discrete parameter
Discrete Parameter are used for settings with limited number of programming
values (such as IMMediate, EXTernal or BUS). They can use short and long
format like key words of commands. They may be expressed in both upper and
lower case. The query response always returns uppercase Parameter in short
format. The following commands require discrete Parameter in voltage unit:
[SOURce[1|2]:]VOLTage:UNIT {VPP|VRMS|DBM}
Boolean parameter
Boolean Parameter refer to true or false binary conditions. In case of false
conditions, the instrument will accept "OFF" or "0". In case of true conditions,
the instrument will accept "ON" or "1". In query of Boolean settings, the
instrument will always return "0" or "1". Boolean Parameter are required by the
following commands:
DISPlay {OFF|0|ON|1}
ASCII string Parameter
String Parameter may actually include all ASCII character sets. Character
strings must start and end with paired quotation marks; and single quotation
marks or double quotation marks are both allowed. Quotation mark separators