:WAVeform:XML:WRITe?

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

Query Syntax

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

Query Response

{1 | 0}

Description

Writes waveform data that has been read from FlexDCA using the :WAVeform:XML:READ? query into one of FlexDCA's eight waveform memories. This data is in the internal waveform format. This is the same data format used when saving waveform data to FlexDCA's file system (.wfmx) using the :DISK:WAVeform:SAVE and :DISK:WAVeform:SAVE:FTYPe WINTernal 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:XML:READ? and :WAVeform:XML:WRITe? queries. Waveform data is:

  1. Returned from FlexDCA's Channel 1A.
  2. Written into FlexDCA's waveform memory 2.
  3. Saved to a waveform file (.wfmx) in the script folder.