:WAVeform:EYE:XML:WRITe?

Instrument:
DCA-X
DCA-M
Meas. mode:
Eye
Flex Apps:
FlexDCA
FlexRT

Query Syntax

:WAVeform:EYE:XML:WRITe? CGMemory{1:8}, <XML_data>

Query Response

{1 | 0}

Description

Writes color-grade gray-scale data that has been read from FlexDCA using the :WAVeform:EYE:XML:READ? query into one of FlexDCA's eight color-grade gray-scale memories. This data is in the internal database format. This is the same data format used when saving waveform data to FlexDCA's file system (.cgsx) using the :DISK:EYE:SAVE and :DISK:EYE:SAVE:FTYPe DATabase commands. The data consists of an ASCII XML header followed by binary waveform data. The waveform's vertical and horizontal scaling parameters are included. Be sure to include the comma to separate the waveform memory parameter from the <XML_data> parameter.

Requires FlexDCA revision A.05.80 and above.

Python Example

This script demonstrates FlexDCA's :WAVeform:EYE:XML:READ? and :WAVeform:EYE:XML:WRITe? queries. Waveform database is:

  1. Returned from FlexDCA's Channel 1A.
  2. Written into FlexDCA's color-grade gray-scale memory 2.
  3. Saved to a color-grade gray-scale file (.cgsx) in the script folder.