save
¶
The save commands module.
These commands are used in the following models: DPO5K, DPO5KB, DPO70KC, DPO70KD, DPO70KDX, DPO70KSX, DPO7K, DPO7KC, DSA70KC, DSA70KD, MSO5K, MSO5KB, MSO70KC, MSO70KDX
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- SAVe:EVENTtable:BUS<x> <string>
- SAVe:MARKS <string>
- SAVe:MASK <QString>
- SAVe:SETUp {<file path>|<NR1>}
- SAVe:WAVEform [<wfm>,REF<x>]| [<wfm>,<QString>] | [ALL,[QString]]| [DIGITALALL,<QString>]
- SAVe:WAVEform:DATa:STARt {<NR1>}
- SAVe:WAVEform:DATa:STOP {<NR1>}
- SAVe:WAVEform:FILEFormat {INTERNal|MATHCad|MATLab|SPREADSHEETCsv|SPREADSHEETTxt|TIMEStamp|AUTO}
- SAVe:WAVEform:FILEFormat?
- SAVe:WAVEform:FORCESAMEFilesize {ON|OFF|<NR1>}
- SAVe:WAVEform:FORCESAMEFilesize?
Save
¶
Bases: SCPICmdRead
The SAVe command tree.
Usage
- Using the
.query()method will send theSAVe?query. - Using the
.verify(value)method will send theSAVe?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.eventtable: TheSAVe:EVENTtablecommand tree..marks: TheSAVe:MARKScommand..mask: TheSAVe:MASKcommand..setup: TheSAVe:SETUpcommand..waveform: TheSAVe:WAVEformcommand.
eventtable
property
¶
eventtable: SaveEventtable
Return the SAVe:EVENTtable command tree.
Usage
- Using the
.query()method will send theSAVe:EVENTtable?query. - Using the
.verify(value)method will send theSAVe:EVENTtable?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.bus: TheSAVe:EVENTtable:BUS<x>command.
marks
property
¶
marks: SaveMarks
Return the SAVe:MARKS command.
Description
- This command saves the user search marks in CSV format, to the file that you specify
by
.
Usage
- Using the
.write(value)method will send theSAVe:MARKS valuecommand.
SCPI Syntax
- SAVe:MARKS <string>
mask
property
¶
mask: SaveMask
Return the SAVe:MASK command.
Description
- This command saves the current mask definition to the file specified with a quoted
string, into the current working directory. You can recall the mask from the file by
using the command
RECALL:MASK Aseries of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theSAVe:MASK valuecommand.
SCPI Syntax
- SAVe:MASK <QString>
Info
QStringis a quoted string that is the name of the mask definition being saved to the current working directory.
setup
property
¶
setup: SaveSetup
Return the SAVe:SETUp command.
Description
- Stores the state of the oscilloscope to a specified memory location. You can later use
the
*RCLcommand to restore the oscilloscope to this saved state.
Usage
- Using the
.write(value)method will send theSAVe:SETUp valuecommand.
SCPI Syntax
- SAVe:SETUp {<file path>|<NR1>}
Info
<file path>is the target location for storing the setup file.is a quoted string that defines the file name and path. Input the file path using the form <drive>:<dir>/. and one or s are optional. If you do not specify them, the oscilloscope will store the file in the current working directory. stands for a filename. (Use of wildcard characters in filenames is not supported.) Filename extensions are not required but are highly recommended. For setups, use the extension ‘.SET’. <NR1>specifies a location for saving the current front-panel setup. The front-panel setup value ranges from 1 to 10. Using an out-of-range value causes an execution error. Any settings that have been stored previously at this location will be overwritten.
waveform
property
¶
waveform: SaveWaveform
Return the SAVe:WAVEform command.
Description
- This command (no query form) saves a waveform to one of four reference memory locations or a file.
Usage
- Using the
.write(value)method will send theSAVe:WAVEform valuecommand.
SCPI Syntax
- SAVe:WAVEform [<wfm>,REF<x>]| [<wfm>,<QString>] | [ALL,[QString]]| [DIGITALALL,<QString>]
Info
<wfm>,REF<x>saves the specified waveform to the specified reference memory location.<wfm>,<QString>saves the specified waveform to the file specified.ALL,[QString>]saves all displayed waveforms, excluding digital waveforms, to individual files based on theSAVE:WAVEFORM:FILEFORMATsetting.DIGITALALL,<QString>saves all digital waveforms to a single file specified by the quoted string argument and based on theSAVE:WAVEFORM:FILEFORMATsetting.
Sub-properties
.data: TheSAVe:WAVEform:DATacommand tree..fileformat: TheSAVe:WAVEform:FILEFormatcommand..forcesamefilesize: TheSAVe:WAVEform:FORCESAMEFilesizecommand.
SaveEventtable
¶
Bases: SCPICmdRead
The SAVe:EVENTtable command tree.
Usage
- Using the
.query()method will send theSAVe:EVENTtable?query. - Using the
.verify(value)method will send theSAVe:EVENTtable?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.bus: TheSAVe:EVENTtable:BUS<x>command.
bus
property
¶
bus: dict[int, SaveEventtableBusItem]
Return the SAVe:EVENTtable:BUS<x> command.
Description
- Saves the event table contents of the specified bus in CSV format, to the file that
you specify by
.
Usage
- Using the
.write(value)method will send theSAVe:EVENTtable:BUS<x> valuecommand.
SCPI Syntax
- SAVe:EVENTtable:BUS<x> <string>
SaveEventtableBusItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdWrite
The SAVe:EVENTtable:BUS<x> command.
Description
- Saves the event table contents of the specified bus in CSV format, to the file that you
specify by
.
Usage
- Using the
.write(value)method will send theSAVe:EVENTtable:BUS<x> valuecommand.
SCPI Syntax
- SAVe:EVENTtable:BUS<x> <string>
SaveMarks
¶
Bases: SCPICmdWrite
The SAVe:MARKS command.
Description
- This command saves the user search marks in CSV format, to the file that you specify by
.
Usage
- Using the
.write(value)method will send theSAVe:MARKS valuecommand.
SCPI Syntax
- SAVe:MARKS <string>
SaveMask
¶
Bases: SCPICmdWrite
The SAVe:MASK command.
Description
- This command saves the current mask definition to the file specified with a quoted string,
into the current working directory. You can recall the mask from the file by using the
command
RECALL:MASK Aseries of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theSAVe:MASK valuecommand.
SCPI Syntax
- SAVe:MASK <QString>
Info
QStringis a quoted string that is the name of the mask definition being saved to the current working directory.
SaveSetup
¶
Bases: SCPICmdWrite
The SAVe:SETUp command.
Description
- Stores the state of the oscilloscope to a specified memory location. You can later use the
*RCLcommand to restore the oscilloscope to this saved state.
Usage
- Using the
.write(value)method will send theSAVe:SETUp valuecommand.
SCPI Syntax
- SAVe:SETUp {<file path>|<NR1>}
Info
<file path>is the target location for storing the setup file.is a quoted string that defines the file name and path. Input the file path using the form <drive>:<dir>/. and one or s are optional. If you do not specify them, the oscilloscope will store the file in the current working directory. stands for a filename. (Use of wildcard characters in filenames is not supported.) Filename extensions are not required but are highly recommended. For setups, use the extension ‘.SET’. <NR1>specifies a location for saving the current front-panel setup. The front-panel setup value ranges from 1 to 10. Using an out-of-range value causes an execution error. Any settings that have been stored previously at this location will be overwritten.
SaveWaveform
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:WAVEform command.
Description
- This command (no query form) saves a waveform to one of four reference memory locations or a file.
Usage
- Using the
.write(value)method will send theSAVe:WAVEform valuecommand.
SCPI Syntax
- SAVe:WAVEform [<wfm>,REF<x>]| [<wfm>,<QString>] | [ALL,[QString]]| [DIGITALALL,<QString>]
Info
<wfm>,REF<x>saves the specified waveform to the specified reference memory location.<wfm>,<QString>saves the specified waveform to the file specified.ALL,[QString>]saves all displayed waveforms, excluding digital waveforms, to individual files based on theSAVE:WAVEFORM:FILEFORMATsetting.DIGITALALL,<QString>saves all digital waveforms to a single file specified by the quoted string argument and based on theSAVE:WAVEFORM:FILEFORMATsetting.
Properties
.data: TheSAVe:WAVEform:DATacommand tree..fileformat: TheSAVe:WAVEform:FILEFormatcommand..forcesamefilesize: TheSAVe:WAVEform:FORCESAMEFilesizecommand.
data
property
¶
data: SaveWaveformData
Return the SAVe:WAVEform:DATa command tree.
Usage
- Using the
.query()method will send theSAVe:WAVEform:DATa?query. - Using the
.verify(value)method will send theSAVe:WAVEform:DATa?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.start: TheSAVe:WAVEform:DATa:STARtcommand..stop: TheSAVe:WAVEform:DATa:STOPcommand.
fileformat
property
¶
fileformat: SaveWaveformFileformat
Return the SAVe:WAVEform:FILEFormat command.
Description
- This command specifies or returns the file format for saved waveforms. Waveform header
and timing information is included in the resulting file of non-internal formats. The
instrument saves DPO waveforms as a 1000 x 502 matrix, with the first row
corresponding to the most recently acquired data. The values specified by
SAVE:WAVEFORM:DATA:STARTandSAVE:WAVEFORM:DATA:STOPdetermine the range of waveform data to output. In the event thatSAVe:WAVEform:DATa:STOPvalue is greater than the current record length, the current record length determines the last output value. This command is equivalent to selecting Save As from the File menu, clicking the Waveform button, and selecting the desired waveform file format.
Usage
- Using the
.query()method will send theSAVe:WAVEform:FILEFormat?query. - Using the
.verify(value)method will send theSAVe:WAVEform:FILEFormat?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:FILEFormat valuecommand.
SCPI Syntax
- SAVe:WAVEform:FILEFormat {INTERNal|MATHCad|MATLab|SPREADSHEETCsv|SPREADSHEETTxt|TIMEStamp|AUTO}
- SAVe:WAVEform:FILEFormat?
Info
INTERNalspecifies that waveforms are saved in an internal format, using a .wfm file name extension. These files can be recalled as reference waveforms. When this argument is specified, the settings specified via theSAVe:WAVEform:DATa:STARtandSAVe:WAVEform:DATa:STOPcommands have no meaning as the entire waveform is saved.MATHCadspecifies that waveforms are saved in MathCad format, using a .dat file name extension. When saving in this format, waveform values are delimited with new lines. MathCad format enables easy import of waveform data into MathCad or MATLAB. For FastAcq waveforms, data is imported as a matrix. For these formats, waveform header and timing information is saved in a separate header file. MathCad format header files use a _hdr.dat extension.MATLabspecifies that waveforms are saved in Matlab format, using a .dat file name extension. When saving in this format, waveform values are delimited with new lines. MATLAB format enables easy import of waveform data into MathCad or MATLAB. For FastAcq waveforms, data is imported as a matrix. For these formats, waveform header and timing information is saved in a separate header file. MATLAB format header files use a _hdr.dat extension.SPREADSHEETCsvspecifies that waveform data is saved in a format that contains comma delimited values. These waveform data files are named using the .csv file name extension. Saving waveforms in CSV format enables spreadsheet programs to import the data.SPREADSHEETTxtspecifies that waveform data is saved in a format that contains tab delimited values. These waveform data files are named using the .txt file name extension. Saving waveforms in this format enables spreadsheet programs to import the data.TIMEStampspecifies that timestamp data is saved in a format that contains comma delimited values. These data files are named using the .txt file name extension. Saving waveforms in this format enables spreadsheet programs to import the data.AUTOspecifies that the file format should be taken from the file name extension. Supported extensions include \.wfm, \.csv, \.txt, \.h5). If an extension is read that is not supported, no file will be written out. If no extension is given in the filename, \*.csv will be written out. Auto format always uses the entire waveform record and does not utilizeSAVe:WAVEform:DATa:STARtor STOP or any other limitations on output data.
forcesamefilesize
property
¶
forcesamefilesize: SaveWaveformForcesamefilesize
Return the SAVe:WAVEform:FORCESAMEFilesize command.
Description
- This command sets or queries the save waveform force same file size.
Usage
- Using the
.query()method will send theSAVe:WAVEform:FORCESAMEFilesize?query. - Using the
.verify(value)method will send theSAVe:WAVEform:FORCESAMEFilesize?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:FORCESAMEFilesize valuecommand.
SCPI Syntax
- SAVe:WAVEform:FORCESAMEFilesize {ON|OFF|<NR1>}
- SAVe:WAVEform:FORCESAMEFilesize?
Info
<NR1>= 0 disables the function; any other value enables it.OFFdisables the function.ONenables the function.
SaveWaveformData
¶
Bases: SCPICmdRead
The SAVe:WAVEform:DATa command tree.
Usage
- Using the
.query()method will send theSAVe:WAVEform:DATa?query. - Using the
.verify(value)method will send theSAVe:WAVEform:DATa?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.start: TheSAVe:WAVEform:DATa:STARtcommand..stop: TheSAVe:WAVEform:DATa:STOPcommand.
start
property
¶
start: SaveWaveformDataStart
Return the SAVe:WAVEform:DATa:STARt command.
Description
- Sets or queries the save waveform starting waveform data sample.
Usage
- Using the
.write(value)method will send theSAVe:WAVEform:DATa:STARt valuecommand.
SCPI Syntax
- SAVe:WAVEform:DATa:STARt {<NR1>}
Info
<NR1>specifies the starting waveform sample used by theSAVe:WAVEformcommand. This works for Spreadsheet CSV, Spreadsheet TXT, Mathcad, and Matlab file formats.
stop
property
¶
stop: SaveWaveformDataStop
Return the SAVe:WAVEform:DATa:STOP command.
Description
- Sets or queries the save waveform ending waveform data sample.
Usage
- Using the
.write(value)method will send theSAVe:WAVEform:DATa:STOP valuecommand.
SCPI Syntax
- SAVe:WAVEform:DATa:STOP {<NR1>}
Info
<NR1>specifies the ending waveform sample used by theSAVe:WAVEformcommand. This works for Spreadsheet CSV, Spreadsheet TXT, Mathcad, and Matlab file formats.
SaveWaveformDataStart
¶
Bases: SCPICmdWrite
The SAVe:WAVEform:DATa:STARt command.
Description
- Sets or queries the save waveform starting waveform data sample.
Usage
- Using the
.write(value)method will send theSAVe:WAVEform:DATa:STARt valuecommand.
SCPI Syntax
- SAVe:WAVEform:DATa:STARt {<NR1>}
Info
<NR1>specifies the starting waveform sample used by theSAVe:WAVEformcommand. This works for Spreadsheet CSV, Spreadsheet TXT, Mathcad, and Matlab file formats.
SaveWaveformDataStop
¶
Bases: SCPICmdWrite
The SAVe:WAVEform:DATa:STOP command.
Description
- Sets or queries the save waveform ending waveform data sample.
Usage
- Using the
.write(value)method will send theSAVe:WAVEform:DATa:STOP valuecommand.
SCPI Syntax
- SAVe:WAVEform:DATa:STOP {<NR1>}
Info
<NR1>specifies the ending waveform sample used by theSAVe:WAVEformcommand. This works for Spreadsheet CSV, Spreadsheet TXT, Mathcad, and Matlab file formats.
SaveWaveformFileformat
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:WAVEform:FILEFormat command.
Description
- This command specifies or returns the file format for saved waveforms. Waveform header and
timing information is included in the resulting file of non-internal formats. The
instrument saves DPO waveforms as a 1000 x 502 matrix, with the first row corresponding to
the most recently acquired data. The values specified by
SAVE:WAVEFORM:DATA:STARTandSAVE:WAVEFORM:DATA:STOPdetermine the range of waveform data to output. In the event thatSAVe:WAVEform:DATa:STOPvalue is greater than the current record length, the current record length determines the last output value. This command is equivalent to selecting Save As from the File menu, clicking the Waveform button, and selecting the desired waveform file format.
Usage
- Using the
.query()method will send theSAVe:WAVEform:FILEFormat?query. - Using the
.verify(value)method will send theSAVe:WAVEform:FILEFormat?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:FILEFormat valuecommand.
SCPI Syntax
- SAVe:WAVEform:FILEFormat {INTERNal|MATHCad|MATLab|SPREADSHEETCsv|SPREADSHEETTxt|TIMEStamp|AUTO}
- SAVe:WAVEform:FILEFormat?
Info
INTERNalspecifies that waveforms are saved in an internal format, using a .wfm file name extension. These files can be recalled as reference waveforms. When this argument is specified, the settings specified via theSAVe:WAVEform:DATa:STARtandSAVe:WAVEform:DATa:STOPcommands have no meaning as the entire waveform is saved.MATHCadspecifies that waveforms are saved in MathCad format, using a .dat file name extension. When saving in this format, waveform values are delimited with new lines. MathCad format enables easy import of waveform data into MathCad or MATLAB. For FastAcq waveforms, data is imported as a matrix. For these formats, waveform header and timing information is saved in a separate header file. MathCad format header files use a _hdr.dat extension.MATLabspecifies that waveforms are saved in Matlab format, using a .dat file name extension. When saving in this format, waveform values are delimited with new lines. MATLAB format enables easy import of waveform data into MathCad or MATLAB. For FastAcq waveforms, data is imported as a matrix. For these formats, waveform header and timing information is saved in a separate header file. MATLAB format header files use a _hdr.dat extension.SPREADSHEETCsvspecifies that waveform data is saved in a format that contains comma delimited values. These waveform data files are named using the .csv file name extension. Saving waveforms in CSV format enables spreadsheet programs to import the data.SPREADSHEETTxtspecifies that waveform data is saved in a format that contains tab delimited values. These waveform data files are named using the .txt file name extension. Saving waveforms in this format enables spreadsheet programs to import the data.TIMEStampspecifies that timestamp data is saved in a format that contains comma delimited values. These data files are named using the .txt file name extension. Saving waveforms in this format enables spreadsheet programs to import the data.AUTOspecifies that the file format should be taken from the file name extension. Supported extensions include \.wfm, \.csv, \.txt, \.h5). If an extension is read that is not supported, no file will be written out. If no extension is given in the filename, \*.csv will be written out. Auto format always uses the entire waveform record and does not utilizeSAVe:WAVEform:DATa:STARtor STOP or any other limitations on output data.
SaveWaveformForcesamefilesize
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:WAVEform:FORCESAMEFilesize command.
Description
- This command sets or queries the save waveform force same file size.
Usage
- Using the
.query()method will send theSAVe:WAVEform:FORCESAMEFilesize?query. - Using the
.verify(value)method will send theSAVe:WAVEform:FORCESAMEFilesize?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:FORCESAMEFilesize valuecommand.
SCPI Syntax
- SAVe:WAVEform:FORCESAMEFilesize {ON|OFF|<NR1>}
- SAVe:WAVEform:FORCESAMEFilesize?
Info
<NR1>= 0 disables the function; any other value enables it.OFFdisables the function.ONenables the function.