diag
¶
The diag commands module.
These commands are used in the following models: MSO2
THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.
Please report an issue if one is found.
Commands and Queries
- 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:SELect?
- 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 or queries an available diagnostic area.
Usage
- Using the
.query()method will send theDIAg:SELect?query. - Using the
.verify(value)method will send theDIAg:SELect?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:SELect valuecommand.
SCPI Syntax
- DIAg:SELect {ALL|IO|ANALOG|SYSTEM|ASIC|ACQ|SIGNAL|MEMORY}
- DIAg:SELect?
Info
ALLIOANALOGSYSTEMASICACQSIGNALMEMORY
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, SCPICmdRead
The DIAg:SELect command.
Description
- This command selects or queries an available diagnostic area.
Usage
- Using the
.query()method will send theDIAg:SELect?query. - Using the
.verify(value)method will send theDIAg:SELect?query and raise an AssertionError if the returned value does not matchvalue. - Using the
.write(value)method will send theDIAg:SELect valuecommand.
SCPI Syntax
- DIAg:SELect {ALL|IO|ANALOG|SYSTEM|ASIC|ACQ|SIGNAL|MEMORY}
- DIAg:SELect?
Info
ALLIOANALOGSYSTEMASICACQSIGNALMEMORY
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.