diag
¶
The diag commands module.
These commands are used in the following models: DPO2K, DPO2KB, MSO2K, MSO2KB
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- DIAg:INDIvidual:TESTnumber
- DIAg:INDIvidual:TESTnumber?
- DIAg:LOOP:OPTion {ALWAYS|FAIL|ONFAIL|ONCE|NTIMES}
- DIAg:LOOP:OPTion:NTIMes <NR1>
- DIAg:LOOP:OPTion:NTIMes?
- DIAg:LOOP:STOP
- DIAg:RESUlt:FLAg?
- DIAg:RESUlt:LOG?
- DIAg:SELect {ALL|APPKey|CPU|DISplay|FPAnel|IO|ROM|ACQ}
- DIAg:SELect:ACQ
- DIAg:SELect:APPKey
- DIAg:SELect:CPU
- DIAg:SELect:DISplay
- DIAg:SELect:FPAnel
- DIAg:SELect:IO
- DIAg:SELect:ROM
- DIAg:STATE {EXECute|ABORt}
Diag
¶
Bases: SCPICmdRead
The DIAg command tree.
Usage
- Using the
.query()method will send theDIAg?query. - Using the
.verify(value)method will send theDIAg?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.individual: TheDIAg:INDIvidualcommand tree..loop: TheDIAg:LOOPcommand tree..result: TheDIAg:RESUltcommand tree..select: TheDIAg:SELectcommand..state: TheDIAg:STATEcommand.
individual
property
¶
individual: DiagIndividual
Return the DIAg:INDIvidual command tree.
Usage
- Using the
.query()method will send theDIAg:INDIvidual?query. - Using the
.verify(value)method will send theDIAg:INDIvidual?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.testnumber: TheDIAg:INDIvidual:TESTnumbercommand.
loop
property
¶
loop: DiagLoop
Return the DIAg:LOOP command tree.
Usage
- Using the
.query()method will send theDIAg:LOOP?query. - Using the
.verify(value)method will send theDIAg:LOOP?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.option: TheDIAg:LOOP:OPTioncommand..stop: TheDIAg:LOOP:STOPcommand.
result
property
¶
result: DiagResult
Return the DIAg:RESUlt command tree.
Usage
- Using the
.query()method will send theDIAg:RESUlt?query. - Using the
.verify(value)method will send theDIAg:RESUlt?query and raise an AssertionError if the returned value does not matchvalue.
Sub-properties
.flag: TheDIAg:RESUlt:FLAgcommand..log: TheDIAg:RESUlt:LOGcommand.
select
property
¶
select: DiagSelect
Return the DIAg:SELect command.
Description
- Sets the type of diagnostics grouping.
Usage
- Using the
.write(value)method will send theDIAg:SELect valuecommand.
SCPI Syntax
- DIAg:SELect {ALL|APPKey|CPU|DISplay|FPAnel|IO|ROM|ACQ}
Info
ALLruns all diagnostic groups.APPKeyruns just the application key diagnostic group.CPUruns just the CPU diagnostic group.DISplayruns just the display circuit diagnostic group.FPAnelruns just the front panel diagnostic group.IOruns just the IO board diagnostic group.ROMruns just the IO board diagnostic group.ACQruns just the acquisition system diagnostic group.
Sub-properties
.acq: TheDIAg:SELect:ACQcommand..appkey: TheDIAg:SELect:APPKeycommand..cpu: TheDIAg:SELect:CPUcommand..display: TheDIAg:SELect:DISplaycommand..fpanel: TheDIAg:SELect:FPAnelcommand..io: TheDIAg:SELect:IOcommand..rom: TheDIAg:SELect:ROMcommand.
state
property
¶
state: DiagState
Return the DIAg:STATE command.
Description
- This command starts or stops the oscilloscope diagnostic self-tests. Which self-test
is run is specified by the
DIAg:SELect: orDIAg:SELect:<function>commands.
Usage
- Using the
.write(value)method will send theDIAg:STATE valuecommand.
SCPI Syntax
- DIAg:STATE {EXECute|ABORt}
Info
EXECutestarts diagnostics.ABORtstops diagnostics at the end of the current loop.
DiagIndividual
¶
Bases: SCPICmdRead
The DIAg:INDIvidual command tree.
Usage
- Using the
.query()method will send theDIAg:INDIvidual?query. - Using the
.verify(value)method will send theDIAg:INDIvidual?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.testnumber: TheDIAg:INDIvidual:TESTnumbercommand.
testnumber
property
¶
testnumber: DiagIndividualTestnumber
Return the DIAg:INDIvidual:TESTnumber command.
Description
- This command specifies the number of the diagnostics test to run.
Usage
- Using the
.query()method will send theDIAg:INDIvidual:TESTnumber?query. - Using the
.verify(value)method will send theDIAg:INDIvidual:TESTnumber?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write()method will send theDIAg:INDIvidual:TESTnumbercommand.
SCPI Syntax
- DIAg:INDIvidual:TESTnumber
- DIAg:INDIvidual:TESTnumber?
Info
<NR1>is the test number to run.
DiagIndividualTestnumber
¶
Bases: SCPICmdWriteNoArguments, SCPICmdRead
The DIAg:INDIvidual:TESTnumber command.
Description
- This command specifies the number of the diagnostics test to run.
Usage
- Using the
.query()method will send theDIAg:INDIvidual:TESTnumber?query. - Using the
.verify(value)method will send theDIAg:INDIvidual:TESTnumber?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write()method will send theDIAg:INDIvidual:TESTnumbercommand.
SCPI Syntax
- DIAg:INDIvidual:TESTnumber
- DIAg:INDIvidual:TESTnumber?
Info
<NR1>is the test number to run.
DiagLoop
¶
Bases: SCPICmdRead
The DIAg:LOOP command tree.
Usage
- Using the
.query()method will send theDIAg:LOOP?query. - Using the
.verify(value)method will send theDIAg:LOOP?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.option: TheDIAg:LOOP:OPTioncommand..stop: TheDIAg:LOOP:STOPcommand.
option
property
¶
option: DiagLoopOption
Return the DIAg:LOOP:OPTion command.
Description
- Sets the self-test loop option.
Usage
- Using the
.write(value)method will send theDIAg:LOOP:OPTion valuecommand.
SCPI Syntax
- DIAg:LOOP:OPTion {ALWAYS|FAIL|ONFAIL|ONCE|NTIMES}
Info
ALWAYScontinues looping until the self tests (diagnostics) are stopped via the front panel or by an oscilloscope command.FAILcauses looping until the first self test (diagnostic) failure or until self tests (diagnostics) are stopped.ONFAILcauses looping on a specific test group as long as a FAIL status is returned from the test.ONCEexecutes self test (diagnostics test) sequence once.NTIMESruns ‘n’ number of loops.
Sub-properties
.ntimes: TheDIAg:LOOP:OPTion:NTIMescommand.
stop
property
¶
stop: DiagLoopStop
Return the DIAg:LOOP:STOP command.
Description
- Request that diagnostics stop looping.
Usage
- Using the
.write()method will send theDIAg:LOOP:STOPcommand.
SCPI Syntax
- DIAg:LOOP:STOP
DiagLoopOption
¶
Bases: SCPICmdWrite, SCPICmdRead
The DIAg:LOOP:OPTion command.
Description
- Sets the self-test loop option.
Usage
- Using the
.write(value)method will send theDIAg:LOOP:OPTion valuecommand.
SCPI Syntax
- DIAg:LOOP:OPTion {ALWAYS|FAIL|ONFAIL|ONCE|NTIMES}
Info
ALWAYScontinues looping until the self tests (diagnostics) are stopped via the front panel or by an oscilloscope command.FAILcauses looping until the first self test (diagnostic) failure or until self tests (diagnostics) are stopped.ONFAILcauses looping on a specific test group as long as a FAIL status is returned from the test.ONCEexecutes self test (diagnostics test) sequence once.NTIMESruns ‘n’ number of loops.
Properties
.ntimes: TheDIAg:LOOP:OPTion:NTIMescommand.
ntimes
property
¶
ntimes: DiagLoopOptionNtimes
Return the DIAg:LOOP:OPTion:NTIMes command.
Description
- This command sets or queries how many loops to run, if N-times is being used.
Usage
- Using the
.query()method will send theDIAg:LOOP:OPTion:NTIMes?query. - Using the
.verify(value)method will send theDIAg:LOOP:OPTion:NTIMes?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:LOOP:OPTion:NTIMes valuecommand.
SCPI Syntax
- DIAg:LOOP:OPTion:NTIMes <NR1>
- DIAg:LOOP:OPTion:NTIMes?
Info
<NR1>is how many loops to run.
DiagLoopOptionNtimes
¶
Bases: SCPICmdWrite, SCPICmdRead
The DIAg:LOOP:OPTion:NTIMes command.
Description
- This command sets or queries how many loops to run, if N-times is being used.
Usage
- Using the
.query()method will send theDIAg:LOOP:OPTion:NTIMes?query. - Using the
.verify(value)method will send theDIAg:LOOP:OPTion:NTIMes?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:LOOP:OPTion:NTIMes valuecommand.
SCPI Syntax
- DIAg:LOOP:OPTion:NTIMes <NR1>
- DIAg:LOOP:OPTion:NTIMes?
Info
<NR1>is how many loops to run.
DiagLoopStop
¶
Bases: SCPICmdWriteNoArguments
The DIAg:LOOP:STOP command.
Description
- Request that diagnostics stop looping.
Usage
- Using the
.write()method will send theDIAg:LOOP:STOPcommand.
SCPI Syntax
- DIAg:LOOP:STOP
DiagResult
¶
Bases: SCPICmdRead
The DIAg:RESUlt command tree.
Usage
- Using the
.query()method will send theDIAg:RESUlt?query. - Using the
.verify(value)method will send theDIAg:RESUlt?query and raise an AssertionError if the returned value does not matchvalue.
Properties
.flag: TheDIAg:RESUlt:FLAgcommand..log: TheDIAg:RESUlt:LOGcommand.
flag
property
¶
flag: DiagResultFlag
Return the DIAg:RESUlt:FLAg command.
Description
- This query returns the status of the diagnostic test area that has been selected.
Usage
- Using the
.query()method will send theDIAg:RESUlt:FLAg?query. - Using the
.verify(value)method will send theDIAg:RESUlt:FLAg?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- DIAg:RESUlt:FLAg?
log
property
¶
log: DiagResultLog
Return the DIAg:RESUlt:LOG command.
Description
- This query returns the test Pass/Fail status of each diagnostic area. It does not return the overall status.
Usage
- Using the
.query()method will send theDIAg:RESUlt:LOG?query. - Using the
.verify(value)method will send theDIAg:RESUlt:LOG?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- DIAg:RESUlt:LOG?
DiagResultFlag
¶
Bases: SCPICmdRead
The DIAg:RESUlt:FLAg command.
Description
- This query returns the status of the diagnostic test area that has been selected.
Usage
- Using the
.query()method will send theDIAg:RESUlt:FLAg?query. - Using the
.verify(value)method will send theDIAg:RESUlt:FLAg?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- DIAg:RESUlt:FLAg?
DiagResultLog
¶
Bases: SCPICmdRead
The DIAg:RESUlt:LOG command.
Description
- This query returns the test Pass/Fail status of each diagnostic area. It does not return the overall status.
Usage
- Using the
.query()method will send theDIAg:RESUlt:LOG?query. - Using the
.verify(value)method will send theDIAg:RESUlt:LOG?query and raise an AssertionError if the returned value does not matchvalue.
SCPI Syntax
- DIAg:RESUlt:LOG?
DiagSelect
¶
Bases: SCPICmdWrite, SCPICmdRead
The DIAg:SELect command.
Description
- Sets the type of diagnostics grouping.
Usage
- Using the
.write(value)method will send theDIAg:SELect valuecommand.
SCPI Syntax
- DIAg:SELect {ALL|APPKey|CPU|DISplay|FPAnel|IO|ROM|ACQ}
Info
ALLruns all diagnostic groups.APPKeyruns just the application key diagnostic group.CPUruns just the CPU diagnostic group.DISplayruns just the display circuit diagnostic group.FPAnelruns just the front panel diagnostic group.IOruns just the IO board diagnostic group.ROMruns just the IO board diagnostic group.ACQruns just the acquisition system diagnostic group.
Properties
.acq: TheDIAg:SELect:ACQcommand..appkey: TheDIAg:SELect:APPKeycommand..cpu: TheDIAg:SELect:CPUcommand..display: TheDIAg:SELect:DISplaycommand..fpanel: TheDIAg:SELect:FPAnelcommand..io: TheDIAg:SELect:IOcommand..rom: TheDIAg:SELect:ROMcommand.
acq
property
¶
acq: DiagSelectAcq
Return the DIAg:SELect:ACQ command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:ACQcommand.
SCPI Syntax
- DIAg:SELect:ACQ
Info
ACQtests the acquisition system.
appkey
property
¶
appkey: DiagSelectAppkey
Return the DIAg:SELect:APPKey command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:APPKeycommand.
SCPI Syntax
- DIAg:SELect:APPKey
Info
APPKeytests the application keys.
cpu
property
¶
cpu: DiagSelectCpu
Return the DIAg:SELect:CPU command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:CPUcommand.
SCPI Syntax
- DIAg:SELect:CPU
Info
CPUtests the CPU.
display
property
¶
display: DiagSelectDisplay
Return the DIAg:SELect:DISplay command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:DISplaycommand.
SCPI Syntax
- DIAg:SELect:DISplay
Info
DISplaytests the display.
fpanel
property
¶
fpanel: DiagSelectFpanel
Return the DIAg:SELect:FPAnel command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:FPAnelcommand.
SCPI Syntax
- DIAg:SELect:FPAnel
Info
FPAneltests the front panel controls.
io
property
¶
io: DiagSelectIo
Return the DIAg:SELect:IO command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:IOcommand.
SCPI Syntax
- DIAg:SELect:IO
Info
IOtests the IO ports.
rom
property
¶
rom: DiagSelectRom
Return the DIAg:SELect:ROM command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:ROMcommand.
SCPI Syntax
- DIAg:SELect:ROM
Info
ROMtests the system read only memory.
DiagSelectAcq
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:ACQ command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:ACQcommand.
SCPI Syntax
- DIAg:SELect:ACQ
Info
ACQtests the acquisition system.
DiagSelectAppkey
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:APPKey command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:APPKeycommand.
SCPI Syntax
- DIAg:SELect:APPKey
Info
APPKeytests the application keys.
DiagSelectCpu
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:CPU command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:CPUcommand.
SCPI Syntax
- DIAg:SELect:CPU
Info
CPUtests the CPU.
DiagSelectDisplay
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:DISplay command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:DISplaycommand.
SCPI Syntax
- DIAg:SELect:DISplay
Info
DISplaytests the display.
DiagSelectFpanel
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:FPAnel command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:FPAnelcommand.
SCPI Syntax
- DIAg:SELect:FPAnel
Info
FPAneltests the front panel controls.
DiagSelectIo
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:IO command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:IOcommand.
SCPI Syntax
- DIAg:SELect:IO
Info
IOtests the IO ports.
DiagSelectRom
¶
Bases: SCPICmdWriteNoArguments
The DIAg:SELect:ROM command.
Description
- Runs self-tests on the specified system subsystem.
Usage
- Using the
.write()method will send theDIAg:SELect:ROMcommand.
SCPI Syntax
- DIAg:SELect:ROM
Info
ROMtests the system read only memory.
DiagState
¶
Bases: SCPICmdWrite
The DIAg:STATE command.
Description
- This command starts or stops the oscilloscope diagnostic self-tests. Which self-test is
run is specified by the
DIAg:SELect: orDIAg:SELect:<function>commands.
Usage
- Using the
.write(value)method will send theDIAg:STATE valuecommand.
SCPI Syntax
- DIAg:STATE {EXECute|ABORt}
Info
EXECutestarts diagnostics.ABORtstops diagnostics at the end of the current loop.