Technical data

Table 26
Parameter Description
<block data> The data that describes the pattern (see
the following for the description).
The <block data> parameter contains the actual data for setting the bits of the
user pattern. The bits can also be packed using the FORMat[:DATA] command. If
the bits are not packed, they are handled as 8-bit data. See “[SOURce
[1]]:PATTern:FORMat[:DATA][?] ” on page 103.
This command also sets the pattern length to fit the length of the data: If the data
block is longer than the pattern, the pattern is extended to fit the data; if the data
block is shorter than the pattern, the pattern is truncated to the end of the data.
<block data> starts with a header that indicates the length of the desired resulting
data. The length of the <block data> embedded in the header always refers to the
length of the data block in bytes.
For example, consider the following header:
#19<data>
# Start of the header.
1 Number of decimal digits to follow
to form the length.
9 Length of the data block (in bytes)
that follows.
<data> The pattern data, packed according
the DATA:PACKed command.
For non-packed data (or 8-bit packed data), the <block data> required to set an 8-
bit pattern of alternating 1s and 0s (01010101) would be:
#11U (Note that "U" is the ASCII representation of 85)
For 4-bit packed data, the <block data> required to set the same pattern would be:
#1255
For 1-bit packed data, the <block data> would be as follows:
#1801010101
SCPI Command Reference 5
Agilent J-BERT N4903B High-Performance Serial BERT 127
<block data>