# :CGMemory:PERSistence

:CGMemory General Commands

- :CGMemory:CLEar
- :CGMemory:COLor
- :CGMemory:CWINdow
- :CGMemory:DISPlay
- :CGMemory:DSTatus?
- :CGMemory:DSTatus:REASon?
- :CGMemory:PERSistence
- :CGMemory:SIGNal:TYPE
- :CGMemory:STATus?
- :CGMemory:UNAMe
- :CGMemory:UNAMe:UFName

## Command Syntax

    :CGMemoryN:PERSistence {CGRade | GSCale}

Where N identifies one of eight {1:8} color grade memories. For example, the color grade memory 2 would be identified as :CGMemory2.

## Query Syntax

    :CGMemoryN:PERSistence?

## Description

Waveforms that can be stored into a color grade/gray scale memory have infinite persistence. These are either:

- Real-time eye diagrams where unit intervals (UIs) about recovered clock edges from one or more waveform acquisitions are overlaid (folded).
- Waveforms using color grade or gray scale persistence where waveform data from multiple acquisitions are overlaid.

Overlaid data is saved in a database that records "pixel" hits (where pixels are small boxes of vertical range and time range) when captured data is located in a box.

Overlaid waveform databases are displayed so that pixels with a higher numbers of hits use more "intense" colors.

The choices for displaying color grade/gray scale memories are:

- `CGRade` — A range of colors are used to represent the number of pixel hits in the overlaid waveform database. To change the colors used to show color grade waveforms, use the `:DISPlay:CGSPectrum` command.

- `GSCale` — Different brightness levels of the waveform color or gray are used to represent the number of pixel hits in the overlaid waveform database. To change the colors used to show gray scale waveforms, use the `:DISPlay:GSSPectrum` command.