:DISK:WAVeform:FFORmat

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

Deprecated command. For FlexDCA revision A.05.70 and above, use the :DISK:WAVeform:SAVE:FTYPe command instead.

Command Syntax

:DISK:WAVeform:FFORmat {TEXT | INTernal}

Query Syntax

:DISK:WAVeform:FFORmat?

Description

Sets the format for saving waveform files with the :DISK:WAVeform:SAVE command.

INTernal
Internal-format waveform files (.wfmx) are XML files comprised of an ASCII header followed by the binary waveform data. The file includes vertical and horizontal scaling parameters of the waveform. Therefore, when you load the waveform into a waveform memory, you can still perform automatic measurements and use markers on that waveform. The internal format is binary, so you can not directly display the file contents in a word processing or spreadsheet program. However, you can convert an internal format file to a text file (.txt) for use in a spreadsheet or word processing program by loading the file into waveform memory (:WMEMory:LOAD) and then re-saving the waveform in TEXT format.
TEXT
Selects a text waveform file format. In this format, the data is listed as ASCII text rather than binary. The text file can be either Y-value format or XY-value format as selected by the :DISK:WAVeform:SAVE:FLAYout command.

Example Internal-Format File

<?xml version="1.0" encoding="utf-8"?>
<DcaFile>
  <Header>
    <FileType>WaveformInternal</FileType>
    <Revision>1</Revision>
    <Instrument>N1010A</Instrument>
    <SwVersion>A.01.60</SwVersion>
    <SerialNumber>sn XXXXXX</SerialNumber>
    <Date>09/07/2011 08:53:55</Date>
  </Header>
  <Points>2048</Points>
  <XOrg>0</XOrg>
  <XInc>9.765625E-14</XInc>
  <Resolution>1.52587890625E-05</Resolution>
  <Bandwidth>10000000000</Bandwidth>
  <YMax>0.6</YMax>
  <YMin>-0.6</YMin>
  <WaveformStatus>None</WaveformStatus>
  <Status />
  <XUnits>Second</XUnits>
  <YUnits>Volt</YUnits>
  <XDisplayRange>2E-10</XDisplayRange>
  <XDisplayStart>0</XDisplayStart>
  <YDisplayRange>1</YDisplayRange>
  <YDisplayStart>-0.5</YDisplayStart>
  <Data Lengths="2048, 1">X and Y binary data for 2048 data points</Data>
</DcaFile>

Example Command Sequence

:DISK:WAVeform:SAVE:SOURce CHAN1A    //  Define waveform to save
:DISK:WAVeform:FFORmat INTernal    //  Save as .wfmx
:DISK:WAVeform:FNAMe "D:\User Files\Waveforms\\mypattern_wfmx.wfmx"
:DISK:WAVeform:SAVE
*OPC?
  //  Your code to synchronize execution timing.