Arbitrary Block
Program and
Response Data
This parameter or data type is used to transfer a block of data in
the form of bytes. The block of data bytes is preceded by a
preamble which indicates either:
1. The number of data bytes which follow (definite length), or
2. The following data block will be terminated upon receipt of
a New Line message, and for HP-IB operation, with the EOI
signal true (indefinite length). The syntax for this parameter is:
Definite Length #<non-zero digit><digit(s)><data byte(s)>
Where the value of <non-zero digit> is 1-9 and represents 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.
Example of sending or receiving 1024 data bytes:
#41024<byte><byte1><byte2><byte3><byte4>
…
…
<byte1021><byte1022><byte1023><byte1024>
OR
Indefinite
Length
#0<data byte(s)><NL^END>
Examples of sending or receiving 4 data bytes:
#0<byte><byte><byte><byte><NL^END>
Optional
Parameters
Parameters shown within square brackets ([ ]) are optional
parameters. (Note that the brackets are not part of the command, and
should not be sent to the instrument.) If you do not specify a value
for an optional parameter, the instrument chooses a default value.
For example, consider the
FORMat:DATA <
type
>[,<
length
>]
command. If you send the command without specifying
<
length
>
, a
default value for
<
length
>
will be selected depending on the
<
type
>
of format you specify. For example:
FORMat:DATA ASC
will set
[,<
length
>]
to the default for ASC of 7
FORMat:DATA REAL
will set
[,<
length
>]
to the default for REAL of 32
FORMat:DATA REAL, 64
will set
[,<
length
>]
to 64
Be sure to place a space between the command and the parameter.
156 HP E1313/E1413 Command Reference
Chapter 5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com