Optional Parameters - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

Optional
Parameters
135 HP E1340A Command Reference
Arbitrary Block Program Data
This parameter type is used to transfer a block of data in the form of
bytes. The block of data bytes is preceded by a header which
indicates either:
1) the number of data bytes which follow (definite length block), or
2) that the following data block will be terminated upon receipt of a
New Line message with the EOI signal true (indefinite length
block).
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>
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
command. If you send the command without specifying a parameter, the
present
ARM[:STARt][:LAYer[1]]:COUNt
MIN
parameter, the command returns the minimum count available. If you
send the
parameter, the command returns the maximum count
MAX
available. There must be a space between the command and the parameter.
ARM[:STARt][:LAYer[1]]:COUNt? [<MIN|MAX>]
value is returned. If you send the
Chapter 7

Advertisement

Table of Contents
loading

Table of Contents