
Remote Control Fundamentals
NRP2
182
User Manual 1173.9140.02 ─ 07
Example:
Command:
SENSe:POWer:BUFFered ON
Query:
SENSe:POWer:BUFFered?
Response:
1
Character data
Character data follows the syntax rules for keywords, i.e. it also has both a short and a
long form. They must be separated from the header by a white space same as any
parameter. A query returns the short form of the character data.
Example:
Command:
SENSe2:AVERage:TCONTrol MOVing
Query:
SENSe2:AVERage:TCONTrol?
Response:
MOV
Strings
Strings must always be indicated in single or double quotes.
Example:
SENSe1:FUNCtion:ON "POWer:AVG"
or
SENSe1:FUNCtion:ON 'POWer:AVG'
Block data
The block data format is suitable for the transmission of large data volumes. A com-
mand with a block data parameter has the following structure:
Example:
DISPlay:PIXMap?
Response:
#49600xxxxxxxx.....
The ASCII character # denotes the beginning of the data block. The next numeral
specifies the number of subsequent digits defining the length of the data block. In the
example above, the four digits specify a length of 9600 bytes. The data bytes follow
next. During transmission of these data bytes, all terminators and other control data
are ignored.
Coupled commands
Setting one command influences the value of another command. According to SCPI
1999, this should be avoided but it makes sense when user-friendly high-level mea-
surement commands are to be provided to configure an entire section of the device at
once. The high-level commands
CONFigure
,
FETCh
,
READ
and
MEASure
are there-
fore an exception to this rule.
Structure and Syntax of device-dependent Messages
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com