Instrument
SCPI Commands
STATus:QUEStionable:INSTrument:EVENt
STATus:QUEStionable:INSTrument:CONDition
STATus:QUEStionable:INSTrument:PTRansition
STATus:QUEStionable:INSTrument:NTRansition
STATus:QUEStionable:INSTrument:ENABle
- class InstrumentCls[source]
Instrument commands group definition. 10 total commands, 1 Subgroups, 5 group commands
- get_condition() int [source]
# SCPI: STATus:QUEStionable:INSTrument:CONDition value: int = driver.status.questionable.instrument.get_condition()
Returns the contents of the CONDition part of the status register to check for questionable instrument or measurement states. Reading the CONDition registers does not delete the contents.
- return
result: Condition bits in decimal representation
- get_enable() int [source]
# SCPI: STATus:QUEStionable:INSTrument:ENABle value: int = driver.status.questionable.instrument.get_enable()
Sets or queries the enable mask that allows true conditions in the EVENt part to be reported in the summary bit. If a bit in the ENABle part is 1, and the corresponding EVENt bit is true, a positive transition occurs in the summary bit. This transition is reported to the next higher level.
- return
arg_0: No help available
- get_event() int [source]
# SCPI: STATus:QUEStionable:INSTrument[:EVENt] value: int = driver.status.questionable.instrument.get_event()
Returns the contents of the EVENt part of the status register to check whether an event has occurred since the last reading. Reading an EVENt register deletes its contents.
- return
result: Event bits in decimal representation
- get_ntransition() int [source]
# SCPI: STATus:QUEStionable:INSTrument:NTRansition value: int = driver.status.questionable.instrument.get_ntransition()
Sets or queries the negative transition filter. Setting a bit in the negative transition filter shall cause a 1 to 0 transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event register.
- return
arg_0: No help available
- get_ptransition() int [source]
# SCPI: STATus:QUEStionable:INSTrument:PTRansition value: int = driver.status.questionable.instrument.get_ptransition()
Sets or queries the positive transition filter. Setting a bit in the positive transition filter shall cause a 0 to 1 transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event register.
- return
arg_0: No help available
- set_enable(arg_0: int) None [source]
# SCPI: STATus:QUEStionable:INSTrument:ENABle driver.status.questionable.instrument.set_enable(arg_0 = 1)
Sets or queries the enable mask that allows true conditions in the EVENt part to be reported in the summary bit. If a bit in the ENABle part is 1, and the corresponding EVENt bit is true, a positive transition occurs in the summary bit. This transition is reported to the next higher level.
- param arg_0
Bit mask in decimal representation
- set_ntransition(arg_0: int) None [source]
# SCPI: STATus:QUEStionable:INSTrument:NTRansition driver.status.questionable.instrument.set_ntransition(arg_0 = 1)
Sets or queries the negative transition filter. Setting a bit in the negative transition filter shall cause a 1 to 0 transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event register.
- param arg_0
No help available
- set_ptransition(arg_0: int) None [source]
# SCPI: STATus:QUEStionable:INSTrument:PTRansition driver.status.questionable.instrument.set_ptransition(arg_0 = 1)
Sets or queries the positive transition filter. Setting a bit in the positive transition filter shall cause a 0 to 1 transition in the corresponding bit of the associated condition register to cause a 1 to be written in the associated bit of the corresponding event register.
- param arg_0
No help available
Subgroups