ref
¶
The ref 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
- REF<x>:DATE?
- REF<x>:HORizontal:DELay:TIMe <NR3>
- REF<x>:HORizontal:DELay:TIMe?
- REF<x>:HORizontal:SCAle <NR3>
- REF<x>:HORizontal:SCAle?
- REF<x>:LABel <Qstring>
- REF<x>:LABel?
- REF<x>:POSition <NR3>
- REF<x>:POSition?
- REF<x>:SCAle <NR3>
- REF<x>:SCAle?
- REF<x>:TIMe?
- REF<x>:VERTical:POSition <NR3>
- REF<x>:VERTical:POSition?
- REF<x>:VERTical:SCAle <NR3>
- REF<x>:VERTical:SCAle?
- REF<x>?
RefItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdRead
The REF<x> command.
Description
- This query returns data for the reference waveform specified by
.
Usage
- Using the
.query()method will send theREF<x>?query. - Using the
.verify(value)method will send theREF<x>?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- REF<x>?
Properties
.date: TheREF<x>:DATEcommand..horizontal: TheREF<x>:HORizontalcommand tree..label: TheREF<x>:LABelcommand..position: TheREF<x>:POSitioncommand..scale: TheREF<x>:SCAlecommand..time: TheREF<x>:TIMecommand..vertical: TheREF<x>:VERTicalcommand tree.
date
property
¶
date: RefItemDate
Return the REF<x>:DATE command.
Description
- Returns the date that reference waveform data for reference waveform
was copied into the internal reference memory.
Usage
- Using the
.query()method will send theREF<x>:DATE?query. - Using the
.verify(value)method will send theREF<x>:DATE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- REF<x>:DATE?
horizontal
property
¶
horizontal: RefItemHorizontal
Return the REF<x>:HORizontal command tree.
Usage
- Using the
.query()method will send theREF<x>:HORizontal?query. - Using the
.verify(value)method will send theREF<x>:HORizontal?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.delay: TheREF<x>:HORizontal:DELaycommand tree..scale: TheREF<x>:HORizontal:SCAlecommand.
label
property
¶
label: RefItemLabel
Return the REF<x>:LABel command.
Description
- This command specifies the label for the reference waveform specified by
.
Usage
- Using the
.query()method will send theREF<x>:LABel?query. - Using the
.verify(value)method will send theREF<x>:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:LABel valuecommand.
SCPI Syntax
- REF<x>:LABel <Qstring>
- REF<x>:LABel?
Info
<Qstring>is an alphanumeric string of text, enclosed in quotes, that contains the label text for the reference channelwaveform. The text string is limited to 30 characters.
position
property
¶
position: RefItemPosition
Return the REF<x>:POSition command.
Description
- Sets or returns the vertical position for channel
, where x is the reference channel number.
Usage
- Using the
.query()method will send theREF<x>:POSition?query. - Using the
.verify(value)method will send theREF<x>:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:POSition valuecommand.
SCPI Syntax
- REF<x>:POSition <NR3>
- REF<x>:POSition?
Info
<NR3>is the vertical position in volts.
scale
property
¶
scale: RefItemScale
Return the REF<x>:SCAle command.
Description
- Sets or returns the vertical scale for the channel specified by
, where x is the reference channel number.
Usage
- Using the
.query()method will send theREF<x>:SCAle?query. - Using the
.verify(value)method will send theREF<x>:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:SCAle valuecommand.
SCPI Syntax
- REF<x>:SCAle <NR3>
- REF<x>:SCAle?
Info
NR3is the vertical scale in volts.
time
property
¶
time: RefItemTime
Return the REF<x>:TIMe command.
Description
- Returns the time that reference waveform data was copied into the internal reference
memory for reference waveform
.
Usage
- Using the
.query()method will send theREF<x>:TIMe?query. - Using the
.verify(value)method will send theREF<x>:TIMe?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- REF<x>:TIMe?
vertical
property
¶
vertical: RefItemVertical
Return the REF<x>:VERTical command tree.
Usage
- Using the
.query()method will send theREF<x>:VERTical?query. - Using the
.verify(value)method will send theREF<x>:VERTical?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.position: TheREF<x>:VERTical:POSitioncommand..scale: TheREF<x>:VERTical:SCAlecommand.
RefItemDate
¶
Bases: SCPICmdRead
The REF<x>:DATE command.
Description
- Returns the date that reference waveform data for reference waveform
was copied into the internal reference memory.
Usage
- Using the
.query()method will send theREF<x>:DATE?query. - Using the
.verify(value)method will send theREF<x>:DATE?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- REF<x>:DATE?
RefItemHorizontal
¶
Bases: SCPICmdRead
The REF<x>:HORizontal command tree.
Usage
- Using the
.query()method will send theREF<x>:HORizontal?query. - Using the
.verify(value)method will send theREF<x>:HORizontal?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.delay: TheREF<x>:HORizontal:DELaycommand tree..scale: TheREF<x>:HORizontal:SCAlecommand.
delay
property
¶
delay: RefItemHorizontalDelay
Return the REF<x>:HORizontal:DELay command tree.
Usage
- Using the
.query()method will send theREF<x>:HORizontal:DELay?query. - Using the
.verify(value)method will send theREF<x>:HORizontal:DELay?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.time: TheREF<x>:HORizontal:DELay:TIMecommand.
scale
property
¶
scale: RefItemHorizontalScale
Return the REF<x>:HORizontal:SCAle command.
Description
- This command specifies the horizontal scale for the reference waveform specified by
.
Usage
- Using the
.query()method will send theREF<x>:HORizontal:SCAle?query. - Using the
.verify(value)method will send theREF<x>:HORizontal:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:HORizontal:SCAle valuecommand.
SCPI Syntax
- REF<x>:HORizontal:SCAle <NR3>
- REF<x>:HORizontal:SCAle?
Info
<NR3>is a floating point number that specifies the horizontal scale in seconds.
RefItemHorizontalDelay
¶
Bases: SCPICmdRead
The REF<x>:HORizontal:DELay command tree.
Usage
- Using the
.query()method will send theREF<x>:HORizontal:DELay?query. - Using the
.verify(value)method will send theREF<x>:HORizontal:DELay?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.time: TheREF<x>:HORizontal:DELay:TIMecommand.
time
property
¶
Return the REF<x>:HORizontal:DELay:TIMe command.
Description
- This command specifies the horizontal delay time for reference waveform
. The delay time is expressed in seconds and is limited to ±5 times the reference horizontal scale.
Usage
- Using the
.query()method will send theREF<x>:HORizontal:DELay:TIMe?query. - Using the
.verify(value)method will send theREF<x>:HORizontal:DELay:TIMe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:HORizontal:DELay:TIMe valuecommand.
SCPI Syntax
- REF<x>:HORizontal:DELay:TIMe <NR3>
- REF<x>:HORizontal:DELay:TIMe?
Info
<NR3>is a floating point number that specifies the delay time, in seconds.
RefItemHorizontalDelayTime
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:HORizontal:DELay:TIMe command.
Description
- This command specifies the horizontal delay time for reference waveform
. The delay time is expressed in seconds and is limited to ±5 times the reference horizontal scale.
Usage
- Using the
.query()method will send theREF<x>:HORizontal:DELay:TIMe?query. - Using the
.verify(value)method will send theREF<x>:HORizontal:DELay:TIMe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:HORizontal:DELay:TIMe valuecommand.
SCPI Syntax
- REF<x>:HORizontal:DELay:TIMe <NR3>
- REF<x>:HORizontal:DELay:TIMe?
Info
<NR3>is a floating point number that specifies the delay time, in seconds.
RefItemHorizontalScale
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:HORizontal:SCAle command.
Description
- This command specifies the horizontal scale for the reference waveform specified by
.
Usage
- Using the
.query()method will send theREF<x>:HORizontal:SCAle?query. - Using the
.verify(value)method will send theREF<x>:HORizontal:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:HORizontal:SCAle valuecommand.
SCPI Syntax
- REF<x>:HORizontal:SCAle <NR3>
- REF<x>:HORizontal:SCAle?
Info
<NR3>is a floating point number that specifies the horizontal scale in seconds.
RefItemLabel
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:LABel command.
Description
- This command specifies the label for the reference waveform specified by
.
Usage
- Using the
.query()method will send theREF<x>:LABel?query. - Using the
.verify(value)method will send theREF<x>:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:LABel valuecommand.
SCPI Syntax
- REF<x>:LABel <Qstring>
- REF<x>:LABel?
Info
<Qstring>is an alphanumeric string of text, enclosed in quotes, that contains the label text for the reference channelwaveform. The text string is limited to 30 characters.
RefItemPosition
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:POSition command.
Description
- Sets or returns the vertical position for channel
, where x is the reference channel number.
Usage
- Using the
.query()method will send theREF<x>:POSition?query. - Using the
.verify(value)method will send theREF<x>:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:POSition valuecommand.
SCPI Syntax
- REF<x>:POSition <NR3>
- REF<x>:POSition?
Info
<NR3>is the vertical position in volts.
RefItemScale
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:SCAle command.
Description
- Sets or returns the vertical scale for the channel specified by
, where x is the reference channel number.
Usage
- Using the
.query()method will send theREF<x>:SCAle?query. - Using the
.verify(value)method will send theREF<x>:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:SCAle valuecommand.
SCPI Syntax
- REF<x>:SCAle <NR3>
- REF<x>:SCAle?
Info
NR3is the vertical scale in volts.
RefItemTime
¶
Bases: SCPICmdRead
The REF<x>:TIMe command.
Description
- Returns the time that reference waveform data was copied into the internal reference
memory for reference waveform
.
Usage
- Using the
.query()method will send theREF<x>:TIMe?query. - Using the
.verify(value)method will send theREF<x>:TIMe?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- REF<x>:TIMe?
RefItemVertical
¶
Bases: SCPICmdRead
The REF<x>:VERTical command tree.
Usage
- Using the
.query()method will send theREF<x>:VERTical?query. - Using the
.verify(value)method will send theREF<x>:VERTical?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.position: TheREF<x>:VERTical:POSitioncommand..scale: TheREF<x>:VERTical:SCAlecommand.
position
property
¶
position: RefItemVerticalPosition
Return the REF<x>:VERTical:POSition command.
Description
- This command specifies the vertical position of the reference waveform specified by
. Increasing the position value of a waveform causes the waveform to move up, and decreasing the position value causes the waveform to move down. Position adjusts only the display position of a waveform. The position value determines the vertical graticule coordinate at which signal values are displayed. For example, if the position for Reference 3 is set to 2.0, the signal represented by that reference will be displayed at 2.0 divisions above the center of the screen.
Usage
- Using the
.query()method will send theREF<x>:VERTical:POSition?query. - Using the
.verify(value)method will send theREF<x>:VERTical:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:VERTical:POSition valuecommand.
SCPI Syntax
- REF<x>:VERTical:POSition <NR3>
- REF<x>:VERTical:POSition?
Info
<NR3>is a floating point number that specifies the desired position, in divisions from the center horizontal graticule. The range is from -5.0 to 5.0 divisions.
scale
property
¶
scale: RefItemVerticalScale
Return the REF<x>:VERTical:SCAle command.
Description
- This command specifies the vertical scale for the reference waveform specified by
. This setting controls the display only. For a signal with constant amplitude, increasing the scale causes the waveform to be displayed smaller. Decreasing the scale causes the waveform to be displayed larger.
Usage
- Using the
.query()method will send theREF<x>:VERTical:SCAle?query. - Using the
.verify(value)method will send theREF<x>:VERTical:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:VERTical:SCAle valuecommand.
SCPI Syntax
- REF<x>:VERTical:SCAle <NR3>
- REF<x>:VERTical:SCAle?
Info
<NR3>is a floating point number that specifies the gain in user units-per-division.
RefItemVerticalPosition
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:VERTical:POSition command.
Description
- This command specifies the vertical position of the reference waveform specified by
. Increasing the position value of a waveform causes the waveform to move up, and decreasing the position value causes the waveform to move down. Position adjusts only the display position of a waveform. The position value determines the vertical graticule coordinate at which signal values are displayed. For example, if the position for Reference 3 is set to 2.0, the signal represented by that reference will be displayed at 2.0 divisions above the center of the screen.
Usage
- Using the
.query()method will send theREF<x>:VERTical:POSition?query. - Using the
.verify(value)method will send theREF<x>:VERTical:POSition?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:VERTical:POSition valuecommand.
SCPI Syntax
- REF<x>:VERTical:POSition <NR3>
- REF<x>:VERTical:POSition?
Info
<NR3>is a floating point number that specifies the desired position, in divisions from the center horizontal graticule. The range is from -5.0 to 5.0 divisions.
RefItemVerticalScale
¶
Bases: SCPICmdWrite, SCPICmdRead
The REF<x>:VERTical:SCAle command.
Description
- This command specifies the vertical scale for the reference waveform specified by
. This setting controls the display only. For a signal with constant amplitude, increasing the scale causes the waveform to be displayed smaller. Decreasing the scale causes the waveform to be displayed larger.
Usage
- Using the
.query()method will send theREF<x>:VERTical:SCAle?query. - Using the
.verify(value)method will send theREF<x>:VERTical:SCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theREF<x>:VERTical:SCAle valuecommand.
SCPI Syntax
- REF<x>:VERTical:SCAle <NR3>
- REF<x>:VERTical:SCAle?
Info
<NR3>is a floating point number that specifies the gain in user units-per-division.