diag
¶
The diag commands module.
These commands are used in the following models: LPD6, MSO4, MSO4B, MSO5, MSO5B, MSO5LP, MSO6, MSO6B
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- DIAg:LOOP:OPTion {FAIL|ONCE|ALWAYS|ONFAIL|NTIMES}
- DIAg:LOOP:OPTion:NTIMes <NR1>
- DIAg:LOOP:OPTion:NTIMes?
- DIAg:LOOP:OPTion?
- DIAg:LOOP:STOP
- DIAg:MODe {POST|EXTENDED|SERVICE}
- DIAg:MODe?
- DIAg:RESUlt:FLAg?
- DIAg:RESUlt:LOG?
- DIAg:RESUlt?
- DIAg:SELect {ALL|IO|ANALOG|SYSTEM|ASIC|ACQ|SIGNAL|MEMORY}
- 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
.loop: TheDIAg:LOOPcommand tree..mode: TheDIAg:MODecommand..result: TheDIAg:RESUltcommand..select: TheDIAg:SELectcommand..state: TheDIAg:STATEcommand.
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.
mode
property
¶
mode: DiagMode
Return the DIAg:MODe command.
Description
- This command sets or queries the diagnostics mode.
Usage
- Using the
.query()method will send theDIAg:MODe?query. - Using the
.verify(value)method will send theDIAg:MODe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:MODe valuecommand.
SCPI Syntax
- DIAg:MODe {POST|EXTENDED|SERVICE}
- DIAg:MODe?
Info
POSTspecifies the power on self test diagnostics.EXTENDEDspecifies the extended diagnostics.SERVICEspecifies the service diagnostics.
result
property
¶
result: DiagResult
Return the DIAg:RESUlt command.
Description
- This query returns both the overall diagnostics test results and the results of each individual test area.
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.
SCPI Syntax
- DIAg:RESUlt?
Sub-properties
.flag: TheDIAg:RESUlt:FLAgcommand..log: TheDIAg:RESUlt:LOGcommand.
select
property
¶
select: DiagSelect
Return the DIAg:SELect command.
Description
- This command selects an available diagnostic area.
Usage
- Using the
.write(value)method will send theDIAg:SELect valuecommand.
SCPI Syntax
- DIAg:SELect {ALL|IO|ANALOG|SYSTEM|ASIC|ACQ|SIGNAL|MEMORY}
Info
ALLselects all diagnostic areas.IOselects the IO group.ANALOGselects the ANALOG diagnostic area.SYSTEMselects the SYSTEM diagnostic area.ASICselects the ASIC diagnostic area.ACQselects the ACQ diagnostic area.SIGNALselects the SIGNAL diagnostic area.MEMORYselects the MEMORY diagnostic area.
state
property
¶
state: DiagState
Return the DIAg:STATE command.
Description
- This command starts or aborts Self Test. Abort happens after group under test completes.
Usage
- Using the
.write(value)method will send theDIAg:STATE valuecommand.
SCPI Syntax
- DIAg:STATE {EXECute|ABOrt}
Info
EXECutestarts execution of the diagnostics.ABOrtdisables diagnostics capabilities and returns the instrument to a normal operating state.
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
- This command sets or queries the type of looping desired.
Usage
- Using the
.query()method will send theDIAg:LOOP:OPTion?query. - Using the
.verify(value)method will send theDIAg:LOOP:OPTion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:LOOP:OPTion valuecommand.
SCPI Syntax
- DIAg:LOOP:OPTion {FAIL|ONCE|ALWAYS|ONFAIL|NTIMES}
- DIAg:LOOP:OPTion?
Info
FAIL- run until a failure is found, then halt.ONCE- run through one loop.ALWAYS- run forever.ONFAIL- run until a failure is found, then loop on it.NTIMES- run 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
- This command sets or queries the type of looping desired.
Usage
- Using the
.query()method will send theDIAg:LOOP:OPTion?query. - Using the
.verify(value)method will send theDIAg:LOOP:OPTion?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:LOOP:OPTion valuecommand.
SCPI Syntax
- DIAg:LOOP:OPTion {FAIL|ONCE|ALWAYS|ONFAIL|NTIMES}
- DIAg:LOOP:OPTion?
Info
FAIL- run until a failure is found, then halt.ONCE- run through one loop.ALWAYS- run forever.ONFAIL- run until a failure is found, then loop on it.NTIMES- run 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
DiagMode
¶
Bases: SCPICmdWrite, SCPICmdRead
The DIAg:MODe command.
Description
- This command sets or queries the diagnostics mode.
Usage
- Using the
.query()method will send theDIAg:MODe?query. - Using the
.verify(value)method will send theDIAg:MODe?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:MODe valuecommand.
SCPI Syntax
- DIAg:MODe {POST|EXTENDED|SERVICE}
- DIAg:MODe?
Info
POSTspecifies the power on self test diagnostics.EXTENDEDspecifies the extended diagnostics.SERVICEspecifies the service diagnostics.
DiagResult
¶
Bases: SCPICmdRead
The DIAg:RESUlt command.
Description
- This query returns both the overall diagnostics test results and the results of each individual test area.
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.
SCPI Syntax
- DIAg:RESUlt?
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
The DIAg:SELect command.
Description
- This command selects an available diagnostic area.
Usage
- Using the
.write(value)method will send theDIAg:SELect valuecommand.
SCPI Syntax
- DIAg:SELect {ALL|IO|ANALOG|SYSTEM|ASIC|ACQ|SIGNAL|MEMORY}
Info
ALLselects all diagnostic areas.IOselects the IO group.ANALOGselects the ANALOG diagnostic area.SYSTEMselects the SYSTEM diagnostic area.ASICselects the ASIC diagnostic area.ACQselects the ACQ diagnostic area.SIGNALselects the SIGNAL diagnostic area.MEMORYselects the MEMORY diagnostic area.
DiagState
¶
Bases: SCPICmdWrite
The DIAg:STATE command.
Description
- This command starts or aborts Self Test. Abort happens after group under test completes.
Usage
- Using the
.write(value)method will send theDIAg:STATE valuecommand.
SCPI Syntax
- DIAg:STATE {EXECute|ABOrt}
Info
EXECutestarts execution of the diagnostics.ABOrtdisables diagnostics capabilities and returns the instrument to a normal operating state.