# :LTESt:MEASure:SWAVeform:CHANnel:FTYPe

:LTESt Measurement Waveform Commands

- :LTESt:MEASure:SWAVeform:CHANnel{N}:FNAMe
- :LTESt:MEASure:SWAVeform:CHANnel:FTYPe
- :LTESt:MEASure:SWAVeform:CHANnel{N}:STATe
- :LTESt:MEASure:SWAVeform:CHANnel{N}:WMEMory
- :LTESt:MEASure:SWAVeform:CMODe{N}:FNAMe
- :LTESt:MEASure:SWAVeform:CMODe:FTYPe
- :LTESt:MEASure:SWAVeform:CMODe{N}:STATe
- :LTESt:MEASure:SWAVeform:CMODe{N}:WMEMory
- :LTESt:MEASure:SWAVeform:DIFF{N}:FNAMe
- :LTESt:MEASure:SWAVeform:DIFF:FTYPe
- :LTESt:MEASure:SWAVeform:DIFF{N}:STATe
- :LTESt:MEASure:SWAVeform:DIFF{N}:WMEMory
- :LTESt:MEASure:SWAVeform:FUNCtion{N}:FNAMe
- :LTESt:MEASure:SWAVeform:FUNCtion{N}:STATe
- :LTESt:MEASure:SWAVeform:FUNCtion{N}:WMEMory
- :LTESt:MEASure:SWAVeform:RESet

## Command Syntax

    :LTESt:MEASure:SWAVeform:CHANnelN:FTYPe  {HDF5 | BIN | MAT | WYValues | WXYValues}

Where N identifies the channel as in CHANnel1_1, CHANnel1_2, …, CHANnel8_8.

## Query Syntax

    :LTESt:ACQuire:SWAVeform:CHANnelN:FTYPe?

## Query Response

    {HDF5 | BIN | MAT | WYV | WXYV}

## Description

Specifies the type of waveform file for saving a channel waveform for an measurement limit test. The proper filename extension is appended to the filename that is entered using the `:LTESt:MEASure:SWAVeform:CHANnel{N}:FNAMe` command. The availability of each parameter depends on the Infiniium conditions under which the waveform is displayed. This is shown in the following table.

The command has the following parameters:

`HDFS`
  Hierarchical Data Format version 5, commonly abbreviated HDF5, is a file format designed to store and organize large amount of numerical data. The HDF format and associated libraries are supported by the non-profit HDF Group who continue to develop and promote HDF5 technologies. The freely available HDF distribution includes the library, command-line utilities, test suite source, and APIs for several popular programming languages including C, C++, Java, Perl, Fortran, and F90. More information about the format specification as well as distribution and tutorial can be found at the HDF Group's website: www.hdfgroup.org.
  Waveform data stored in the .h5 format consists of a set of waveform attributes much like the header information used in the .bin and .csv formats, followed by the Y values of the waveform. The waveform can be reconstructed using the X and Y scaling values stored in the waveform attributes section.
`BIN`
  The Binary Data is a binary format that contains a header and data in the form of time and voltage pairs. The file header describes the waveform's horizontal (X) and vertical (Y) characteristics and contains other oscilloscope information.
  Because the data is in binary format, the size of the file is approximately 5 times smaller than the XY Values formats.
  If more than one source is on, you can save all displayed sources to a file. The only exception is functions that are using FFTs or versus operators.
  When the oscilloscope is in the Peak Detect acquisition mode, the minimum and maximum value waveform data points are saved to the file. The minimum value data points are saved first, followed by a blank line, and then the maximum value data points are saved.
`MAT`
  This is a MATLAB (.mat) format file saved in version 7.3 format, readable in MATLAB 2006b and newer.
  When you save waveform(s) to a .mat file, each waveform is saved to a separate MATLAB workspace variable. These variables are named according to the memory or channel they are saved from with any spaces replaced by underscores (for example: Memory_1).
  Waveform data variables have a structured format that contains information about the data (metadata or header information) and then the waveform data itself. Waveform data is encoded as single-precision floating-point values.
  In addition to the waveform data variable(s), one Frame variable per file is also saved. The Frame variable contains general information about the oscilloscope.
WYValues
  Y-value waveform files are ASCII files (.txt) comprised of a header followed by amplitude values for each data point. The ASCII amplitude values are in volts or Watts and are separated by a carriage return and line feed. This format is convenient for transferring data to other software applications, as you can import this file into many spreadsheet or word processing programs. The following table show under which settings this file type is available for selection.
WXYValues
  XY-value waveform files are ASCII files (.txt) comprised of a header followed by voltage and time values for each data point. The ASCII amplitude values are in volts or Watts while the X-axis values are in time. Each value is separated by a carriage return and line feed. Like the Y-value format, this format can be imported into many spreadsheet or word processing programs.

Use the `:LTESt:MEASure:SWAVeform:CHANnel{N}:STATe` command to enable and disable waveform reporting for the channel.