User`s manual

The syntax for data in the blocks is as follows:
Definite length block:
#<non-zero digit><digit(s)><data byte(s)>
Where the value of <non-zero digit> equals the number of <digit(s)>. The
value of <digit(s)> taken as a decimal integer indicates the number of <data
byte(s)> in the block.
Indefinite length block:
#0<data byte(s)><NL^END>
Examples of sending 4 data bytes:
#14<byte><byte><byte><byte>
#3004<byte><byte><byte><byte>
#0<byte><byte><byte><byte><NL^END>
Optional
Parameters
Command parameters shown within square brackets ([ ]) are optional. The brackets
are not part of the parameter, and are not sent to the AFG. If you do not specify a
value for an optional parameter, the instrument chooses a default value.
For example, consider the
ARM[:STARt]:LAYer[1]:COUNt? [<MIN | MAX | INF>]
command. If you send the command without specifying a parameter, the present
ARM[:STARt]:LAYer[1]:COUNt value is returned. If you send the MIN parameter,
the command returns the minimum count available. If you send the
MAX parameter,
the command returns the maximum count available. There must be a space between
the command and the parameter.
Querying
Parameter
Settings
Unless otherwise noted in the reference section, parameter settings can be queried by
adding a question mark (
?) to the command which set the parameter. For example:
SOUR:FREQ1:FIX 20E3
sets the frequency to 20 kHz. The value can be queried by executing:
SOUR:FREQ1:FIX?
The MINimum or MAXimum value of a parameter is determined as follows:
SOUR:FREQ1:FIX? MIN
SOUR:FREQ1:FIX? MAX
The minimum and maximum values returned are based on the settings of other AFG
commands at that time.
Chapter 8 Command Reference 287