:WAVeform:EYE:XML:READ?

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

Query Syntax

:WAVeform:EYE:XML:READ? <source waveform>
<source waveform> Parameter
Source Waveform Parameter
Channel CHAN{1:8}{A|B|C|D}
Differential channel DIFF{1:8}{A|C}
Common mode channel CMOD{1:8}{A|C}
Function output FUNCtion{1:16}
Waveform memory WMEMory{1:8}
Color-grade gray-scale memory CGMemory{1:8}
Trace
(In TDR/TDT Mode, used for displaying T-domain parameters
and S-parameters.)
TRACe{128}

Description

Directly returns the database waveform values from color-grade gray-scale memory or from channels, differentials, common modes, functions, or traces. The returned data is in the internal color-grade gray-scale waveform 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 returned data is comprised of an ASCII XML header followed by binary waveform data. The waveform's vertical and horizontal scaling parameters are included. The advantage of using this query is that the returned waveform data is read directly by your program without first having to command FlexDCA to save the data to a file.

Once the data is returned, your program can save the data to a file or write the data into one of FlexDCA's eight color-grade gray-scale memories using the :WAVeform:EYE:XML:WRITe command.

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. The color-grade gray-scale 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.