dch
¶
The dch 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
- DCH<x>_D<x>:LABel:COLor <QString>
- DCH<x>_D<x>:LABel:COLor?
- DCH<x>_D<x>:LABel:FONT:BOLD {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:BOLD?
- DCH<x>_D<x>:LABel:FONT:ITALic {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:ITALic?
- DCH<x>_D<x>:LABel:FONT:SIZE <NR1>
- DCH<x>_D<x>:LABel:FONT:SIZE?
- DCH<x>_D<x>:LABel:FONT:TYPE <QString>
- DCH<x>_D<x>:LABel:FONT:TYPE?
- DCH<x>_D<x>:LABel:FONT:UNDERline {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:UNDERline?
- DCH<x>_D<x>:LABel:NAMe <QString>
- DCH<x>_D<x>:LABel:NAMe?
- DCH<x>_D<x>:THReshold <NR3>
- DCH<x>_D<x>:THReshold?
DchItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdRead
The DCH<x> command tree.
Usage
- Using the
.query()method will send theDCH<x>?query. - Using the
.verify(value)method will send theDCH<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
.d: TheDCH<x>_D<x>command tree.
d
property
¶
d: dict[int, DchItemDigitalBit]
Return the DCH<x>_D<x> command tree.
Usage
- Using the
.query()method will send theDCH<x>_D<x>?query. - Using the
.verify(value)method will send theDCH<x>_D<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.D<x>specifies the digital bits. The supported values are 0 to 15.
Sub-properties
.label: TheDCH<x>_D<x>:LABelcommand tree..threshold: TheDCH<x>_D<x>:THResholdcommand.
DchItemDigitalBit
¶
Bases: ValidatedDigitalBit, SCPICmdRead
The DCH<x>_D<x> command tree.
Usage
- Using the
.query()method will send theDCH<x>_D<x>?query. - Using the
.verify(value)method will send theDCH<x>_D<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.D<x>specifies the digital bits. The supported values are 0 to 15.
Properties
.label: TheDCH<x>_D<x>:LABelcommand tree..threshold: TheDCH<x>_D<x>:THResholdcommand.
label
property
¶
label: DchItemDigitalBitLabel
Return the DCH<x>_D<x>:LABel command tree.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel?query and raise an AssertionError if the returned value does not matchvalue.
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.
Sub-properties
.color: TheDCH<x>_D<x>:LABel:COLorcommand..font: TheDCH<x>_D<x>:LABel:FONTcommand tree..name: TheDCH<x>_D<x>:LABel:NAMecommand.
threshold
property
¶
threshold: DchItemDigitalBitThreshold
Return the DCH<x>_D<x>:THReshold command.
Description
- This command sets or queries the threshold level in volts for the specified digital channel. If the source channel doesn’t exist, a hardware missing error event is set.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:THReshold?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:THReshold?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:THReshold valuecommand.
SCPI Syntax
- DCH<x>_D<x>:THReshold <NR3>
- DCH<x>_D<x>:THReshold?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15. 0 to 7 have common a threshold and 8 to 15 have a common threshold.<NR3>specifies the threshold level in volts for the specified digital channel. The minimum value is -20 V and the maximum value is 30.0 V.
DchItemDigitalBitLabel
¶
Bases: SCPICmdRead
The DCH<x>_D<x>:LABel command tree.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel?query and raise an AssertionError if the returned value does not matchvalue.
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.
Properties
.color: TheDCH<x>_D<x>:LABel:COLorcommand..font: TheDCH<x>_D<x>:LABel:FONTcommand tree..name: TheDCH<x>_D<x>:LABel:NAMecommand.
color
property
¶
color: DchItemDigitalBitLabelColor
Return the DCH<x>_D<x>:LABel:COLor command.
Description
- This command sets or queries the color of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:COLor?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:COLor?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:COLor valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:COLor <QString>
- DCH<x>_D<x>:LABel:COLor?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<QString>is the label color. To return the color to the default color, send an empty string as in this example::DCH1_D1:LABEL:COLOR‘’.
font
property
¶
Return the DCH<x>_D<x>:LABel:FONT command tree.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT?query and raise an AssertionError if the returned value does not matchvalue.
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.
Sub-properties
.bold: TheDCH<x>_D<x>:LABel:FONT:BOLDcommand..italic: TheDCH<x>_D<x>:LABel:FONT:ITALiccommand..size: TheDCH<x>_D<x>:LABel:FONT:SIZEcommand..type: TheDCH<x>_D<x>:LABel:FONT:TYPEcommand..underline: TheDCH<x>_D<x>:LABel:FONT:UNDERlinecommand.
name
property
¶
Return the DCH<x>_D<x>:LABel:NAMe command.
Description
- This command sets or queries the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:NAMe?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:NAMe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:NAMe valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:NAMe <QString>
- DCH<x>_D<x>:LABel:NAMe?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. specifies the digital bits. The supported values are 0 to 15 or DALL (all digital bits).<QString>is the label name.
DchItemDigitalBitLabelColor
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:COLor command.
Description
- This command sets or queries the color of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:COLor?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:COLor?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:COLor valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:COLor <QString>
- DCH<x>_D<x>:LABel:COLor?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<QString>is the label color. To return the color to the default color, send an empty string as in this example::DCH1_D1:LABEL:COLOR‘’.
DchItemDigitalBitLabelFont
¶
Bases: SCPICmdRead
The DCH<x>_D<x>:LABel:FONT command tree.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT?query and raise an AssertionError if the returned value does not matchvalue.
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.
Properties
.bold: TheDCH<x>_D<x>:LABel:FONT:BOLDcommand..italic: TheDCH<x>_D<x>:LABel:FONT:ITALiccommand..size: TheDCH<x>_D<x>:LABel:FONT:SIZEcommand..type: TheDCH<x>_D<x>:LABel:FONT:TYPEcommand..underline: TheDCH<x>_D<x>:LABel:FONT:UNDERlinecommand.
bold
property
¶
Return the DCH<x>_D<x>:LABel:FONT:BOLD command.
Description
- This command sets or queries the bold state of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:BOLD?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:BOLD?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:BOLD valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:BOLD {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:BOLD?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>= 0 turns off bold font; any other value turns on bold font.OFFturns off bold font.ONturns on bold font.
italic
property
¶
italic: DchItemDigitalBitLabelFontItalic
Return the DCH<x>_D<x>:LABel:FONT:ITALic command.
Description
- This command sets or queries the italic state of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:ITALic?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:ITALic?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:ITALic valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:ITALic {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:ITALic?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>= 0 turns off italic font; any other value turns on italic font.OFFturns off italic font.ONturns on italic font.
size
property
¶
Return the DCH<x>_D<x>:LABel:FONT:SIZE command.
Description
- This command sets or queries the font size of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:SIZE?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:SIZE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:SIZE valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:SIZE <NR1>
- DCH<x>_D<x>:LABel:FONT:SIZE?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>specifies the font size in points.
type
property
¶
Return the DCH<x>_D<x>:LABel:FONT:TYPE command.
Description
- This command sets or queries the font type of the label of the specified digital bit, such as Arial or Times New Roman.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:TYPE?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:TYPE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:TYPE valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:TYPE <QString>
- DCH<x>_D<x>:LABel:FONT:TYPE?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<QString>is the font type of the label.
underline
property
¶
underline: DchItemDigitalBitLabelFontUnderline
Return the DCH<x>_D<x>:LABel:FONT:UNDERline command.
Description
- This command sets or queries the underline state of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:UNDERline?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:UNDERline?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:UNDERline valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:UNDERline {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:UNDERline?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>= 0 turns off underline font; any other value turns on italic font.OFFturns off underline font.ONturns on underline font.
DchItemDigitalBitLabelFontBold
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:FONT:BOLD command.
Description
- This command sets or queries the bold state of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:BOLD?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:BOLD?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:BOLD valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:BOLD {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:BOLD?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>= 0 turns off bold font; any other value turns on bold font.OFFturns off bold font.ONturns on bold font.
DchItemDigitalBitLabelFontItalic
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:FONT:ITALic command.
Description
- This command sets or queries the italic state of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:ITALic?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:ITALic?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:ITALic valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:ITALic {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:ITALic?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>= 0 turns off italic font; any other value turns on italic font.OFFturns off italic font.ONturns on italic font.
DchItemDigitalBitLabelFontSize
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:FONT:SIZE command.
Description
- This command sets or queries the font size of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:SIZE?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:SIZE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:SIZE valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:SIZE <NR1>
- DCH<x>_D<x>:LABel:FONT:SIZE?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>specifies the font size in points.
DchItemDigitalBitLabelFontType
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:FONT:TYPE command.
Description
- This command sets or queries the font type of the label of the specified digital bit, such as Arial or Times New Roman.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:TYPE?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:TYPE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:TYPE valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:TYPE <QString>
- DCH<x>_D<x>:LABel:FONT:TYPE?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<QString>is the font type of the label.
DchItemDigitalBitLabelFontUnderline
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:FONT:UNDERline command.
Description
- This command sets or queries the underline state of the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:FONT:UNDERline?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:FONT:UNDERline?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:FONT:UNDERline valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:FONT:UNDERline {ON|OFF|<NR1>}
- DCH<x>_D<x>:LABel:FONT:UNDERline?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15.<NR1>= 0 turns off underline font; any other value turns on italic font.OFFturns off underline font.ONturns on underline font.
DchItemDigitalBitLabelName
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:LABel:NAMe command.
Description
- This command sets or queries the label of the specified digital bit.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:LABel:NAMe?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:LABel:NAMe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:LABel:NAMe valuecommand.
SCPI Syntax
- DCH<x>_D<x>:LABel:NAMe <QString>
- DCH<x>_D<x>:LABel:NAMe?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. specifies the digital bits. The supported values are 0 to 15 or DALL (all digital bits).<QString>is the label name.
DchItemDigitalBitThreshold
¶
Bases: SCPICmdWrite, SCPICmdRead
The DCH<x>_D<x>:THReshold command.
Description
- This command sets or queries the threshold level in volts for the specified digital channel. If the source channel doesn’t exist, a hardware missing error event is set.
Usage
- Using the
.query()method will send theDCH<x>_D<x>:THReshold?query. - Using the
.verify(value)method will send theDCH<x>_D<x>:THReshold?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDCH<x>_D<x>:THReshold valuecommand.
SCPI Syntax
- DCH<x>_D<x>:THReshold <NR3>
- DCH<x>_D<x>:THReshold?
Info
DCH<x>specifies the digital channel. The supported value is 1.D<x>specifies the digital bits. The supported values are 0 to 15. 0 to 7 have common a threshold and 8 to 15 have a common threshold.<NR3>specifies the threshold level in volts for the specified digital channel. The minimum value is -20 V and the maximum value is 30.0 V.