mask
¶
The mask commands module.
These commands are used in the following models: DPO4K, DPO4KB, MDO3K, MDO4K, MDO4KB, MDO4KC, MSO4K, MSO4KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- MASK:COPy:SOUrce {DS1|DS1A|DS1C|DS2|DS3|DS4NA|DS4XNA|STS1Pulse|STS1Eye|STS3|STSX3|CLOCKCoax|CLOCKSymmetrical|DSOContra|DSODouble|DSOSingle|DSOTiming|G703DS1|DS1Rate|DS2RATECoax|DS2RATESymmetrical|G703DS3|DS3Rate|E1Coax|E1Symmetrical|E<x>|HST<x>|NONe|USER|LIMit}
- MASK:COPy:SOUrce?
- MASK:COPy:USER
- MASK:COUNt RESET
- MASK:COUNt:FAILURES?
- MASK:COUNt:HITS?
- MASK:COUNt:SEG<x>:HITS?
- MASK:COUNt:TESTS?
- MASK:COUNt:VIOLATIONS?
- MASK:COUNt:WAVEFORMS?
- MASK:CUSTom {INIT|COPYACTive}
- MASK:DISplay {ON|OFF|1|0}
- MASK:DISplay?
- MASK:LOCk {ON|OFF|<NR1>}
- MASK:LOCk?
- MASK:MARgin:PERCent <NR3>
- MASK:MARgin:PERCent?
- MASK:SOUrce {CH<x>}
- MASK:SOUrce?
- MASK:STANdard {DS1|DS1A|DS1C|DS2|DS3|DS4NA|DS4XNA|STS1Pulse|STS1Eye|STS3|STSX3|CLOCKCoax|CLOCKSymmetrical|DSOContra|DSODouble|DSOSingle|DSOTiming|G703DS1|DS1Rate|DS2RATECoax|DS2RATESymmetrical|G703DS3|DS3Rate|E1Coax|E1Symmetrical|E<x>|HST<x>|NONe|USER|LIMit}
- MASK:STANdard?
- MASK:STOPOnviolation {ON|OFF|<NR1>}
- MASK:STOPOnviolation?
- MASK:TEMPLate:CREATEmask
- MASK:TEMPLate:SOUrce {CH<x>|REF<x>}
- MASK:TEMPLate:SOUrce?
- MASK:TEMPLate:TOLerance:HORizontal <NR3>
- MASK:TEMPLate:TOLerance:HORizontal?
- MASK:TEMPLate:TOLerance:VERTical <NR3>
- MASK:TEMPLate:TOLerance:VERTical?
- MASK:TESt:AUXout:COMPLetion {ON|OFF|<NR1>}
- MASK:TESt:AUXout:COMPLetion?
- MASK:TESt:AUXout:FAILure {ON|OFF|<NR1>}
- MASK:TESt:AUXout:FAILure?
- MASK:TESt:COMPLetion:CRITerion {WAVEform|TIMe}
- MASK:TESt:COMPLetion:CRITerion?
- MASK:TESt:DELay <NR3>
- MASK:TESt:DELay?
- MASK:TESt:HARDCopy {ON|OFF|<NR1>}
- MASK:TESt:HARDCopy?
- MASK:TESt:REPeat {ON|OFF|<NR1>}
- MASK:TESt:REPeat?
- MASK:TESt:SAVEIMAGE {ON|OFF|<NR1>}
- MASK:TESt:SAVEIMAGE?
- MASK:TESt:SAVEWFM {ON|OFF|<NR1>}
- MASK:TESt:SAVEWFM?
- MASK:TESt:SRQ:COMPLetion {ON|OFF|<NR1>}
- MASK:TESt:SRQ:COMPLetion?
- MASK:TESt:SRQ:FAILure {ON|OFF|<NR1>}
- MASK:TESt:SRQ:FAILure?
- MASK:TESt:STATE {ON|OFF|<NR1>}
- MASK:TESt:STATE?
- MASK:TESt:STATus?
- MASK:TESt:STOP:FAILure {|ON|OFF|<NR1>}
- MASK:TESt:STOP:FAILure?
- MASK:TESt:THReshold {<NR1>|INFInite}
- MASK:TESt:THReshold?
- MASK:TESt:TIME {<NR1>|INFInite}
- MASK:TESt:TIME?
- MASK:TESt:WAVEform {<NR1>|INFInite}
- MASK:TESt:WAVEform?
- MASK:USER:AMPLitude <NR3>
- MASK:USER:AMPLitude?
- MASK:USER:HSCAle <NR3>
- MASK:USER:HSCAle?
- MASK:USER:HTRIGPOS <NR3>
- MASK:USER:HTRIGPOS?
- MASK:USER:LABel <QString>
- MASK:USER:LABel?
- MASK:USER:MASK<x> DELEte
- MASK:USER:MASK<x>:NR_Pt?
- MASK:USER:MASK<x>:POINTS <NR3>
- MASK:USER:MASK<x>:POINTS?
- MASK:USER:RECOrdlength <NR1>
- MASK:USER:RECOrdlength?
- MASK:USER:SEG<x> DELEte
- MASK:USER:SEG<x>:NR_Pt?
- MASK:USER:SEG<x>:POINTS <NR3>
- MASK:USER:SEG<x>:POINTS?
- MASK:USER:TRIGTOSAMP <NR3>
- MASK:USER:TRIGTOSAMP?
- MASK:USER:VOFFSet <NR3>
- MASK:USER:VOFFSet?
- MASK:USER:VPOS <NR3>
- MASK:USER:VPOS?
- MASK:USER:VSCAle <NR3>
- MASK:USER:VSCAle?
- MASK:USER:WIDth <NR3>
- MASK:USER:WIDth?
Mask
¶
Bases: SCPICmdRead
The MASK command tree.
Usage
- Using the
.query()method will send theMASK?query. - Using the
.verify(value)method will send theMASK?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.copy: TheMASK:COPycommand tree..count: TheMASK:COUNtcommand..custom: TheMASK:CUSTomcommand..display: TheMASK:DISplaycommand..lock: TheMASK:LOCkcommand..margin: TheMASK:MARgincommand tree..source: TheMASK:SOUrcecommand..standard: TheMASK:STANdardcommand..stoponviolation: TheMASK:STOPOnviolationcommand..template: TheMASK:TEMPLatecommand tree..test: TheMASK:TEStcommand tree..user: TheMASK:USERcommand tree.
copy
property
¶
copy: MaskCopy
Return the MASK:COPy command tree.
Usage
- Using the
.query()method will send theMASK:COPy?query. - Using the
.verify(value)method will send theMASK:COPy?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.source: TheMASK:COPy:SOUrcecommand..user: TheMASK:COPy:USERcommand.
count
property
¶
count: MaskCount
Return the MASK:COUNt command.
Description
- This command resets to zero the number of hits and failures for all mask segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:COUNt valuecommand.
SCPI Syntax
- MASK:COUNt RESET
Sub-properties
.failures: TheMASK:COUNt:FAILUREScommand..hits: TheMASK:COUNt:HITScommand..seg: TheMASK:COUNt:SEG<x>command tree..tests: TheMASK:COUNt:TESTScommand..violations: TheMASK:COUNt:VIOLATIONScommand..waveforms: TheMASK:COUNt:WAVEFORMScommand.
custom
property
¶
custom: MaskCustom
Return the MASK:CUSTom command.
Description
- This command initializes a custom mask using a default triangle segment 1 mask (
:MASK:CUSTOM INIT), or copies the currently active mask to the user-defined custom mask (:MASK:CUSTOM COPYActive). A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:CUSTom valuecommand.
SCPI Syntax
- MASK:CUSTom {INIT|COPYACTive}
Info
INITsets the user-defined custom mask to its initialized state.COPYACTivecopies the currently active mask to the user-defined custom mask.
display
property
¶
display: MaskDisplay
Return the MASK:DISplay command.
Description
- This command controls whether a mask is displayed on the screen. This is useful for temporarily turning off masks without deleting them. Turning off the Mask Display when the Mask Test is on, turns off the Mask Test. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:DISplay?query. - Using the
.verify(value)method will send theMASK:DISplay?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:DISplay valuecommand.
SCPI Syntax
- MASK:DISplay {ON|OFF|1|0}
- MASK:DISplay?
Info
ONshows the mask on the display. This is the default value.OFFremoves the mask from the display.0removes the mask from the display;.1shows the mask on the display.
lock
property
¶
lock: MaskLock
Return the MASK:LOCk command.
Description
- This command locks the mask to the source waveform so that any changes made to the horizontal and/or vertical scale settings of the waveform will redraw the mask segments in proportion. This feature is useful for expanding the horizontal and/or vertical settings in order to zoom in on waveforms and masks, and visually examine violation areas in more detail. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:LOCk?query. - Using the
.verify(value)method will send theMASK:LOCk?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:LOCk valuecommand.
SCPI Syntax
- MASK:LOCk {ON|OFF|<NR1>}
- MASK:LOCk?
Info
ONturns on this feature, so that the mask is locked to the waveform.OFFturns off this feature.<NR1> = 0turns off this feature. Any other value turns it on.
margin
property
¶
margin: MaskMargin
Return the MASK:MARgin command tree.
Usage
- Using the
.query()method will send theMASK:MARgin?query. - Using the
.verify(value)method will send theMASK:MARgin?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.percent: TheMASK:MARgin:PERCentcommand.
source
property
¶
source: MaskSource
Return the MASK:SOUrce command.
Description
- This command specifies the mask source waveform to be used during pass/fail mask testing. Must be one of CH1 through CH4. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:SOUrce?query. - Using the
.verify(value)method will send theMASK:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:SOUrce valuecommand.
SCPI Syntax
- MASK:SOUrce {CH<x>}
- MASK:SOUrce?
standard
property
¶
standard: MaskStandard
Return the MASK:STANdard command.
Description
- This command replaces the existing mask, if any, with a specified standard mask. There
are three categories of standard masks: ANSI T1.102, ITU-T, and USB. To ensure that
Mask commands are enabled, use the command
APPLICATION:TYPE LIMITMask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:STANdard?query. - Using the
.verify(value)method will send theMASK:STANdard?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:STANdard valuecommand.
SCPI Syntax
- MASK:STANdard {DS1|DS1A|DS1C|DS2|DS3|DS4NA|DS4XNA|STS1Pulse|STS1Eye|STS3|STSX3|CLOCKCoax|CLOCKSymmetrical|DSOContra|DSODouble|DSOSingle|DSOTiming|G703DS1|DS1Rate|DS2RATECoax|DS2RATESymmetrical|G703DS3|DS3Rate|E1Coax|E1Symmetrical|E<x>|HST<x>|NONe|USER|LIMit}
- MASK:STANdard?
Info
ANSI T1.102:DS1- DS1 1.544 Mb/s.DS1A- DS1A 2.048 Mb/s.DS1C- DS1C 3.152 Mb/s.DS2- DS2 6.312 Mb/s.DS3- DS3 44.736 Mb/s.DS4NA- DS4NA 139.26 Mb/s.DS4XNA- DS4NA Max Output 138.26 Mb/s.STS1Pulse- STS-1 Pulse 51.84 Mb/s.STS1Eye- STS-1 Eye 51.84 Mb/s.STS3- STS-3 155.52 Mb/s.STSX3- STS-3 Max Output 155.52 Mb/s.ITU-T:CLOCKCoax- Clock Interface Coaxial Pair 2.048 Mb/s.CLOCKSymmetrical- Clock Interface Symmetrical Pair 2.048 Mb/s.DSOContra- DSO Data Contradirectional 64 kb/s.DSODouble- DSO Double 64 kb/s.DSOSingle- DSO Single 64 kb/s.DSOTiming- DSO Timing 64 kb/s.G703DS1- DS1 G.7031.544 Mb/s.DS1Rate- DS1 Old Rate 1.544 Mb/s.DS2RATECoax- DS2 Rate Coaxial Pair 6.312 Mb/s.DS2RATESymmetrical- DS2 Rate Symmetrical Pair 6.312 Mb/s.G703DS3- DS3 G.703 44.736 Mb/s.DS3Rate- DS3 Old Rate 44.736 Mb/s.E1Coax- E1 Coaxial Pair 2.048 Mb/s.E1Symmetrical- E1 Symmetric Pair 2.048 Mb/s.E2- E2 8.448 Mb/s.E3- E3 34.368 Mb/s.USB:HST1-HS:T1 480Mb/s.HST2-HS:T1 480Mb/s.HST3-HS:T1 480Mb/s.HST4-HS:T1 480Mb/s.HST5-HS:T1 480Mb/s.HST6-HS:T1 480Mb/s.LIMit, USER,and NONe can be input as well.
stoponviolation
property
¶
stoponviolation: MaskStoponviolation
Return the MASK:STOPOnviolation command.
Description
- This command stops the waveform acquisitions upon the first occurrence of a waveform
violation. The
MASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. You can also specify an action to be performed when acquisitions are stopped by using the commands such asMASK:TEST:SAVEWFM,MASK:TEST:SAVEIMAGE,MASK:TEST:AUXOUT:FAILURE,MASK:TEST:HARDCOPY, orMASK:TEST:SRQ:FAILURE. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:STOPOnviolation?query. - Using the
.verify(value)method will send theMASK:STOPOnviolation?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:STOPOnviolation valuecommand.
SCPI Syntax
- MASK:STOPOnviolation {ON|OFF|<NR1>}
- MASK:STOPOnviolation?
Info
ONstops waveform acquisition on the first occurrence of a mask violation.OFFturns this feature off.<NR1>=0turns this feature off ; any other value turns it on.
template
property
¶
template: MaskTemplate
Return the MASK:TEMPLate command tree.
Usage
- Using the
.query()method will send theMASK:TEMPLate?query. - Using the
.verify(value)method will send theMASK:TEMPLate?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.createmask: TheMASK:TEMPLate:CREATEmaskcommand..source: TheMASK:TEMPLate:SOUrcecommand..tolerance: TheMASK:TEMPLate:TOLerancecommand tree.
test
property
¶
test: MaskTest
Return the MASK:TESt command tree.
Usage
- Using the
.query()method will send theMASK:TESt?query. - Using the
.verify(value)method will send theMASK:TESt?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.auxout: TheMASK:TESt:AUXoutcommand tree..completion: TheMASK:TESt:COMPLetioncommand tree..delay: TheMASK:TESt:DELaycommand..hardcopy: TheMASK:TESt:HARDCopycommand..repeat: TheMASK:TESt:REPeatcommand..saveimage: TheMASK:TESt:SAVEIMAGEcommand..savewfm: TheMASK:TESt:SAVEWFMcommand..srq: TheMASK:TESt:SRQcommand tree..state: TheMASK:TESt:STATEcommand..status: TheMASK:TESt:STATuscommand..stop: TheMASK:TESt:STOPcommand tree..threshold: TheMASK:TESt:THResholdcommand..time: TheMASK:TESt:TIMEcommand..waveform: TheMASK:TESt:WAVEformcommand.
user
property
¶
user: MaskUser
Return the MASK:USER command tree.
Usage
- Using the
.query()method will send theMASK:USER?query. - Using the
.verify(value)method will send theMASK:USER?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.amplitude: TheMASK:USER:AMPLitudecommand..hscale: TheMASK:USER:HSCAlecommand..htrigpos: TheMASK:USER:HTRIGPOScommand..label: TheMASK:USER:LABelcommand..recordlength: TheMASK:USER:RECOrdlengthcommand..trigtosamp: TheMASK:USER:TRIGTOSAMPcommand..voffset: TheMASK:USER:VOFFSetcommand..vpos: TheMASK:USER:VPOScommand..vscale: TheMASK:USER:VSCAlecommand..width: TheMASK:USER:WIDthcommand..seg: TheMASK:USER:SEG<x>command..mask: TheMASK:USER:MASK<x>command.
MaskCopy
¶
Bases: SCPICmdRead
The MASK:COPy command tree.
Usage
- Using the
.query()method will send theMASK:COPy?query. - Using the
.verify(value)method will send theMASK:COPy?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.source: TheMASK:COPy:SOUrcecommand..user: TheMASK:COPy:USERcommand.
source
property
¶
source: MaskCopySource
Return the MASK:COPy:SOUrce command.
Description
- This command specifies the mask that is to be copied to a user-defined custom mask.
The specified mask is not copied until after the
MASK:COPy:USERcommand is executed. Note that in addition to a standard mask, LIMit, USER and NONe can also be specified. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COPy:SOUrce?query. - Using the
.verify(value)method will send theMASK:COPy:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:COPy:SOUrce valuecommand.
SCPI Syntax
- MASK:COPy:SOUrce {DS1|DS1A|DS1C|DS2|DS3|DS4NA|DS4XNA|STS1Pulse|STS1Eye|STS3|STSX3|CLOCKCoax|CLOCKSymmetrical|DSOContra|DSODouble|DSOSingle|DSOTiming|G703DS1|DS1Rate|DS2RATECoax|DS2RATESymmetrical|G703DS3|DS3Rate|E1Coax|E1Symmetrical|E<x>|HST<x>|NONe|USER|LIMit}
- MASK:COPy:SOUrce?
Info
ANSI T1.102:DS1- DS1 1.544 Mb/s.DS1A- DS1A 2.048 Mb/s.DS1C- DS1C 3.152 Mb/s.DS2- DS2 6.312 Mb/s.DS3- DS3 44.736 Mb/s.DS4NA- DS4NA 139.26 Mb/s.DS4XNA- DS4NA Max Output 138.26 Mb/s.STS1Pulse- STS-1 Pulse 51.84 Mb/s.STS1Eye- STS-1 Eye 51.84 Mb/s.STS3- STS-3 155.52 Mb/s.STSX3- STS-3 Max Output 155.52 Mb/s.ITU-T:CLOCKCoax- Clock Interface Coaxial Pair 2.048 Mb/s.CLOCKSymmetrical- Clock Interface Symmetrical Pair 2.048 Mb/s.DSOContra- DSO Data Contradirectional 64 kb/s.DSODouble- DSO Double 64 kb/s.DSOSingle- DSO Single 64 kb/s.DSOTiming- DSO Timing 64 kb/s.G703DS1- DS1 G.7031.544 Mb/s.DS1Rate- DS1 Old Rate 1.544 Mb/s.DS2RATECoax- DS2 Rate Coaxial Pair 6.312 Mb/s.DS2RATESymmetrical- DS2 Rate Symmetrical Pair 6.312 Mb/s.G703DS3- DS3 G.703 44.736 Mb/s.DS3Rate- DS3 Old Rate 44.736 Mb/s.E1Coax- E1 Coaxial Pair 2.048 Mb/s.E1Symmetrical- E1 Symmetric Pair 2.048 Mb/s.E2- E2 8.448 Mb/s.E3- E3 34.368 Mb/s.USB:HST1-HS:T1 480Mb/s.HST2-HS:T1 480Mb/s.HST3-HS:T1 480Mb/s.HST4-HS:T1 480Mb/s.HST5-HS:T1 480Mb/s.HST6-HS:T1 480Mb/s.LIMit, USER,and NONe can be input as well.
user
property
¶
user: MaskCopyUser
Return the MASK:COPy:USER command.
Description
- This creates a user-defined custom mask by making a copy of the source mask that was specified prior with the command . The source mask could be a standard, limit or another custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write()method will send theMASK:COPy:USERcommand.
SCPI Syntax
- MASK:COPy:USER
MaskCopySource
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:COPy:SOUrce command.
Description
- This command specifies the mask that is to be copied to a user-defined custom mask. The
specified mask is not copied until after the
MASK:COPy:USERcommand is executed. Note that in addition to a standard mask, LIMit, USER and NONe can also be specified. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COPy:SOUrce?query. - Using the
.verify(value)method will send theMASK:COPy:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:COPy:SOUrce valuecommand.
SCPI Syntax
- MASK:COPy:SOUrce {DS1|DS1A|DS1C|DS2|DS3|DS4NA|DS4XNA|STS1Pulse|STS1Eye|STS3|STSX3|CLOCKCoax|CLOCKSymmetrical|DSOContra|DSODouble|DSOSingle|DSOTiming|G703DS1|DS1Rate|DS2RATECoax|DS2RATESymmetrical|G703DS3|DS3Rate|E1Coax|E1Symmetrical|E<x>|HST<x>|NONe|USER|LIMit}
- MASK:COPy:SOUrce?
Info
ANSI T1.102:DS1- DS1 1.544 Mb/s.DS1A- DS1A 2.048 Mb/s.DS1C- DS1C 3.152 Mb/s.DS2- DS2 6.312 Mb/s.DS3- DS3 44.736 Mb/s.DS4NA- DS4NA 139.26 Mb/s.DS4XNA- DS4NA Max Output 138.26 Mb/s.STS1Pulse- STS-1 Pulse 51.84 Mb/s.STS1Eye- STS-1 Eye 51.84 Mb/s.STS3- STS-3 155.52 Mb/s.STSX3- STS-3 Max Output 155.52 Mb/s.ITU-T:CLOCKCoax- Clock Interface Coaxial Pair 2.048 Mb/s.CLOCKSymmetrical- Clock Interface Symmetrical Pair 2.048 Mb/s.DSOContra- DSO Data Contradirectional 64 kb/s.DSODouble- DSO Double 64 kb/s.DSOSingle- DSO Single 64 kb/s.DSOTiming- DSO Timing 64 kb/s.G703DS1- DS1 G.7031.544 Mb/s.DS1Rate- DS1 Old Rate 1.544 Mb/s.DS2RATECoax- DS2 Rate Coaxial Pair 6.312 Mb/s.DS2RATESymmetrical- DS2 Rate Symmetrical Pair 6.312 Mb/s.G703DS3- DS3 G.703 44.736 Mb/s.DS3Rate- DS3 Old Rate 44.736 Mb/s.E1Coax- E1 Coaxial Pair 2.048 Mb/s.E1Symmetrical- E1 Symmetric Pair 2.048 Mb/s.E2- E2 8.448 Mb/s.E3- E3 34.368 Mb/s.USB:HST1-HS:T1 480Mb/s.HST2-HS:T1 480Mb/s.HST3-HS:T1 480Mb/s.HST4-HS:T1 480Mb/s.HST5-HS:T1 480Mb/s.HST6-HS:T1 480Mb/s.LIMit, USER,and NONe can be input as well.
MaskCopyUser
¶
Bases: SCPICmdWriteNoArguments
The MASK:COPy:USER command.
Description
- This creates a user-defined custom mask by making a copy of the source mask that was specified prior with the command . The source mask could be a standard, limit or another custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write()method will send theMASK:COPy:USERcommand.
SCPI Syntax
- MASK:COPy:USER
MaskCount
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:COUNt command.
Description
- This command resets to zero the number of hits and failures for all mask segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:COUNt valuecommand.
SCPI Syntax
- MASK:COUNt RESET
Properties
.failures: TheMASK:COUNt:FAILUREScommand..hits: TheMASK:COUNt:HITScommand..seg: TheMASK:COUNt:SEG<x>command tree..tests: TheMASK:COUNt:TESTScommand..violations: TheMASK:COUNt:VIOLATIONScommand..waveforms: TheMASK:COUNt:WAVEFORMScommand.
failures
property
¶
failures: MaskCountFailures
Return the MASK:COUNt:FAILURES command.
Description
- This query returns the number of pass/fail mask tests that have failed. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:FAILURES?query. - Using the
.verify(value)method will send theMASK:COUNt:FAILURES?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:FAILURES?
hits
property
¶
hits: MaskCountHits
Return the MASK:COUNt:HITS command.
Description
- This query returns the sum of all hits in all mask segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:HITS?query. - Using the
.verify(value)method will send theMASK:COUNt:HITS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:HITS?
seg
property
¶
seg: dict[int, MaskCountSegItem]
Return the MASK:COUNt:SEG<x> command tree.
Usage
- Using the
.query()method will send theMASK:COUNt:SEG<x>?query. - Using the
.verify(value)method will send theMASK:COUNt:SEG<x>?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.hits: TheMASK:COUNt:SEG<x>:HITScommand.
tests
property
¶
tests: MaskCountTests
Return the MASK:COUNt:TESTS command.
Description
- This query returns the number of pass/fail mask tests that have occurred. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:TESTS?query. - Using the
.verify(value)method will send theMASK:COUNt:TESTS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:TESTS?
violations
property
¶
violations: MaskCountViolations
Return the MASK:COUNt:VIOLATIONS command.
Description
- This query returns the number of test violations that have occurred in the current mask pass/fail test. A test violation occurs when any part of a waveform falls within any mask segment. The default is 0. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:VIOLATIONS?query. - Using the
.verify(value)method will send theMASK:COUNt:VIOLATIONS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:VIOLATIONS?
waveforms
property
¶
waveforms: MaskCountWaveforms
Return the MASK:COUNt:WAVEFORMS command.
Description
- This query returns the number of waveforms that have been acquired and processed during pass/fail mask testing. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:WAVEFORMS?query. - Using the
.verify(value)method will send theMASK:COUNt:WAVEFORMS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:WAVEFORMS?
MaskCountFailures
¶
Bases: SCPICmdRead
The MASK:COUNt:FAILURES command.
Description
- This query returns the number of pass/fail mask tests that have failed. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:FAILURES?query. - Using the
.verify(value)method will send theMASK:COUNt:FAILURES?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:FAILURES?
MaskCountHits
¶
Bases: SCPICmdRead
The MASK:COUNt:HITS command.
Description
- This query returns the sum of all hits in all mask segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:HITS?query. - Using the
.verify(value)method will send theMASK:COUNt:HITS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:HITS?
MaskCountSegItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdRead
The MASK:COUNt:SEG<x> command tree.
Usage
- Using the
.query()method will send theMASK:COUNt:SEG<x>?query. - Using the
.verify(value)method will send theMASK:COUNt:SEG<x>?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.hits: TheMASK:COUNt:SEG<x>:HITScommand.
hits
property
¶
hits: MaskCountSegItemHits
Return the MASK:COUNt:SEG<x>:HITS command.
Description
- This query returns the number of hits for the specified mask segment. There are up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:SEG<x>:HITS?query. - Using the
.verify(value)method will send theMASK:COUNt:SEG<x>:HITS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:SEG<x>:HITS?
MaskCountSegItemHits
¶
Bases: SCPICmdRead
The MASK:COUNt:SEG<x>:HITS command.
Description
- This query returns the number of hits for the specified mask segment. There are up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:SEG<x>:HITS?query. - Using the
.verify(value)method will send theMASK:COUNt:SEG<x>:HITS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:SEG<x>:HITS?
MaskCountTests
¶
Bases: SCPICmdRead
The MASK:COUNt:TESTS command.
Description
- This query returns the number of pass/fail mask tests that have occurred. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:TESTS?query. - Using the
.verify(value)method will send theMASK:COUNt:TESTS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:TESTS?
MaskCountViolations
¶
Bases: SCPICmdRead
The MASK:COUNt:VIOLATIONS command.
Description
- This query returns the number of test violations that have occurred in the current mask pass/fail test. A test violation occurs when any part of a waveform falls within any mask segment. The default is 0. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:VIOLATIONS?query. - Using the
.verify(value)method will send theMASK:COUNt:VIOLATIONS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:VIOLATIONS?
MaskCountWaveforms
¶
Bases: SCPICmdRead
The MASK:COUNt:WAVEFORMS command.
Description
- This query returns the number of waveforms that have been acquired and processed during pass/fail mask testing. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:COUNt:WAVEFORMS?query. - Using the
.verify(value)method will send theMASK:COUNt:WAVEFORMS?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:COUNt:WAVEFORMS?
MaskCustom
¶
Bases: SCPICmdWrite
The MASK:CUSTom command.
Description
- This command initializes a custom mask using a default triangle segment 1 mask (
:MASK:CUSTOM INIT), or copies the currently active mask to the user-defined custom mask (:MASK:CUSTOM COPYActive). A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:CUSTom valuecommand.
SCPI Syntax
- MASK:CUSTom {INIT|COPYACTive}
Info
INITsets the user-defined custom mask to its initialized state.COPYACTivecopies the currently active mask to the user-defined custom mask.
MaskDisplay
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:DISplay command.
Description
- This command controls whether a mask is displayed on the screen. This is useful for temporarily turning off masks without deleting them. Turning off the Mask Display when the Mask Test is on, turns off the Mask Test. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:DISplay?query. - Using the
.verify(value)method will send theMASK:DISplay?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:DISplay valuecommand.
SCPI Syntax
- MASK:DISplay {ON|OFF|1|0}
- MASK:DISplay?
Info
ONshows the mask on the display. This is the default value.OFFremoves the mask from the display.0removes the mask from the display;.1shows the mask on the display.
MaskLock
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:LOCk command.
Description
- This command locks the mask to the source waveform so that any changes made to the horizontal and/or vertical scale settings of the waveform will redraw the mask segments in proportion. This feature is useful for expanding the horizontal and/or vertical settings in order to zoom in on waveforms and masks, and visually examine violation areas in more detail. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:LOCk?query. - Using the
.verify(value)method will send theMASK:LOCk?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:LOCk valuecommand.
SCPI Syntax
- MASK:LOCk {ON|OFF|<NR1>}
- MASK:LOCk?
Info
ONturns on this feature, so that the mask is locked to the waveform.OFFturns off this feature.<NR1> = 0turns off this feature. Any other value turns it on.
MaskMargin
¶
Bases: SCPICmdRead
The MASK:MARgin command tree.
Usage
- Using the
.query()method will send theMASK:MARgin?query. - Using the
.verify(value)method will send theMASK:MARgin?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.percent: TheMASK:MARgin:PERCentcommand.
percent
property
¶
percent: MaskMarginPercent
Return the MASK:MARgin:PERCent command.
Description
- Sets or returns the tolerance for the mask test. A positive value expands the mask and a negative margin shrinks the mask by the specified percentage. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:MARgin:PERCent?query. - Using the
.verify(value)method will send theMASK:MARgin:PERCent?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:MARgin:PERCent valuecommand.
SCPI Syntax
- MASK:MARgin:PERCent <NR3>
- MASK:MARgin:PERCent?
Info
<NR3>is a floating point value that ranges from -50.0 to +50.0. The default is 5.
MaskMarginPercent
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:MARgin:PERCent command.
Description
- Sets or returns the tolerance for the mask test. A positive value expands the mask and a negative margin shrinks the mask by the specified percentage. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:MARgin:PERCent?query. - Using the
.verify(value)method will send theMASK:MARgin:PERCent?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:MARgin:PERCent valuecommand.
SCPI Syntax
- MASK:MARgin:PERCent <NR3>
- MASK:MARgin:PERCent?
Info
<NR3>is a floating point value that ranges from -50.0 to +50.0. The default is 5.
MaskSource
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:SOUrce command.
Description
- This command specifies the mask source waveform to be used during pass/fail mask testing. Must be one of CH1 through CH4. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:SOUrce?query. - Using the
.verify(value)method will send theMASK:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:SOUrce valuecommand.
SCPI Syntax
- MASK:SOUrce {CH<x>}
- MASK:SOUrce?
MaskStandard
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:STANdard command.
Description
- This command replaces the existing mask, if any, with a specified standard mask. There are
three categories of standard masks: ANSI T1.102, ITU-T, and USB. To ensure that Mask
commands are enabled, use the command
APPLICATION:TYPE LIMITMask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:STANdard?query. - Using the
.verify(value)method will send theMASK:STANdard?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:STANdard valuecommand.
SCPI Syntax
- MASK:STANdard {DS1|DS1A|DS1C|DS2|DS3|DS4NA|DS4XNA|STS1Pulse|STS1Eye|STS3|STSX3|CLOCKCoax|CLOCKSymmetrical|DSOContra|DSODouble|DSOSingle|DSOTiming|G703DS1|DS1Rate|DS2RATECoax|DS2RATESymmetrical|G703DS3|DS3Rate|E1Coax|E1Symmetrical|E<x>|HST<x>|NONe|USER|LIMit}
- MASK:STANdard?
Info
ANSI T1.102:DS1- DS1 1.544 Mb/s.DS1A- DS1A 2.048 Mb/s.DS1C- DS1C 3.152 Mb/s.DS2- DS2 6.312 Mb/s.DS3- DS3 44.736 Mb/s.DS4NA- DS4NA 139.26 Mb/s.DS4XNA- DS4NA Max Output 138.26 Mb/s.STS1Pulse- STS-1 Pulse 51.84 Mb/s.STS1Eye- STS-1 Eye 51.84 Mb/s.STS3- STS-3 155.52 Mb/s.STSX3- STS-3 Max Output 155.52 Mb/s.ITU-T:CLOCKCoax- Clock Interface Coaxial Pair 2.048 Mb/s.CLOCKSymmetrical- Clock Interface Symmetrical Pair 2.048 Mb/s.DSOContra- DSO Data Contradirectional 64 kb/s.DSODouble- DSO Double 64 kb/s.DSOSingle- DSO Single 64 kb/s.DSOTiming- DSO Timing 64 kb/s.G703DS1- DS1 G.7031.544 Mb/s.DS1Rate- DS1 Old Rate 1.544 Mb/s.DS2RATECoax- DS2 Rate Coaxial Pair 6.312 Mb/s.DS2RATESymmetrical- DS2 Rate Symmetrical Pair 6.312 Mb/s.G703DS3- DS3 G.703 44.736 Mb/s.DS3Rate- DS3 Old Rate 44.736 Mb/s.E1Coax- E1 Coaxial Pair 2.048 Mb/s.E1Symmetrical- E1 Symmetric Pair 2.048 Mb/s.E2- E2 8.448 Mb/s.E3- E3 34.368 Mb/s.USB:HST1-HS:T1 480Mb/s.HST2-HS:T1 480Mb/s.HST3-HS:T1 480Mb/s.HST4-HS:T1 480Mb/s.HST5-HS:T1 480Mb/s.HST6-HS:T1 480Mb/s.LIMit, USER,and NONe can be input as well.
MaskStoponviolation
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:STOPOnviolation command.
Description
- This command stops the waveform acquisitions upon the first occurrence of a waveform
violation. The
MASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. You can also specify an action to be performed when acquisitions are stopped by using the commands such asMASK:TEST:SAVEWFM,MASK:TEST:SAVEIMAGE,MASK:TEST:AUXOUT:FAILURE,MASK:TEST:HARDCOPY, orMASK:TEST:SRQ:FAILURE. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:STOPOnviolation?query. - Using the
.verify(value)method will send theMASK:STOPOnviolation?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:STOPOnviolation valuecommand.
SCPI Syntax
- MASK:STOPOnviolation {ON|OFF|<NR1>}
- MASK:STOPOnviolation?
Info
ONstops waveform acquisition on the first occurrence of a mask violation.OFFturns this feature off.<NR1>=0turns this feature off ; any other value turns it on.
MaskTemplate
¶
Bases: SCPICmdRead
The MASK:TEMPLate command tree.
Usage
- Using the
.query()method will send theMASK:TEMPLate?query. - Using the
.verify(value)method will send theMASK:TEMPLate?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.createmask: TheMASK:TEMPLate:CREATEmaskcommand..source: TheMASK:TEMPLate:SOUrcecommand..tolerance: TheMASK:TEMPLate:TOLerancecommand tree.
createmask
property
¶
createmask: MaskTemplateCreatemask
Return the MASK:TEMPLate:CREATEmask command.
Description
- This command, used for limit mask testing, causes a template mask to be created based
on the settings of the
MASK:TEMPLATE:SOURCE,MASK:TEMPLATE:TOLERANCE:HORIZONTAL, andMASK:TEMPLATE:TOLERANCE:VERTICALcommands. If you do not specify horizontal or vertical tolerances, the default tolerance of one minor division will be used. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write()method will send theMASK:TEMPLate:CREATEmaskcommand.
SCPI Syntax
- MASK:TEMPLate:CREATEmask
source
property
¶
source: MaskTemplateSource
Return the MASK:TEMPLate:SOUrce command.
Description
- This command, typically used for limit mask testing, specifies the source waveform to
be used to create a template mask. The source can be either one of four channels, or
one of four saved reference waveforms. See the
SAVE:WAVEFORMcommands for more information on creating reference waveforms. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TEMPLate:SOUrce?query. - Using the
.verify(value)method will send theMASK:TEMPLate:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TEMPLate:SOUrce valuecommand.
SCPI Syntax
- MASK:TEMPLate:SOUrce {CH<x>|REF<x>}
- MASK:TEMPLate:SOUrce?
tolerance
property
¶
tolerance: MaskTemplateTolerance
Return the MASK:TEMPLate:TOLerance command tree.
Usage
- Using the
.query()method will send theMASK:TEMPLate:TOLerance?query. - Using the
.verify(value)method will send theMASK:TEMPLate:TOLerance?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.horizontal: TheMASK:TEMPLate:TOLerance:HORizontalcommand..vertical: TheMASK:TEMPLate:TOLerance:VERTicalcommand.
MaskTemplateCreatemask
¶
Bases: SCPICmdWriteNoArguments
The MASK:TEMPLate:CREATEmask command.
Description
- This command, used for limit mask testing, causes a template mask to be created based on
the settings of the
MASK:TEMPLATE:SOURCE,MASK:TEMPLATE:TOLERANCE:HORIZONTAL, andMASK:TEMPLATE:TOLERANCE:VERTICALcommands. If you do not specify horizontal or vertical tolerances, the default tolerance of one minor division will be used. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write()method will send theMASK:TEMPLate:CREATEmaskcommand.
SCPI Syntax
- MASK:TEMPLate:CREATEmask
MaskTemplateSource
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TEMPLate:SOUrce command.
Description
- This command, typically used for limit mask testing, specifies the source waveform to be
used to create a template mask. The source can be either one of four channels, or one of
four saved reference waveforms. See the
SAVE:WAVEFORMcommands for more information on creating reference waveforms. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TEMPLate:SOUrce?query. - Using the
.verify(value)method will send theMASK:TEMPLate:SOUrce?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TEMPLate:SOUrce valuecommand.
SCPI Syntax
- MASK:TEMPLate:SOUrce {CH<x>|REF<x>}
- MASK:TEMPLate:SOUrce?
MaskTemplateTolerance
¶
Bases: SCPICmdRead
The MASK:TEMPLate:TOLerance command tree.
Usage
- Using the
.query()method will send theMASK:TEMPLate:TOLerance?query. - Using the
.verify(value)method will send theMASK:TEMPLate:TOLerance?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.horizontal: TheMASK:TEMPLate:TOLerance:HORizontalcommand..vertical: TheMASK:TEMPLate:TOLerance:VERTicalcommand.
horizontal
property
¶
horizontal: MaskTemplateToleranceHorizontal
Return the MASK:TEMPLate:TOLerance:HORizontal command.
Description
- This command specifies the horizontal limit (tolerance) for a template mask to be used for limit testing. This indicates how far horizontally from the template source to create the mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TEMPLate:TOLerance:HORizontal?query. - Using the
.verify(value)method will send theMASK:TEMPLate:TOLerance:HORizontal?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TEMPLate:TOLerance:HORizontal valuecommand.
SCPI Syntax
- MASK:TEMPLate:TOLerance:HORizontal <NR3>
- MASK:TEMPLate:TOLerance:HORizontal?
Info
<NR3>is a floating point value that specifies the horizontal limit (tolerence) in milli-divisions. Range: 0 to 500 mDiv, resolution: 1mDiv, default: 200 mDiv. This value cannot be negative.
vertical
property
¶
vertical: MaskTemplateToleranceVertical
Return the MASK:TEMPLate:TOLerance:VERTical command.
Description
- This command specifies the vertical limit (tolerance) for a template mask to be used for limit testing. This indicates how far vertically from the template source to create the mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TEMPLate:TOLerance:VERTical?query. - Using the
.verify(value)method will send theMASK:TEMPLate:TOLerance:VERTical?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TEMPLate:TOLerance:VERTical valuecommand.
SCPI Syntax
- MASK:TEMPLate:TOLerance:VERTical <NR3>
- MASK:TEMPLate:TOLerance:VERTical?
Info
<NR3>is a floating point value that specifies the vertical limit (tolerence) in milli-divisions. Range: 0 to 1000 mDiv, resolution: 1 mDiv, default: 200 mDiv. This value cannot be negative.
MaskTemplateToleranceHorizontal
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TEMPLate:TOLerance:HORizontal command.
Description
- This command specifies the horizontal limit (tolerance) for a template mask to be used for limit testing. This indicates how far horizontally from the template source to create the mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TEMPLate:TOLerance:HORizontal?query. - Using the
.verify(value)method will send theMASK:TEMPLate:TOLerance:HORizontal?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TEMPLate:TOLerance:HORizontal valuecommand.
SCPI Syntax
- MASK:TEMPLate:TOLerance:HORizontal <NR3>
- MASK:TEMPLate:TOLerance:HORizontal?
Info
<NR3>is a floating point value that specifies the horizontal limit (tolerence) in milli-divisions. Range: 0 to 500 mDiv, resolution: 1mDiv, default: 200 mDiv. This value cannot be negative.
MaskTemplateToleranceVertical
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TEMPLate:TOLerance:VERTical command.
Description
- This command specifies the vertical limit (tolerance) for a template mask to be used for limit testing. This indicates how far vertically from the template source to create the mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TEMPLate:TOLerance:VERTical?query. - Using the
.verify(value)method will send theMASK:TEMPLate:TOLerance:VERTical?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TEMPLate:TOLerance:VERTical valuecommand.
SCPI Syntax
- MASK:TEMPLate:TOLerance:VERTical <NR3>
- MASK:TEMPLate:TOLerance:VERTical?
Info
<NR3>is a floating point value that specifies the vertical limit (tolerence) in milli-divisions. Range: 0 to 1000 mDiv, resolution: 1 mDiv, default: 200 mDiv. This value cannot be negative.
MaskTest
¶
Bases: SCPICmdRead
The MASK:TESt command tree.
Usage
- Using the
.query()method will send theMASK:TESt?query. - Using the
.verify(value)method will send theMASK:TESt?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.auxout: TheMASK:TESt:AUXoutcommand tree..completion: TheMASK:TESt:COMPLetioncommand tree..delay: TheMASK:TESt:DELaycommand..hardcopy: TheMASK:TESt:HARDCopycommand..repeat: TheMASK:TESt:REPeatcommand..saveimage: TheMASK:TESt:SAVEIMAGEcommand..savewfm: TheMASK:TESt:SAVEWFMcommand..srq: TheMASK:TESt:SRQcommand tree..state: TheMASK:TESt:STATEcommand..status: TheMASK:TESt:STATuscommand..stop: TheMASK:TESt:STOPcommand tree..threshold: TheMASK:TESt:THResholdcommand..time: TheMASK:TESt:TIMEcommand..waveform: TheMASK:TESt:WAVEformcommand.
auxout
property
¶
auxout: MaskTestAuxout
Return the MASK:TESt:AUXout command tree.
Usage
- Using the
.query()method will send theMASK:TESt:AUXout?query. - Using the
.verify(value)method will send theMASK:TESt:AUXout?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.completion: TheMASK:TESt:AUXout:COMPLetioncommand..failure: TheMASK:TESt:AUXout:FAILurecommand.
completion
property
¶
completion: MaskTestCompletion
Return the MASK:TESt:COMPLetion command tree.
Usage
- Using the
.query()method will send theMASK:TESt:COMPLetion?query. - Using the
.verify(value)method will send theMASK:TESt:COMPLetion?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.criterion: TheMASK:TESt:COMPLetion:CRITerioncommand.
delay
property
¶
delay: MaskTestDelay
Return the MASK:TESt:DELay command.
Description
- This command specifies the amount of time, in seconds, the instrument should wait after the start of pass/fail mask testing before it evaluates the waveforms. This command is useful if the test system requires some ‘settling’ time. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:DELay?query. - Using the
.verify(value)method will send theMASK:TESt:DELay?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:DELay valuecommand.
SCPI Syntax
- MASK:TESt:DELay <NR3>
- MASK:TESt:DELay?
Info
<NR3>is a floating point number that specifies the amount of time in seconds, to delay the start of the mask pass/fail test.
hardcopy
property
¶
hardcopy: MaskTestHardcopy
Return the MASK:TESt:HARDCopy command.
Description
- This command will cause the instrument to generate a screen shot to the default
printer as soon as a pass/fail mask test fails, using the current instrument hard copy
settings. See
HARDCOPY:ACTIVEPRINTERand other Hardcopy commands for more information on accessing printer settings. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:HARDCopy?query. - Using the
.verify(value)method will send theMASK:TESt:HARDCopy?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:HARDCopy valuecommand.
SCPI Syntax
- MASK:TESt:HARDCopy {ON|OFF|<NR1>}
- MASK:TESt:HARDCopy?
Info
ONturns on this feature, so that the instrument will generate a screen hard copy to the default printer upon failure.OFFturns off this feature.<NR1>= 0 turns off this feature; any other value turns it on.
repeat
property
¶
repeat: MaskTestRepeat
Return the MASK:TESt:REPeat command.
Description
- This command causes the mask test cycle to continuously repeat upon the completion of the previous test cycle. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:REPeat?query. - Using the
.verify(value)method will send theMASK:TESt:REPeat?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:REPeat valuecommand.
SCPI Syntax
- MASK:TESt:REPeat {ON|OFF|<NR1>}
- MASK:TESt:REPeat?
Info
ONturns on this feature, so that the mask test cycle repeats continuously upon the completion of the previous test cycle.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
saveimage
property
¶
saveimage: MaskTestSaveimage
Return the MASK:TESt:SAVEIMAGE command.
Description
- This command causes the instrument to copy the screen image to a file on a USB mass
storage device or a mounted network drive if a pass/fail mask test fails. See the
command
FILESYSTEM:MKDIRand other File System commands for more information on saving to a file. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON to save the image on mask test failure. After the image is saved theMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SAVEIMAGE?query. - Using the
.verify(value)method will send theMASK:TESt:SAVEIMAGE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SAVEIMAGE valuecommand.
SCPI Syntax
- MASK:TESt:SAVEIMAGE {ON|OFF|<NR1>}
- MASK:TESt:SAVEIMAGE?
Info
ONturns on this feature, so that the screen image is copied to a specified file upon test failure.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
savewfm
property
¶
savewfm: MaskTestSavewfm
Return the MASK:TESt:SAVEWFM command.
Description
- This command copies the waveform data from all active channels to a file on a flash
memory device such as a USB stick or a network drive. See the command
FILESYSTEM:MKDIRand other File System commands for more information on saving to a file. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SAVEWFM?query. - Using the
.verify(value)method will send theMASK:TESt:SAVEWFM?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SAVEWFM valuecommand.
SCPI Syntax
- MASK:TESt:SAVEWFM {ON|OFF|<NR1>}
- MASK:TESt:SAVEWFM?
Info
ONturns on this feature, so that waveform data from all active channels is copied to files upon test failure.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other value turns it on.
srq
property
¶
srq: MaskTestSrq
Return the MASK:TESt:SRQ command tree.
Usage
- Using the
.query()method will send theMASK:TESt:SRQ?query. - Using the
.verify(value)method will send theMASK:TESt:SRQ?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.completion: TheMASK:TESt:SRQ:COMPLetioncommand..failure: TheMASK:TESt:SRQ:FAILurecommand.
state
property
¶
state: MaskTestState
Return the MASK:TESt:STATE command.
Description
- This command turns the pass/fail mask test on or off. Most of the other
MASK:TESTcommands need to be executed before this command. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:STATE?query. - Using the
.verify(value)method will send theMASK:TESt:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:STATE valuecommand.
SCPI Syntax
- MASK:TESt:STATE {ON|OFF|<NR1>}
- MASK:TESt:STATE?
Info
ONturns the mask test on.OFFturns the mask test off.<NR1>is an integer. 0 turns the mask test off; any other integer turns it on.
status
property
¶
status: MaskTestStatus
Return the MASK:TESt:STATus command.
Description
- This command indicates the result of a pass/fail mask test. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:STATus?query. - Using the
.verify(value)method will send theMASK:TESt:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:TESt:STATus?
stop
property
¶
stop: MaskTestStop
Return the MASK:TESt:STOP command tree.
Usage
- Using the
.query()method will send theMASK:TESt:STOP?query. - Using the
.verify(value)method will send theMASK:TESt:STOP?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.failure: TheMASK:TESt:STOP:FAILurecommand.
threshold
property
¶
threshold: MaskTestThreshold
Return the MASK:TESt:THReshold command.
Description
- This command specifies the number of failed tested waveforms needed in a pass/fail mask test to cause the test status to change to ‘Failing’. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:THReshold?query. - Using the
.verify(value)method will send theMASK:TESt:THReshold?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:THReshold valuecommand.
SCPI Syntax
- MASK:TESt:THReshold {<NR1>|INFInite}
- MASK:TESt:THReshold?
Info
<NR1>is an integer that specifies the number of tested waveform violations occurring in each mask test that will change the test status to ‘Failing’. The maximum number of failed tested waveforms that can be specified is 1,000,000. The default is 1.INFIniteindicates that there is no limit to the number of failed tested waveforms that will change a test status to ‘Failing’.
time
property
¶
time: MaskTestTime
Return the MASK:TESt:TIME command.
Description
- This command specifies the duration, in seconds, the instrument should run a pass/fail mask test. The default is INFINITE. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:TIME?query. - Using the
.verify(value)method will send theMASK:TESt:TIME?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:TIME valuecommand.
SCPI Syntax
- MASK:TESt:TIME {<NR1>|INFInite}
- MASK:TESt:TIME?
Info
<NR1>is an integer that represents the number of seconds to test. The maximum number of seconds that can be specified is 172,800.INFIniteindicates that there is no time limit on the test run.
waveform
property
¶
waveform: MaskTestWaveform
Return the MASK:TESt:WAVEform command.
Description
- This command specifies the number of waveforms the instrument should test during a pass/fail mask test. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:WAVEform?query. - Using the
.verify(value)method will send theMASK:TESt:WAVEform?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:WAVEform valuecommand.
SCPI Syntax
- MASK:TESt:WAVEform {<NR1>|INFInite}
- MASK:TESt:WAVEform?
Info
<NR1>is an integer that specifies the number of waveforms to test. The maximum waveform count that can be specified is 1,000,000.INFIniteindicates that there is no limit on the waveform count.
MaskTestAuxout
¶
Bases: SCPICmdRead
The MASK:TESt:AUXout command tree.
Usage
- Using the
.query()method will send theMASK:TESt:AUXout?query. - Using the
.verify(value)method will send theMASK:TESt:AUXout?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.completion: TheMASK:TESt:AUXout:COMPLetioncommand..failure: TheMASK:TESt:AUXout:FAILurecommand.
completion
property
¶
completion: MaskTestAuxoutCompletion
Return the MASK:TESt:AUXout:COMPLetion command.
Description
- This command will cause the instrument to send a TTL signal to the
AUX:outport whenever a pass/fail mask test completes. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:AUXout:COMPLetion?query. - Using the
.verify(value)method will send theMASK:TESt:AUXout:COMPLetion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:AUXout:COMPLetion valuecommand.
SCPI Syntax
- MASK:TESt:AUXout:COMPLetion {ON|OFF|<NR1>}
- MASK:TESt:AUXout:COMPLetion?
Info
ONturns on this feature, so that a signal is sent to theAUX:outport whenever a mask test is complete.OFFturns off this feature.<NR1>=0turns off this feature; any other value turns it on.
failure
property
¶
failure: MaskTestAuxoutFailure
Return the MASK:TESt:AUXout:FAILure command.
Description
- This command causes the instrument to send a TTL signal to the
AUX:outport whenever a pass/fail mask test fails. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:AUXout:FAILure?query. - Using the
.verify(value)method will send theMASK:TESt:AUXout:FAILure?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:AUXout:FAILure valuecommand.
SCPI Syntax
- MASK:TESt:AUXout:FAILure {ON|OFF|<NR1>}
- MASK:TESt:AUXout:FAILure?
Info
ONturns on this feature, so that a signal is sent to theAUX:outport whenever a mask test status changes to ‘failing’.OFFturns off this feature.<NR1>= 0turns off this feature; any other value turns it on.
MaskTestAuxoutCompletion
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:AUXout:COMPLetion command.
Description
- This command will cause the instrument to send a TTL signal to the
AUX:outport whenever a pass/fail mask test completes. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:AUXout:COMPLetion?query. - Using the
.verify(value)method will send theMASK:TESt:AUXout:COMPLetion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:AUXout:COMPLetion valuecommand.
SCPI Syntax
- MASK:TESt:AUXout:COMPLetion {ON|OFF|<NR1>}
- MASK:TESt:AUXout:COMPLetion?
Info
ONturns on this feature, so that a signal is sent to theAUX:outport whenever a mask test is complete.OFFturns off this feature.<NR1>=0turns off this feature; any other value turns it on.
MaskTestAuxoutFailure
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:AUXout:FAILure command.
Description
- This command causes the instrument to send a TTL signal to the
AUX:outport whenever a pass/fail mask test fails. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:AUXout:FAILure?query. - Using the
.verify(value)method will send theMASK:TESt:AUXout:FAILure?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:AUXout:FAILure valuecommand.
SCPI Syntax
- MASK:TESt:AUXout:FAILure {ON|OFF|<NR1>}
- MASK:TESt:AUXout:FAILure?
Info
ONturns on this feature, so that a signal is sent to theAUX:outport whenever a mask test status changes to ‘failing’.OFFturns off this feature.<NR1>= 0turns off this feature; any other value turns it on.
MaskTestCompletion
¶
Bases: SCPICmdRead
The MASK:TESt:COMPLetion command tree.
Usage
- Using the
.query()method will send theMASK:TESt:COMPLetion?query. - Using the
.verify(value)method will send theMASK:TESt:COMPLetion?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.criterion: TheMASK:TESt:COMPLetion:CRITerioncommand.
criterion
property
¶
criterion: MaskTestCompletionCriterion
Return the MASK:TESt:COMPLetion:CRITerion command.
Description
- This command specifies the criterion to be used (either by waveform or by time) for test completion during pass/fail mask testing. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:COMPLetion:CRITerion?query. - Using the
.verify(value)method will send theMASK:TESt:COMPLetion:CRITerion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:COMPLetion:CRITerion valuecommand.
SCPI Syntax
- MASK:TESt:COMPLetion:CRITerion {WAVEform|TIMe}
- MASK:TESt:COMPLetion:CRITerion?
Info
WAVEformspecifies that the test is to be considered complete when a specified number of waveforms has been tested. (The number of waveforms is specified usingMASK:TEST:WAVEform) . TIMespecifies that the test is to be considered complete when a specified amount of time has elapsed. (The amount of time is specified usingMASK:TEST:TIME(|INFInite)).
MaskTestCompletionCriterion
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:COMPLetion:CRITerion command.
Description
- This command specifies the criterion to be used (either by waveform or by time) for test completion during pass/fail mask testing. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:COMPLetion:CRITerion?query. - Using the
.verify(value)method will send theMASK:TESt:COMPLetion:CRITerion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:COMPLetion:CRITerion valuecommand.
SCPI Syntax
- MASK:TESt:COMPLetion:CRITerion {WAVEform|TIMe}
- MASK:TESt:COMPLetion:CRITerion?
Info
WAVEformspecifies that the test is to be considered complete when a specified number of waveforms has been tested. (The number of waveforms is specified usingMASK:TEST:WAVEform) . TIMespecifies that the test is to be considered complete when a specified amount of time has elapsed. (The amount of time is specified usingMASK:TEST:TIME(|INFInite)).
MaskTestDelay
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:DELay command.
Description
- This command specifies the amount of time, in seconds, the instrument should wait after the start of pass/fail mask testing before it evaluates the waveforms. This command is useful if the test system requires some ‘settling’ time. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:DELay?query. - Using the
.verify(value)method will send theMASK:TESt:DELay?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:DELay valuecommand.
SCPI Syntax
- MASK:TESt:DELay <NR3>
- MASK:TESt:DELay?
Info
<NR3>is a floating point number that specifies the amount of time in seconds, to delay the start of the mask pass/fail test.
MaskTestHardcopy
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:HARDCopy command.
Description
- This command will cause the instrument to generate a screen shot to the default printer as
soon as a pass/fail mask test fails, using the current instrument hard copy settings. See
HARDCOPY:ACTIVEPRINTERand other Hardcopy commands for more information on accessing printer settings. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:HARDCopy?query. - Using the
.verify(value)method will send theMASK:TESt:HARDCopy?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:HARDCopy valuecommand.
SCPI Syntax
- MASK:TESt:HARDCopy {ON|OFF|<NR1>}
- MASK:TESt:HARDCopy?
Info
ONturns on this feature, so that the instrument will generate a screen hard copy to the default printer upon failure.OFFturns off this feature.<NR1>= 0 turns off this feature; any other value turns it on.
MaskTestRepeat
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:REPeat command.
Description
- This command causes the mask test cycle to continuously repeat upon the completion of the previous test cycle. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:REPeat?query. - Using the
.verify(value)method will send theMASK:TESt:REPeat?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:REPeat valuecommand.
SCPI Syntax
- MASK:TESt:REPeat {ON|OFF|<NR1>}
- MASK:TESt:REPeat?
Info
ONturns on this feature, so that the mask test cycle repeats continuously upon the completion of the previous test cycle.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
MaskTestSaveimage
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:SAVEIMAGE command.
Description
- This command causes the instrument to copy the screen image to a file on a USB mass
storage device or a mounted network drive if a pass/fail mask test fails. See the command
FILESYSTEM:MKDIRand other File System commands for more information on saving to a file. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON to save the image on mask test failure. After the image is saved theMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SAVEIMAGE?query. - Using the
.verify(value)method will send theMASK:TESt:SAVEIMAGE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SAVEIMAGE valuecommand.
SCPI Syntax
- MASK:TESt:SAVEIMAGE {ON|OFF|<NR1>}
- MASK:TESt:SAVEIMAGE?
Info
ONturns on this feature, so that the screen image is copied to a specified file upon test failure.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
MaskTestSavewfm
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:SAVEWFM command.
Description
- This command copies the waveform data from all active channels to a file on a flash memory
device such as a USB stick or a network drive. See the command
FILESYSTEM:MKDIRand other File System commands for more information on saving to a file. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SAVEWFM?query. - Using the
.verify(value)method will send theMASK:TESt:SAVEWFM?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SAVEWFM valuecommand.
SCPI Syntax
- MASK:TESt:SAVEWFM {ON|OFF|<NR1>}
- MASK:TESt:SAVEWFM?
Info
ONturns on this feature, so that waveform data from all active channels is copied to files upon test failure.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other value turns it on.
MaskTestSrq
¶
Bases: SCPICmdRead
The MASK:TESt:SRQ command tree.
Usage
- Using the
.query()method will send theMASK:TESt:SRQ?query. - Using the
.verify(value)method will send theMASK:TESt:SRQ?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.completion: TheMASK:TESt:SRQ:COMPLetioncommand..failure: TheMASK:TESt:SRQ:FAILurecommand.
completion
property
¶
completion: MaskTestSrqCompletion
Return the MASK:TESt:SRQ:COMPLetion command.
Description
- This command causes the instrument to send an SRQ command when a pass/fail mask test
completes. Use the command
MASK:TEST:COMPLETION:CRITERIONto specify criterion. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SRQ:COMPLetion?query. - Using the
.verify(value)method will send theMASK:TESt:SRQ:COMPLetion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SRQ:COMPLetion valuecommand.
SCPI Syntax
- MASK:TESt:SRQ:COMPLetion {ON|OFF|<NR1>}
- MASK:TESt:SRQ:COMPLetion?
Info
ONturns on this feature, so that upon the completion of a mask test, the instrument will send an SRQ command (if registers are set to send SRQ when OPC is asserted).OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
failure
property
¶
failure: MaskTestSrqFailure
Return the MASK:TESt:SRQ:FAILure command.
Description
- This command causes the instrument to send an SRQ command when a pass/fail mask test fails. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SRQ:FAILure?query. - Using the
.verify(value)method will send theMASK:TESt:SRQ:FAILure?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SRQ:FAILure valuecommand.
SCPI Syntax
- MASK:TESt:SRQ:FAILure {ON|OFF|<NR1>}
- MASK:TESt:SRQ:FAILure?
Info
ONturns on this feature, so that when a mask test fails, the instrument will send an SRQ command (if registers are set to send SRQ when OPC is asserted.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
MaskTestSrqCompletion
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:SRQ:COMPLetion command.
Description
- This command causes the instrument to send an SRQ command when a pass/fail mask test
completes. Use the command
MASK:TEST:COMPLETION:CRITERIONto specify criterion. TheMASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SRQ:COMPLetion?query. - Using the
.verify(value)method will send theMASK:TESt:SRQ:COMPLetion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SRQ:COMPLetion valuecommand.
SCPI Syntax
- MASK:TESt:SRQ:COMPLetion {ON|OFF|<NR1>}
- MASK:TESt:SRQ:COMPLetion?
Info
ONturns on this feature, so that upon the completion of a mask test, the instrument will send an SRQ command (if registers are set to send SRQ when OPC is asserted).OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
MaskTestSrqFailure
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:SRQ:FAILure command.
Description
- This command causes the instrument to send an SRQ command when a pass/fail mask test fails. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:SRQ:FAILure?query. - Using the
.verify(value)method will send theMASK:TESt:SRQ:FAILure?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:SRQ:FAILure valuecommand.
SCPI Syntax
- MASK:TESt:SRQ:FAILure {ON|OFF|<NR1>}
- MASK:TESt:SRQ:FAILure?
Info
ONturns on this feature, so that when a mask test fails, the instrument will send an SRQ command (if registers are set to send SRQ when OPC is asserted.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other integer turns it on.
MaskTestState
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:STATE command.
Description
- This command turns the pass/fail mask test on or off. Most of the other
MASK:TESTcommands need to be executed before this command. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:STATE?query. - Using the
.verify(value)method will send theMASK:TESt:STATE?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:STATE valuecommand.
SCPI Syntax
- MASK:TESt:STATE {ON|OFF|<NR1>}
- MASK:TESt:STATE?
Info
ONturns the mask test on.OFFturns the mask test off.<NR1>is an integer. 0 turns the mask test off; any other integer turns it on.
MaskTestStatus
¶
Bases: SCPICmdRead
The MASK:TESt:STATus command.
Description
- This command indicates the result of a pass/fail mask test. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:STATus?query. - Using the
.verify(value)method will send theMASK:TESt:STATus?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:TESt:STATus?
MaskTestStop
¶
Bases: SCPICmdRead
The MASK:TESt:STOP command tree.
Usage
- Using the
.query()method will send theMASK:TESt:STOP?query. - Using the
.verify(value)method will send theMASK:TESt:STOP?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.failure: TheMASK:TESt:STOP:FAILurecommand.
failure
property
¶
failure: MaskTestStopFailure
Return the MASK:TESt:STOP:FAILure command.
Description
- This command causes the instrument to stop acquiring data when a pass/fail mask test
fails. The
MASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:STOP:FAILure?query. - Using the
.verify(value)method will send theMASK:TESt:STOP:FAILure?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:STOP:FAILure valuecommand.
SCPI Syntax
- MASK:TESt:STOP:FAILure {|ON|OFF|<NR1>}
- MASK:TESt:STOP:FAILure?
Info
ONturns on this features, so that the instrument stops acquiring data upon failure.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other value turns it on.
MaskTestStopFailure
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:STOP:FAILure command.
Description
- This command causes the instrument to stop acquiring data when a pass/fail mask test
fails. The
MASK:ACTONEVENT:ENABLEcommand should be set to ON for this event to happen. After the event occursMASK:ACTONEVENT:ENABLEcommand will be set to OFF automatically. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:STOP:FAILure?query. - Using the
.verify(value)method will send theMASK:TESt:STOP:FAILure?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:STOP:FAILure valuecommand.
SCPI Syntax
- MASK:TESt:STOP:FAILure {|ON|OFF|<NR1>}
- MASK:TESt:STOP:FAILure?
Info
ONturns on this features, so that the instrument stops acquiring data upon failure.OFFturns off this feature.<NR1>is an integer. 0 turns off this feature; any other value turns it on.
MaskTestThreshold
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:THReshold command.
Description
- This command specifies the number of failed tested waveforms needed in a pass/fail mask test to cause the test status to change to ‘Failing’. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:THReshold?query. - Using the
.verify(value)method will send theMASK:TESt:THReshold?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:THReshold valuecommand.
SCPI Syntax
- MASK:TESt:THReshold {<NR1>|INFInite}
- MASK:TESt:THReshold?
Info
<NR1>is an integer that specifies the number of tested waveform violations occurring in each mask test that will change the test status to ‘Failing’. The maximum number of failed tested waveforms that can be specified is 1,000,000. The default is 1.INFIniteindicates that there is no limit to the number of failed tested waveforms that will change a test status to ‘Failing’.
MaskTestTime
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:TIME command.
Description
- This command specifies the duration, in seconds, the instrument should run a pass/fail mask test. The default is INFINITE. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:TIME?query. - Using the
.verify(value)method will send theMASK:TESt:TIME?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:TIME valuecommand.
SCPI Syntax
- MASK:TESt:TIME {<NR1>|INFInite}
- MASK:TESt:TIME?
Info
<NR1>is an integer that represents the number of seconds to test. The maximum number of seconds that can be specified is 172,800.INFIniteindicates that there is no time limit on the test run.
MaskTestWaveform
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:TESt:WAVEform command.
Description
- This command specifies the number of waveforms the instrument should test during a pass/fail mask test. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:TESt:WAVEform?query. - Using the
.verify(value)method will send theMASK:TESt:WAVEform?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:TESt:WAVEform valuecommand.
SCPI Syntax
- MASK:TESt:WAVEform {<NR1>|INFInite}
- MASK:TESt:WAVEform?
Info
<NR1>is an integer that specifies the number of waveforms to test. The maximum waveform count that can be specified is 1,000,000.INFIniteindicates that there is no limit on the waveform count.
MaskUser
¶
Bases: SCPICmdRead
The MASK:USER command tree.
Usage
- Using the
.query()method will send theMASK:USER?query. - Using the
.verify(value)method will send theMASK:USER?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.amplitude: TheMASK:USER:AMPLitudecommand..hscale: TheMASK:USER:HSCAlecommand..htrigpos: TheMASK:USER:HTRIGPOScommand..label: TheMASK:USER:LABelcommand..recordlength: TheMASK:USER:RECOrdlengthcommand..trigtosamp: TheMASK:USER:TRIGTOSAMPcommand..voffset: TheMASK:USER:VOFFSetcommand..vpos: TheMASK:USER:VPOScommand..vscale: TheMASK:USER:VSCAlecommand..width: TheMASK:USER:WIDthcommand..seg: TheMASK:USER:SEG<x>command..mask: TheMASK:USER:MASK<x>command.
amplitude
property
¶
amplitude: MaskUserAmplitude
Return the MASK:USER:AMPLitude command.
Description
- This command specifies the nominal pulse amplitude, in volts, to be used for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:AMPLitude?query. - Using the
.verify(value)method will send theMASK:USER:AMPLitude?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:AMPLitude valuecommand.
SCPI Syntax
- MASK:USER:AMPLitude <NR3>
- MASK:USER:AMPLitude?
Info
<NR3>is a floating point number that determines the nominal pulse amplitude, in volts, of a user-defined custom mask.
hscale
property
¶
hscale: MaskUserHscale
Return the MASK:USER:HSCAle command.
Description
- This command specifies the nominal timing resolution, in time/division, to be used to draw a user-defined custom mask pulse shape. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:HSCAle?query. - Using the
.verify(value)method will send theMASK:USER:HSCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:HSCAle valuecommand.
SCPI Syntax
- MASK:USER:HSCAle <NR3>
- MASK:USER:HSCAle?
Info
<NR3>is a floating point value that specifies the timing resolution used to a draw a user-defined custom mask pulse shape.
htrigpos
property
¶
htrigpos: MaskUserHtrigpos
Return the MASK:USER:HTRIGPOS command.
Description
- This command specifies the nominal trigger position (pulse leading edge), to be used to draw a user-defined custom mask, as a fraction of the display width. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:HTRIGPOS?query. - Using the
.verify(value)method will send theMASK:USER:HTRIGPOS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:HTRIGPOS valuecommand.
SCPI Syntax
- MASK:USER:HTRIGPOS <NR3>
- MASK:USER:HTRIGPOS?
Info
<NR3>is a floating point number in the range of 0.0 to 1.0 that sets the trigger points as a fraction of the display width, referenced from the left edge of the graticule.
label
property
¶
label: MaskUserLabel
Return the MASK:USER:LABel command.
Description
- This command specifies a user-defined label for a custom mask.
Usage
- Using the
.query()method will send theMASK:USER:LABel?query. - Using the
.verify(value)method will send theMASK:USER:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:LABel valuecommand.
SCPI Syntax
- MASK:USER:LABel <QString>
- MASK:USER:LABel?
mask
property
¶
mask: dict[int, MaskUserMaskItem]
Return the MASK:USER:MASK<x> command.
Description
- This command deletes the specified mask segment from the current mask segment. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:USER:MASK<x> valuecommand.
SCPI Syntax
- MASK:USER:MASK<x> DELEte
Sub-properties
.nr_pt: TheMASK:USER:MASK<x>:NR_Ptcommand..points: TheMASK:USER:MASK<x>:POINTScommand.
recordlength
property
¶
recordlength: MaskUserRecordlength
Return the MASK:USER:RECOrdlength command.
Description
- This command specifies the nominal record length to be used for pulse mask testing with a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:RECOrdlength?query. - Using the
.verify(value)method will send theMASK:USER:RECOrdlength?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:RECOrdlength valuecommand.
SCPI Syntax
- MASK:USER:RECOrdlength <NR1>
- MASK:USER:RECOrdlength?
Info
<NR1>is an integer that sets the record length value to be used for pulse mask testing of a user-defined custom mask.
seg
property
¶
seg: dict[int, MaskUserSegItem]
Return the MASK:USER:SEG<x> command.
Description
- This command deletes the specified mask segment from the current mask segment. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:USER:SEG<x> valuecommand.
SCPI Syntax
- MASK:USER:SEG<x> DELEte
Sub-properties
.nr_pt: TheMASK:USER:SEG<x>:NR_Ptcommand..points: TheMASK:USER:SEG<x>:POINTScommand.
trigtosamp
property
¶
trigtosamp: MaskUserTrigtosamp
Return the MASK:USER:TRIGTOSAMP command.
Description
- This command specifies the nominal time, in seconds, from the (leading edge) trigger position to the pulse bit sampling position, to be used for testing with a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:TRIGTOSAMP?query. - Using the
.verify(value)method will send theMASK:USER:TRIGTOSAMP?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:TRIGTOSAMP valuecommand.
SCPI Syntax
- MASK:USER:TRIGTOSAMP <NR3>
- MASK:USER:TRIGTOSAMP?
Info
<NR3>is a floating point number that sets the time to the pulse bit sampling position.
voffset
property
¶
voffset: MaskUserVoffset
Return the MASK:USER:VOFFSet command.
Description
- This command specifies the nominal value, in volts, to be used to vertically offset the input channels for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:VOFFSet?query. - Using the
.verify(value)method will send theMASK:USER:VOFFSet?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:VOFFSet valuecommand.
SCPI Syntax
- MASK:USER:VOFFSet <NR3>
- MASK:USER:VOFFSet?
Info
<NR3>is a floating point number that sets the nominal vertical offset value, in volts.
vpos
property
¶
vpos: MaskUserVpos
Return the MASK:USER:VPOS command.
Description
- This command specifies the nominal value, in divisions, to be used to vertically position the input channels for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:VPOS?query. - Using the
.verify(value)method will send theMASK:USER:VPOS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:VPOS valuecommand.
SCPI Syntax
- MASK:USER:VPOS <NR3>
- MASK:USER:VPOS?
Info
<NR3>is a floating point number that sets the nominal vertical position value in divisions.
vscale
property
¶
vscale: MaskUserVscale
Return the MASK:USER:VSCAle command.
Description
- This command specifies the nominal value, in volts per division, to be used to vertically scale the input channels for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:VSCAle?query. - Using the
.verify(value)method will send theMASK:USER:VSCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:VSCAle valuecommand.
SCPI Syntax
- MASK:USER:VSCAle <NR3>
- MASK:USER:VSCAle?
Info
<NR3>is a floating point number that sets the nominal vertical scale value for the input channels for a user-defined custom mask.
width
property
¶
width: MaskUserWidth
Return the MASK:USER:WIDth command.
Description
- This command specifies the nominal bit width value, in seconds, to be used for a user-defined custom mask. This is the time of one bit of data where bit width = 1 / (data rate of the signal). A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:WIDth?query. - Using the
.verify(value)method will send theMASK:USER:WIDth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:WIDth valuecommand.
SCPI Syntax
- MASK:USER:WIDth <NR3>
- MASK:USER:WIDth?
Info
<NR3>is a floating point number that indicates the nominal bit width value in seconds.
MaskUserAmplitude
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:AMPLitude command.
Description
- This command specifies the nominal pulse amplitude, in volts, to be used for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:AMPLitude?query. - Using the
.verify(value)method will send theMASK:USER:AMPLitude?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:AMPLitude valuecommand.
SCPI Syntax
- MASK:USER:AMPLitude <NR3>
- MASK:USER:AMPLitude?
Info
<NR3>is a floating point number that determines the nominal pulse amplitude, in volts, of a user-defined custom mask.
MaskUserHscale
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:HSCAle command.
Description
- This command specifies the nominal timing resolution, in time/division, to be used to draw a user-defined custom mask pulse shape. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:HSCAle?query. - Using the
.verify(value)method will send theMASK:USER:HSCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:HSCAle valuecommand.
SCPI Syntax
- MASK:USER:HSCAle <NR3>
- MASK:USER:HSCAle?
Info
<NR3>is a floating point value that specifies the timing resolution used to a draw a user-defined custom mask pulse shape.
MaskUserHtrigpos
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:HTRIGPOS command.
Description
- This command specifies the nominal trigger position (pulse leading edge), to be used to draw a user-defined custom mask, as a fraction of the display width. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:HTRIGPOS?query. - Using the
.verify(value)method will send theMASK:USER:HTRIGPOS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:HTRIGPOS valuecommand.
SCPI Syntax
- MASK:USER:HTRIGPOS <NR3>
- MASK:USER:HTRIGPOS?
Info
<NR3>is a floating point number in the range of 0.0 to 1.0 that sets the trigger points as a fraction of the display width, referenced from the left edge of the graticule.
MaskUserLabel
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:LABel command.
Description
- This command specifies a user-defined label for a custom mask.
Usage
- Using the
.query()method will send theMASK:USER:LABel?query. - Using the
.verify(value)method will send theMASK:USER:LABel?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:LABel valuecommand.
SCPI Syntax
- MASK:USER:LABel <QString>
- MASK:USER:LABel?
MaskUserMaskItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICmdRead
The MASK:USER:MASK<x> command.
Description
- This command deletes the specified mask segment from the current mask segment. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:USER:MASK<x> valuecommand.
SCPI Syntax
- MASK:USER:MASK<x> DELEte
Properties
.nr_pt: TheMASK:USER:MASK<x>:NR_Ptcommand..points: TheMASK:USER:MASK<x>:POINTScommand.
nr_pt
property
¶
nr_pt: MaskUserMaskItemNrPt
Return the MASK:USER:MASK<x>:NR_Pt command.
Description
- This query returns the number of points that make up the specified mask segment of a user-defined custom mask. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:MASK<x>:NR_Pt?query. - Using the
.verify(value)method will send theMASK:USER:MASK<x>:NR_Pt?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:USER:MASK<x>:NR_Pt?
points
property
¶
points: MaskUserMaskItemPoints
Return the MASK:USER:MASK<x>:POINTS command.
Description
- This command specifies the x and y coordinates of the points that make up the segment 1-8. The units are normal waveform units. The x-coordinate is specified relative to the trigger. The points are specified as a sequence of (x,y) points which traverse the boundary of the segment in a counter-clockwise direction. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:MASK<x>:POINTS?query. - Using the
.verify(value)method will send theMASK:USER:MASK<x>:POINTS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:MASK<x>:POINTS valuecommand.
SCPI Syntax
- MASK:USER:MASK<x>:POINTS <NR3>
- MASK:USER:MASK<x>:POINTS?
Info
<NR3>is a floating- point number.
MaskUserMaskItemNrPt
¶
Bases: SCPICmdRead
The MASK:USER:MASK<x>:NR_Pt command.
Description
- This query returns the number of points that make up the specified mask segment of a user-defined custom mask. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:MASK<x>:NR_Pt?query. - Using the
.verify(value)method will send theMASK:USER:MASK<x>:NR_Pt?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:USER:MASK<x>:NR_Pt?
MaskUserMaskItemPoints
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:MASK<x>:POINTS command.
Description
- This command specifies the x and y coordinates of the points that make up the segment 1-8. The units are normal waveform units. The x-coordinate is specified relative to the trigger. The points are specified as a sequence of (x,y) points which traverse the boundary of the segment in a counter-clockwise direction. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:MASK<x>:POINTS?query. - Using the
.verify(value)method will send theMASK:USER:MASK<x>:POINTS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:MASK<x>:POINTS valuecommand.
SCPI Syntax
- MASK:USER:MASK<x>:POINTS <NR3>
- MASK:USER:MASK<x>:POINTS?
Info
<NR3>is a floating- point number.
MaskUserRecordlength
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:RECOrdlength command.
Description
- This command specifies the nominal record length to be used for pulse mask testing with a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:RECOrdlength?query. - Using the
.verify(value)method will send theMASK:USER:RECOrdlength?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:RECOrdlength valuecommand.
SCPI Syntax
- MASK:USER:RECOrdlength <NR1>
- MASK:USER:RECOrdlength?
Info
<NR1>is an integer that sets the record length value to be used for pulse mask testing of a user-defined custom mask.
MaskUserSegItem
¶
Bases: ValidatedDynamicNumberCmd, SCPICmdWrite, SCPICmdRead
The MASK:USER:SEG<x> command.
Description
- This command deletes the specified mask segment from the current mask segment. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.write(value)method will send theMASK:USER:SEG<x> valuecommand.
SCPI Syntax
- MASK:USER:SEG<x> DELEte
Properties
.nr_pt: TheMASK:USER:SEG<x>:NR_Ptcommand..points: TheMASK:USER:SEG<x>:POINTScommand.
nr_pt
property
¶
nr_pt: MaskUserSegItemNrPt
Return the MASK:USER:SEG<x>:NR_Pt command.
Description
- This query returns the number of points that make up the specified mask segment of a user-defined custom mask. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:SEG<x>:NR_Pt?query. - Using the
.verify(value)method will send theMASK:USER:SEG<x>:NR_Pt?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:USER:SEG<x>:NR_Pt?
points
property
¶
points: MaskUserSegItemPoints
Return the MASK:USER:SEG<x>:POINTS command.
Description
- This command specifies the x and y coordinates of the points that make up the segment 1-8. The units are normal waveform units. The x-coordinate is specified relative to the trigger. The points are specified as a sequence of (x,y) points which traverse the boundary of the segment in a counter-clockwise direction. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:SEG<x>:POINTS?query. - Using the
.verify(value)method will send theMASK:USER:SEG<x>:POINTS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:SEG<x>:POINTS valuecommand.
SCPI Syntax
- MASK:USER:SEG<x>:POINTS <NR3>
- MASK:USER:SEG<x>:POINTS?
Info
<NR3>is a floating- point number.
MaskUserSegItemNrPt
¶
Bases: SCPICmdRead
The MASK:USER:SEG<x>:NR_Pt command.
Description
- This query returns the number of points that make up the specified mask segment of a user-defined custom mask. There can be up to 8 segments. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:SEG<x>:NR_Pt?query. - Using the
.verify(value)method will send theMASK:USER:SEG<x>:NR_Pt?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- MASK:USER:SEG<x>:NR_Pt?
MaskUserSegItemPoints
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:SEG<x>:POINTS command.
Description
- This command specifies the x and y coordinates of the points that make up the segment 1-8. The units are normal waveform units. The x-coordinate is specified relative to the trigger. The points are specified as a sequence of (x,y) points which traverse the boundary of the segment in a counter-clockwise direction. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:SEG<x>:POINTS?query. - Using the
.verify(value)method will send theMASK:USER:SEG<x>:POINTS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:SEG<x>:POINTS valuecommand.
SCPI Syntax
- MASK:USER:SEG<x>:POINTS <NR3>
- MASK:USER:SEG<x>:POINTS?
Info
<NR3>is a floating- point number.
MaskUserTrigtosamp
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:TRIGTOSAMP command.
Description
- This command specifies the nominal time, in seconds, from the (leading edge) trigger position to the pulse bit sampling position, to be used for testing with a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:TRIGTOSAMP?query. - Using the
.verify(value)method will send theMASK:USER:TRIGTOSAMP?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:TRIGTOSAMP valuecommand.
SCPI Syntax
- MASK:USER:TRIGTOSAMP <NR3>
- MASK:USER:TRIGTOSAMP?
Info
<NR3>is a floating point number that sets the time to the pulse bit sampling position.
MaskUserVoffset
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:VOFFSet command.
Description
- This command specifies the nominal value, in volts, to be used to vertically offset the input channels for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:VOFFSet?query. - Using the
.verify(value)method will send theMASK:USER:VOFFSet?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:VOFFSet valuecommand.
SCPI Syntax
- MASK:USER:VOFFSet <NR3>
- MASK:USER:VOFFSet?
Info
<NR3>is a floating point number that sets the nominal vertical offset value, in volts.
MaskUserVpos
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:VPOS command.
Description
- This command specifies the nominal value, in divisions, to be used to vertically position the input channels for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:VPOS?query. - Using the
.verify(value)method will send theMASK:USER:VPOS?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:VPOS valuecommand.
SCPI Syntax
- MASK:USER:VPOS <NR3>
- MASK:USER:VPOS?
Info
<NR3>is a floating point number that sets the nominal vertical position value in divisions.
MaskUserVscale
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:VSCAle command.
Description
- This command specifies the nominal value, in volts per division, to be used to vertically scale the input channels for a user-defined custom mask. A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:VSCAle?query. - Using the
.verify(value)method will send theMASK:USER:VSCAle?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:VSCAle valuecommand.
SCPI Syntax
- MASK:USER:VSCAle <NR3>
- MASK:USER:VSCAle?
Info
<NR3>is a floating point number that sets the nominal vertical scale value for the input channels for a user-defined custom mask.
MaskUserWidth
¶
Bases: SCPICmdWrite, SCPICmdRead
The MASK:USER:WIDth command.
Description
- This command specifies the nominal bit width value, in seconds, to be used for a user-defined custom mask. This is the time of one bit of data where bit width = 1 / (data rate of the signal). A series of examples showing how to use mask commands for typical tasks is included in an appendix.
Usage
- Using the
.query()method will send theMASK:USER:WIDth?query. - Using the
.verify(value)method will send theMASK:USER:WIDth?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theMASK:USER:WIDth valuecommand.
SCPI Syntax
- MASK:USER:WIDth <NR3>
- MASK:USER:WIDth?
Info
<NR3>is a floating point number that indicates the nominal bit width value in seconds.