Specifications
5-5
System Command Reference Section
Pattern Configuration
[SOURce[1]:]PATTern:UPATtern <n>:DATA [A|B,] <block_data>
Sets the bits of the pattern. The bits are sent as an arbitrary block diagram data element.
The data may be sent 1 bit/byte or 8 bits/byte, under the control of the
SOURce1:PATT:FORMAT[:DATA] command. If 1 bit/byte is selected numeric values of
either binary 1 or binary 0 only are allowed. If 8 bits/byte is selected the left-most bit of
the first byte received forms the first bit of the pattern.
If “SOURce1:PATT:UPAT<n>:USE APATtern” is selected, then the first parameter
indicates which half pattern is to receive the data. If “SOURce1:PATT:UPAT<n>:USE
STRaight” is selected, either “A” or no first parameter are acceptable.
The length of the <block data> embedded in the header refers always to the length in bytes
irrespective of the current setting of the [:DATA] PACKed, <numeric value> command.
The character data values of MINimum, MAXimum and DEFault are not defined for the
data.
To be consistent with the behavior of the pattern editor, more bits may be sent than are
specified by the “LENGth” command, in which case the extra bits will be ignored and will
not appear as part of the pattern. If the pattern length is subsequently extended the extra
bits are filled with zeros. If fewer bits than specified by the “LENGth” command are sent,
then the bits in the store beyond the length sent remain unchanged.
The pattern stores 1 through 4 have an overall length of 8192 bits, and pattern store 0 and
5 through 12 have an overall length of 4,194,304 bits.
The following rules apply:
1. If ‘PATTern:FORMat PACKed,1’ is selected and data is sent with the
‘:UPATtern:DATA’ command, then:
block length = pattern length
2. If ‘PATTern:FORMat PACKed,1’ is selected and data is sent with the
‘:UPATtern:IDATa’ command, then:
block length = number of relevant bits in block
(start bit + block size) <= pattern length
block size >= 1
3. If ‘PATTern:FORMat PACKed, 8’ is selected and data is sent with the
‘:UPATtern:DATA’ command, then:
block size =((pattern length − 1) DIV 8) + 1
4. If ‘PATTern:FORMat PACKed,8’ is selected and data is sent with the
‘:UPATtern:IDATa’ command, then:
block size = ((number of relevant bits in block − 1) DIV 8) + 1
(start bit + block size) = ((pattern length − 1) DIV 8 + 1) * 8
block size >= 1