select
¶
The select commands module.
These commands are used in the following models: MSO2
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- SELect:CH<x> {ON|OFF|1|0}
- SELect:CH<x>?
- SELect:DCH<x>:DAll {ON|OFF|<NR1>}
- SELect:DCH<x>:DAll?
Select
¶
Bases: SCPICmdRead
The SELect command tree.
Usage
- Using the
.query()method will send theSELect?query. - Using the
.verify(value)method will send theSELect?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.ch: TheSELect:CH<x>command..dch: TheSELect:DCH<x>command tree.
ch
property
¶
ch: dict[int, SelectChannel]
Return the SELect:CH<x> command.
Description
- Turns the display of the channel
waveform on or off, where is the channel number. This command also resets the acquisition. The query returns whether the channel is on or off but does not indicate whether it is the specified waveform.
Usage
- Using the
.query()method will send theSELect:CH<x>?query. - Using the
.verify(value)method will send theSELect:CH<x>?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSELect:CH<x> valuecommand.
SCPI Syntax
- SELect:CH<x> {ON|OFF|1|0}
- SELect:CH<x>?
Info
ONturns on the display of the specified waveform. This waveform also becomes the selected waveform.OFFturns off the display of the specified waveform.1turns on the display of the specified waveform. This waveform also becomes the selected waveform.0turns off the display of the specified waveform.
dch
property
¶
dch: dict[int, SelectDchItem]
Return the SELect:DCH<x> command tree.
Usage
- Using the
.query()method will send theSELect:DCH<x>?query. - Using the
.verify(value)method will send theSELect:DCH<x>?query and raise an AssertionError if the returned value does not matchvalue.
Info
DCH<x>specifies the digital channel. The supported value is 1.
Sub-properties
.dall: TheSELect:DCH<x>:DAllcommand.
SelectChannel
¶
Bases: ValidatedChannel, SCPICmdWrite, SCPICmdRead
The SELect:CH<x> command.
Description
- Turns the display of the channel
waveform on or off, where is the channel number. This command also resets the acquisition. The query returns whether the channel is on or off but does not indicate whether it is the specified waveform.
Usage
- Using the
.query()method will send theSELect:CH<x>?query. - Using the
.verify(value)method will send theSELect:CH<x>?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSELect:CH<x> valuecommand.
SCPI Syntax
- SELect:CH<x> {ON|OFF|1|0}
- SELect:CH<x>?
Info
ONturns on the display of the specified waveform. This waveform also becomes the selected waveform.OFFturns off the display of the specified waveform.1turns on the display of the specified waveform. This waveform also becomes the selected waveform.0turns off the display of the specified waveform.
SelectDchItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdRead
The SELect:DCH<x> command tree.
Usage
- Using the
.query()method will send theSELect:DCH<x>?query. - Using the
.verify(value)method will send theSELect:DCH<x>?query and raise an AssertionError if the returned value does not matchvalue.
Info
DCH<x>specifies the digital channel. The supported value is 1.
Properties
.dall: TheSELect:DCH<x>:DAllcommand.
dall
property
¶
dall: SelectDchItemDall
Return the SELect:DCH<x>:DAll command.
Description
- This command turns on or off all constituent digital channels.
Usage
- Using the
.query()method will send theSELect:DCH<x>:DAll?query. - Using the
.verify(value)method will send theSELect:DCH<x>:DAll?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSELect:DCH<x>:DAll valuecommand.
SCPI Syntax
- SELect:DCH<x>:DAll {ON|OFF|<NR1>}
- SELect:DCH<x>:DAll?
Info
DCH<x>specifies the digital channel. The supported value is 1.<NR1>= 0 disables the specified digital channel; any other value turns the on the digital channel.OFFturns off the specified digital channel.ONturns on the specified digital channel.
SelectDchItemDall
¶
Bases: SCPICmdWrite, SCPICmdRead
The SELect:DCH<x>:DAll command.
Description
- This command turns on or off all constituent digital channels.
Usage
- Using the
.query()method will send theSELect:DCH<x>:DAll?query. - Using the
.verify(value)method will send theSELect:DCH<x>:DAll?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theSELect:DCH<x>:DAll valuecommand.
SCPI Syntax
- SELect:DCH<x>:DAll {ON|OFF|<NR1>}
- SELect:DCH<x>:DAll?
Info
DCH<x>specifies the digital channel. The supported value is 1.<NR1>= 0 disables the specified digital channel; any other value turns the on the digital channel.OFFturns off the specified digital channel.ONturns on the specified digital channel.