# Transfer CGGS data to/from oscilloscope

This script demonstrates Infiniium's `:WAVeform:CGRade:XML:READ?` and `:WAVeform:CGRade:XML:WRITe?` queries. The script first configures Infiniium so that a color-grade gray-scale waveform is displayed. Then, the internal format waveform data is:

1. Returned from Infiniium's ECH2_8.
2. Written into Infiniium's color-grade gray-scale memory 2.
3. Saved to a color-grade gray-scale file (.cgsi) in the script folder. .

## Example Script

(missing or bad snippet)