Technical data

Table 22
Parameter Description
[A|B] Defines for which pattern the data is to
be set (A = standard pattern, B =
alternate pattern). If the pattern file
describes a standard pattern (:USE =
STRaight), this parameter cannot be B.
<filename> Name of the file being defined. If the file
does not exist, it is created.
<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)
5 SCPI Command Reference
120 Agilent J-BERT N4903B High-Performance Serial BERT
<block data>