# :SOURce:PATTern

Simulated and AWG Commands

- :SOURce:AMPLitude
- :SOURce:CDIVide
- :SOURce:DIFFerential
- :SOURce:FILTer:CUToff
- :SOURce:FILTer:RTIMe
- :SOURce:FILTer:STATe
- :SOURce:FILTer:TYPE
- :SOURce:FNAMe
- :SOURce:FORMat
- :SOURce:FOTWo:JITTer
- :SOURce:FOTWo:STATe
- :SOURce:FUNCtion
- :SOURce:INVert
- :SOURce:JITTer:BLIMit
- :SOURce:JITTer:BLSTate
- :SOURce:JITTer:DRJ?
- :SOURce:JITTer:DRN?
- :SOURce:JITTer:RJ
- :SOURce:JITTer:STATe
- :SOURce:LEVel
- :SOURce:NOISe:RN
- :SOURce:NOISe:STATe
- :SOURce:OENable
- :SOURce:OFFSet
- :SOURce:PATTern
- :SOURce:PLENgth
- :SOURce:PWIDth
- :SOURce:SEED
- :SOURce:SKEW
- :SOURce:SRATe
- :SOURce:SSC:FREQuency
- :SOURce:SSC:PATTern
- :SOURce:SSC:PERCent
- :SOURce:SSC:PHASe
- :SOURce:SSC:PPM
- :SOURce:SSC:STATe
- :SOURce:SSC:STYPe
- :SOURce:WTYPe

## Command Syntax

    :SOURceN:PATTern <pattern>

<pattern> is a token selected from those listed below.

Where N identifies a simulated instrument's specific channel in the form "<connection1-8>_<ch1-8>" (for example, `SOURce4_2`). With connection 1, the connection number part (that is, "1_") is optional, and you can simply use the channel number "<ch1-8>" (for example, `SOURce3` which is the same as `SOURce1_3`).

## Query Syntax

    :SOURceN:PATTern?

## Description

On simulated instruments, this command selects the pattern for the source waveform.

The NRZ, PAM3, PAM4, or PAM6 format is selected using the `:SOURce:FORMat` command.

The DATA waveform type is selected using the `:SOURce:WTYPe` command.

The following patterns are available using these Tokens:

Valid Command Arguments
Selection | Format | Description
--- | --- | ---
NRZ | PAM3 | PAM4 | PAM6
`OZERo` | ♦ |  |  |  | Pattern of repeating 101010…
`PRBS7` |  | ♦ |  |  | 37−1 pseudo-random symbol sequence (2186 symbols).
`PRBS7` | ♦ |  | ♦ |  | 27−1 pseudo-random symbol sequence (127 symbols).
`EPRBs7` | ♦ |  | ♦ |  | 27 pseudo-random symbol sequence (128 symbols).
`PRBS9` | ♦ |  | ♦ |  | 29−1 pseudo-random symbol sequence (511 symbols).
`EPRBs9` | ♦ |  | ♦ |  | 29 pseudo-random symbol sequence (512 symbols).
`PRBS11` | ♦ |  | ♦ |  | 211−1 pseudo-random symbol sequence (2,047 symbols).
`EPRBs11` | ♦ |  | ♦ |  | 211 pseudo-random symbol sequence (2,048 symbols).
`PRBS13` | ♦ |  | ♦ |  | 213−1 pseudo-random symbol sequence (8,191 symbols).
`EPRBs13` | ♦ |  | ♦ |  | 213 pseudo-random symbol sequence (8,192 symbols).
`PRBS15` | ♦ |  | ♦ |  | 215−1 pseudo-random symbol sequence (32,767 symbols).
`EPRBs15` | ♦ |  | ♦ |  | 215 pseudo-random symbol sequence (32,768 symbols).
`LPAM4` | ♦ |  | ♦ |  | A PAM4 linearity (160 symbols).
`LPAM6` |  |  |  | ♦ | A PAM6 linearity (224 symbols).
`JPA` | ♦ |  |  |  | For NRZ format: JP01A. A signal with repeated sequence of two symbols that transition from level 0 to level 1.
`JPB` | ♦ |  |  |  | For NRZ format: JP01B. A signal with 15 pairs of symbols that transition from level 0 to level 1 followed by 16 pairs of symbols that transition from level 1 to level 0 for a total of 62 symbols.
`JPC` | ♦ |  |  |  | For NRZ format: JP01C. A signal with seven sets of the four symbols 0011 followed by three 0 symbols and then seven sets of the four symbols 1100 followed by three 1 symbols for a total of 62 symbols.
`JPA` |  | ♦ |  |  | For PAM3 format: JP02A. A signal with repeated sequence of two symbols that transition from level 0 to level 2.
`JPB` |  | ♦ |  |  | For PAM3 format: JP02B. A signal with 15 pairs of symbols that transition from level 0 to level 2 followed by 16 pairs of symbols that transition from level 2 to level 0 for a total of 62 symbols.
`JPC` |  | ♦ |  |  | For PAM3 format: JP02C. A signal with seven sets of the four symbols 0022 followed by three 0 symbols and then seven sets of the four symbols 2200 followed by three 2 symbols for a total of 62 symbols.
`JPA` |  |  | ♦ |  | For PAM4 format: JP03A. A signal with repeated sequence of two symbols that transition from level 0 to level 3.
`JPB` |  |  | ♦ |  | For PAM4 format: JP03B. A signal with 15 pairs of symbols that transition from level 0 to level 3 followed by 16 pairs of symbols that transition from level 3 to level 0 for a total of 62 symbols.
`JPC` |  |  | ♦ |  | For PAM4 format: JP03C. A signal with seven sets of the four symbols 0033 followed by three 0 symbols and then seven sets of the four symbols 3300 followed by three 3 symbols for a total of 62 symbols.
`JPA` |  |  |  | ♦ | For PAM6 format: JP05A. A signal with repeated sequence of two symbols that transition from level 0 to level 5.
`JPB` |  |  |  | ♦ | For PAM6 format: JP05B. A signal with 15 pairs of symbols that transition from level 0 to level 5 followed by 16 pairs of symbols that transition from level 5 to level 0 for a total of 62 symbols.
`JPC` |  |  |  | ♦ | For PAM6 format: JP05C. A signal with seven sets of the four symbols 0055 followed by three 0 symbols and then seven sets of the four symbols 5500 followed by three 5 symbols for a total of 62 symbols.
`K28P5` | ♦ |  |  |  | K28.5 (20 symbols)
`PRBQ9` |  |  | ♦ |  | PRBS9Q (511 symbols).
`PRBQ13` |  |  | ♦ |  | PRBS13Q (8,191 symbols).
`PCIE` |  |  | ♦ |  | PCIe (8,768 symbols).
`SSPR` | ♦ |  |  |  | SSPR (32,762 symbols).
`QSSPr` |  |  | ♦ |  | SSPRQ (65,535 symbols).
`PRANdom` | ♦ | ♦ | ♦ | ♦ | A pseudo-random symbol pattern whose length is specified by the Pattern Length field (2 to 65,536 symbols) and whose initial value is indirectly specified by the Seed field.