save
¶
The save commands module.
These commands are used in the following models: DPO2K, DPO2KB, MSO2K, MSO2KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- SAVe:ASSIgn:FOLder?
- SAVe:ASSIgn:TYPe {IMAGe|WAVEform|SETUp}
- SAVe:ASSIgn:TYPe?
- SAVe:EVENTtable:BUS<x> <file path>
- SAVe:IMAGe <file path>
- SAVe:IMAGe:FILEFormat {PNG|BMP|TIFf}
- SAVe:IMAGe:FILEFormat?
- SAVe:IMAGe:LAYout {LANdscape|PORTRait}
- SAVe:IMAGe:LAYout?
- SAVe:SETUp {<file path>|<NR1>}
- SAVe:WAVEform [<wfm>,{REF<x>}] | [<wfm>, <QString>] | [ALL, <QString>]
- SAVe:WAVEform:FILEFormat {INTERNal|SPREADSheet}
- SAVe:WAVEform:FILEFormat?
- SAVe:WAVEform:GATIng {NONe|CURSors|SCREEN}
- SAVe:WAVEform:GATIng?
- SAVe:WAVEform:SPREADSheet:RESOlution {FULL|REDUced}
- SAVe:WAVEform:SPREADSheet:RESOlution?
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
.assign: TheSAVe:ASSIgncommand tree..eventtable: TheSAVe:EVENTtablecommand tree..image: TheSAVe:IMAGecommand..setup: TheSAVe:SETUpcommand..waveform: TheSAVe:WAVEformcommand.
assign
property
¶
assign: SaveAssign
Return the SAVe:ASSIgn command tree.
Usage
- Using the
.query()method will send theSAVe:ASSIgn?query. - Using the
.verify(value)method will send theSAVe:ASSIgn?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.folder: TheSAVe:ASSIgn:FOLdercommand..type: TheSAVe:ASSIgn:TYPecommand.
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.
image
property
¶
image: SaveImage
Return the SAVe:IMAGe command.
Description
- Saves a capture of the screen image to the specified file. Supported image formats are
PNG, Windows Bitmap, and TIFF. The file format is specified by the
SAVE:IMAGE:FILEFORMATcommand. TheSAVE:IMAGE:INKSAVERcommand determines whether the data is saved in InkSaver mode.
Usage
- Using the
.write(value)method will send theSAVe:IMAGe valuecommand.
SCPI Syntax
- SAVe:IMAGe <file path>
Info
<file path>is a filename, including path, where the image will be saved. If you do not specify a directory, the oscilloscope will store the file in the current working directory. File name extensions are not required but are highly recommended.
Sub-properties
.fileformat: TheSAVe:IMAGe:FILEFormatcommand..layout: TheSAVe:IMAGe:LAYoutcommand.
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 saves a specified waveform or all displayed waveforms (excluding serial bus waveforms).
Usage
- Using the
.write(value)method will send theSAVe:WAVEform valuecommand.
SCPI Syntax
- SAVe:WAVEform [<wfm>,{REF<x>}] | [<wfm>, <QString>] | [ALL, <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 in the quoted string argument.ALL, <QString>saves all displayed waveforms, excluding serial bus waveforms, to a single CSV file specified by the quoted string argument when theSAVE:WAVEFORM:FILEFORMATis set to SPREADSHEET, or saves all displayed waveforms, excluding serial bus waveforms to individual ISF (internal save format) files with a file name prefix specified by the argument with an underscore (_) and the waveform ID (such as CH1, REF1, MATH) appended to the file name(s).
Sub-properties
.fileformat: TheSAVe:WAVEform:FILEFormatcommand..gating: TheSAVe:WAVEform:GATIngcommand..spreadsheet: TheSAVe:WAVEform:SPREADSheetcommand tree.
SaveAssign
¶
Bases: SCPICmdRead
The SAVe:ASSIgn command tree.
Usage
- Using the
.query()method will send theSAVe:ASSIgn?query. - Using the
.verify(value)method will send theSAVe:ASSIgn?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.folder: TheSAVe:ASSIgn:FOLdercommand..type: TheSAVe:ASSIgn:TYPecommand.
folder
property
¶
folder: SaveAssignFolder
Return the SAVe:ASSIgn:FOLder command.
Description
- Returns the file name that the next front-panel Save button operation will save the requested save type data to.
Usage
- Using the
.query()method will send theSAVe:ASSIgn:FOLder?query. - Using the
.verify(value)method will send theSAVe:ASSIgn:FOLder?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- SAVe:ASSIgn:FOLder?
type
property
¶
type: SaveAssignType
Return the SAVe:ASSIgn:TYPe command.
Description
- This command specifies the assignment of the data to be saved when the front-panel Save button is pressed.
Usage
- Using the
.query()method will send theSAVe:ASSIgn:TYPe?query. - Using the
.verify(value)method will send theSAVe:ASSIgn:TYPe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:ASSIgn:TYPe valuecommand.
SCPI Syntax
- SAVe:ASSIgn:TYPe {IMAGe|WAVEform|SETUp}
- SAVe:ASSIgn:TYPe?
Info
IMAGeassigns the Save button to save screen images.WAVEformassigns the Save button to save waveforms.SETUpassigns the Save button to save setups.
SaveAssignFolder
¶
Bases: SCPICmdRead
The SAVe:ASSIgn:FOLder command.
Description
- Returns the file name that the next front-panel Save button operation will save the requested save type data to.
Usage
- Using the
.query()method will send theSAVe:ASSIgn:FOLder?query. - Using the
.verify(value)method will send theSAVe:ASSIgn:FOLder?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- SAVe:ASSIgn:FOLder?
SaveAssignType
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:ASSIgn:TYPe command.
Description
- This command specifies the assignment of the data to be saved when the front-panel Save button is pressed.
Usage
- Using the
.query()method will send theSAVe:ASSIgn:TYPe?query. - Using the
.verify(value)method will send theSAVe:ASSIgn:TYPe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:ASSIgn:TYPe valuecommand.
SCPI Syntax
- SAVe:ASSIgn:TYPe {IMAGe|WAVEform|SETUp}
- SAVe:ASSIgn:TYPe?
Info
IMAGeassigns the Save button to save screen images.WAVEformassigns the Save button to save waveforms.SETUpassigns the Save button to save setups.
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 data from bus
to a specified file and location; where x is the bus number
Usage
- Using the
.write(value)method will send theSAVe:EVENTtable:BUS<x> valuecommand.
SCPI Syntax
- SAVe:EVENTtable:BUS<x> <file path>
Info
<file path>is a quoted string that defines the file name and path location where the event table will be stored.
SaveEventtableBusItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdWrite
The SAVe:EVENTtable:BUS<x> command.
Description
- Saves the data from bus
to a specified file and location; where x is the bus number
Usage
- Using the
.write(value)method will send theSAVe:EVENTtable:BUS<x> valuecommand.
SCPI Syntax
- SAVe:EVENTtable:BUS<x> <file path>
Info
<file path>is a quoted string that defines the file name and path location where the event table will be stored.
SaveImage
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:IMAGe command.
Description
- Saves a capture of the screen image to the specified file. Supported image formats are
PNG, Windows Bitmap, and TIFF. The file format is specified by the
SAVE:IMAGE:FILEFORMATcommand. TheSAVE:IMAGE:INKSAVERcommand determines whether the data is saved in InkSaver mode.
Usage
- Using the
.write(value)method will send theSAVe:IMAGe valuecommand.
SCPI Syntax
- SAVe:IMAGe <file path>
Info
<file path>is a filename, including path, where the image will be saved. If you do not specify a directory, the oscilloscope will store the file in the current working directory. File name extensions are not required but are highly recommended.
Properties
.fileformat: TheSAVe:IMAGe:FILEFormatcommand..layout: TheSAVe:IMAGe:LAYoutcommand.
fileformat
property
¶
fileformat: SaveImageFileformat
Return the SAVe:IMAGe:FILEFormat command.
Description
- This command specifies the file format to use for saving screen images.
Usage
- Using the
.query()method will send theSAVe:IMAGe:FILEFormat?query. - Using the
.verify(value)method will send theSAVe:IMAGe:FILEFormat?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:IMAGe:FILEFormat valuecommand.
SCPI Syntax
- SAVe:IMAGe:FILEFormat {PNG|BMP|TIFf}
- SAVe:IMAGe:FILEFormat?
Info
PNGsaves the file in Portable Network Graphics format.BMPsaves the file in Microsoft Windows bitmap format.TIFfsaves the file in Tagged Image File Format.
layout
property
¶
layout: SaveImageLayout
Return the SAVe:IMAGe:LAYout command.
Description
- This command specifies the layout to use for saved screen images.
Usage
- Using the
.query()method will send theSAVe:IMAGe:LAYout?query. - Using the
.verify(value)method will send theSAVe:IMAGe:LAYout?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:IMAGe:LAYout valuecommand.
SCPI Syntax
- SAVe:IMAGe:LAYout {LANdscape|PORTRait}
- SAVe:IMAGe:LAYout?
Info
LANdscapespecifies that screen images are saved in landscape format.PORTRaitspecifies that screen images are saved in portrait format.
SaveImageFileformat
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:IMAGe:FILEFormat command.
Description
- This command specifies the file format to use for saving screen images.
Usage
- Using the
.query()method will send theSAVe:IMAGe:FILEFormat?query. - Using the
.verify(value)method will send theSAVe:IMAGe:FILEFormat?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:IMAGe:FILEFormat valuecommand.
SCPI Syntax
- SAVe:IMAGe:FILEFormat {PNG|BMP|TIFf}
- SAVe:IMAGe:FILEFormat?
Info
PNGsaves the file in Portable Network Graphics format.BMPsaves the file in Microsoft Windows bitmap format.TIFfsaves the file in Tagged Image File Format.
SaveImageLayout
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:IMAGe:LAYout command.
Description
- This command specifies the layout to use for saved screen images.
Usage
- Using the
.query()method will send theSAVe:IMAGe:LAYout?query. - Using the
.verify(value)method will send theSAVe:IMAGe:LAYout?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:IMAGe:LAYout valuecommand.
SCPI Syntax
- SAVe:IMAGe:LAYout {LANdscape|PORTRait}
- SAVe:IMAGe:LAYout?
Info
LANdscapespecifies that screen images are saved in landscape format.PORTRaitspecifies that screen images are saved in portrait format.
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 saves a specified waveform or all displayed waveforms (excluding serial bus waveforms).
Usage
- Using the
.write(value)method will send theSAVe:WAVEform valuecommand.
SCPI Syntax
- SAVe:WAVEform [<wfm>,{REF<x>}] | [<wfm>, <QString>] | [ALL, <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 in the quoted string argument.ALL, <QString>saves all displayed waveforms, excluding serial bus waveforms, to a single CSV file specified by the quoted string argument when theSAVE:WAVEFORM:FILEFORMATis set to SPREADSHEET, or saves all displayed waveforms, excluding serial bus waveforms to individual ISF (internal save format) files with a file name prefix specified by the argument with an underscore (_) and the waveform ID (such as CH1, REF1, MATH) appended to the file name(s).
Properties
.fileformat: TheSAVe:WAVEform:FILEFormatcommand..gating: TheSAVe:WAVEform:GATIngcommand..spreadsheet: TheSAVe:WAVEform:SPREADSheetcommand tree.
fileformat
property
¶
fileformat: SaveWaveformFileformat
Return the SAVe:WAVEform:FILEFormat command.
Description
- This command specifies the file format to be used when saving waveforms - either an internal format, .ISF, or an external comma-delimited spreadsheet format, .CSV, that includes waveform header and timing information.
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|SPREADSheet}
- SAVe:WAVEform:FILEFormat?
Info
INTERNalspecifies to save waveforms using an internal format. The file name should be specified with .ISF filename extension. These files can be recalled as reference waveforms.SPREADSheetspecifies that waveform data is saved in a format that contains comma delimited values. These waveform data files should be named using the .CSV filename extension. Saving waveforms in .CSV format enables spreadsheet programs to import the data.
gating
property
¶
gating: SaveWaveformGating
Return the SAVe:WAVEform:GATIng command.
Description
- Specifies whether save waveform operations should save the entire waveform (NONe) or a specified portion of the waveform.
Usage
- Using the
.query()method will send theSAVe:WAVEform:GATIng?query. - Using the
.verify(value)method will send theSAVe:WAVEform:GATIng?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:GATIng valuecommand.
SCPI Syntax
- SAVe:WAVEform:GATIng {NONe|CURSors|SCREEN}
- SAVe:WAVEform:GATIng?
Info
CURSorsturns on cursors and the gates are the waveform record points at the cursor positions.NONesaves the entire waveform.SCREEN, if zoom is on, the gates are the start and end waveform record points of the zoom (upper) graticule, otherwise the gates are the start and end waveform record points of the main graticule.
spreadsheet
property
¶
spreadsheet: SaveWaveformSpreadsheet
Return the SAVe:WAVEform:SPREADSheet command tree.
Usage
- Using the
.query()method will send theSAVe:WAVEform:SPREADSheet?query. - Using the
.verify(value)method will send theSAVe:WAVEform:SPREADSheet?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.resolution: TheSAVe:WAVEform:SPREADSheet:RESOlutioncommand.
SaveWaveformFileformat
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:WAVEform:FILEFormat command.
Description
- This command specifies the file format to be used when saving waveforms - either an internal format, .ISF, or an external comma-delimited spreadsheet format, .CSV, that includes waveform header and timing information.
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|SPREADSheet}
- SAVe:WAVEform:FILEFormat?
Info
INTERNalspecifies to save waveforms using an internal format. The file name should be specified with .ISF filename extension. These files can be recalled as reference waveforms.SPREADSheetspecifies that waveform data is saved in a format that contains comma delimited values. These waveform data files should be named using the .CSV filename extension. Saving waveforms in .CSV format enables spreadsheet programs to import the data.
SaveWaveformGating
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:WAVEform:GATIng command.
Description
- Specifies whether save waveform operations should save the entire waveform (NONe) or a specified portion of the waveform.
Usage
- Using the
.query()method will send theSAVe:WAVEform:GATIng?query. - Using the
.verify(value)method will send theSAVe:WAVEform:GATIng?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:GATIng valuecommand.
SCPI Syntax
- SAVe:WAVEform:GATIng {NONe|CURSors|SCREEN}
- SAVe:WAVEform:GATIng?
Info
CURSorsturns on cursors and the gates are the waveform record points at the cursor positions.NONesaves the entire waveform.SCREEN, if zoom is on, the gates are the start and end waveform record points of the zoom (upper) graticule, otherwise the gates are the start and end waveform record points of the main graticule.
SaveWaveformSpreadsheet
¶
Bases: SCPICmdRead
The SAVe:WAVEform:SPREADSheet command tree.
Usage
- Using the
.query()method will send theSAVe:WAVEform:SPREADSheet?query. - Using the
.verify(value)method will send theSAVe:WAVEform:SPREADSheet?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.resolution: TheSAVe:WAVEform:SPREADSheet:RESOlutioncommand.
resolution
property
¶
resolution: SaveWaveformSpreadsheetResolution
Return the SAVe:WAVEform:SPREADSheet:RESOlution command.
Description
- Specifies whether to save the full (LRL) or reduced (thumb) resolution waveform to a CSV file.
Usage
- Using the
.query()method will send theSAVe:WAVEform:SPREADSheet:RESOlution?query. - Using the
.verify(value)method will send theSAVe:WAVEform:SPREADSheet:RESOlution?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:SPREADSheet:RESOlution valuecommand.
SCPI Syntax
- SAVe:WAVEform:SPREADSheet:RESOlution {FULL|REDUced}
- SAVe:WAVEform:SPREADSheet:RESOlution?
Info
FULLspecifies that full resolution waveform is saved to a CSV file.REDUcedspecifies that reduced resolution waveform is saved to a CSV file.
SaveWaveformSpreadsheetResolution
¶
Bases: SCPICmdWrite, SCPICmdRead
The SAVe:WAVEform:SPREADSheet:RESOlution command.
Description
- Specifies whether to save the full (LRL) or reduced (thumb) resolution waveform to a CSV file.
Usage
- Using the
.query()method will send theSAVe:WAVEform:SPREADSheet:RESOlution?query. - Using the
.verify(value)method will send theSAVe:WAVEform:SPREADSheet:RESOlution?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSAVe:WAVEform:SPREADSheet:RESOlution valuecommand.
SCPI Syntax
- SAVe:WAVEform:SPREADSheet:RESOlution {FULL|REDUced}
- SAVe:WAVEform:SPREADSheet:RESOlution?
Info
FULLspecifies that full resolution waveform is saved to a CSV file.REDUcedspecifies that reduced resolution waveform is saved to a CSV file.