# :WMEMory:PATTern:MODE

:WMEMory General Commands

- :WMEMory:CLEar
- :WMEMory:COLor
- :WMEMory:CWINdow
- :WMEMory:DISPlay
- :WMEMory:DSTatus?
- :WMEMory:DSTatus:REASon?
- :WMEMory:INTerpolate:FACTor
- :WMEMory:INTerpolate:METHod
- :WMEMory:INTerpolate:STATus?
- :WMEMory:INTerpolate:STATus:REASon?
- :WMEMory:PATTern:FILE:GCODe
- :WMEMory:PATTern:FILE:NAME
- :WMEMory:PATTern:FILE:RELoad
- :WMEMory:PATTern:INVert
- :WMEMory:PATTern:KPATtern
- :WMEMory:PATTern:MODE
- :WMEMory:SIGNal:TYPE
- :WMEMory:STATus?
- :WMEMory:TTIMebase
- :WMEMory:UNAMe
- :WMEMory:UNAMe:UFName

## Command Syntax

    :WMEMoryN:PATTern:MODE {ADETect | KPATtern | PFILe}

Where N identifies one of eight {1:8} possible waveform memories. For example, `:WMEMory4`.

## Query Syntax

    :WMEMoryN:PATTern:MODE?

## Description

For data measurements like BER/SER (Bit/Symbol Error Ratio) where the measurement must know the pattern of a data signal, this command selects how the pattern is determined:

- `ADETect` — (Auto Detect) This option tells the oscilloscope to automatically determine the pattern length and pattern by looking for at least two error-free copies of an identical repeating bit pattern in acquisition memory.

- `KPATtern` — (Known Pattern) This option lets you select the pattern from a list of known patterns (see `:WMEMory:PATTern:KPATtern`).

- `PFILe` — (Pattern File) This option lets you load a pattern file that tells the oscilloscope the pattern length and pattern to measure against.

  Use the `:WMEMory:PATTern:FILE:NAME` command to select the pattern file.