# :DISK:WAVeform:SAVE

:DISK Waveform Commands

- :DISK:WAVeform:FNAMe
- :DISK:WAVeform:FNAMe:AUPDate
- :DISK:WAVeform:FNAMe:USTandard
- :DISK:WAVeform:HEADer
- :DISK:WAVeform:LINTerpolate
- :DISK:WAVeform:REGion
- :DISK:WAVeform:SAVE
- :DISK:WAVeform:SAVE:FTYPe
- :DISK:WAVeform:SAVE:SOURce
- :DISK:WAVeform:SCOMpressed

## Command Syntax

    :DISK:WAVeform:SAVE

## Description

Saves a single-valued waveform to a file. Use the `:DISK:WAVeform:FNAMe` command to specify the file name and the `:DISK:WAVeform:SAVE:FTYPe` command to specify one of the following waveform file types:

- HDF5 format waveform (.h5)
- Y-value format waveform (.txt)
- XY-value format waveform (.txt)

Specify the source waveform that you want to save using the `:DISK:WAVeform:SAVE:SOURce` command. To increment the automatic file number index, use the `:DISK:WAVeform:FNAMe:AUPDate` command.

To load a waveform file into one of Infiniium's eight color grade memories, use the `:WMEMory:FILE:LOAD` and `:WMEMory:FILE:NAME` commands.

## Related Commands

- `:DISK:WAVeform:FNAMe` file name for saving a waveform.
- `:DISK:WAVeform:FNAMe:AUPDate` increments a file name's autonumber.
- `:DISK:WAVeform:FNAMe:USTandard` resets to standard file name.
- `:DISK:WAVeform:LINTerpolate` selects linear interpolation of Y values in file.
- `:DISK:WAVeform:SAVE:FTYPe` selects file format.
- `:DISK:WAVeform:REGion` specifies whether all data or just the on-screen data is to be saved.
- `:DISK:WAVeform:SAVE:SOURce` specifies source waveform.

## Example Command Sequence

    :DISK:WAVeform:SAVE:SOURce CHAN1_1
    :DISK:WAVeform:SAVE:FTYPe HDF5
    :DISK:WAVeform:FNAMe "%USER_DATA_DIR%\Waveforms\myfile"
    :DISK:WAVeform:SAVE;*OPC?