Instrument

SCPI Commands

STATus:OPERation:INSTrument:EVENt
STATus:OPERation:INSTrument:CONDition
STATus:OPERation:INSTrument:PTRansition
STATus:OPERation:INSTrument:NTRansition
STATus:OPERation:INSTrument:ENABle
class InstrumentCls[source]

Instrument commands group definition. 10 total commands, 1 Subgroups, 5 group commands

get_condition() int[source]
# SCPI: STATus:OPERation:INSTrument:CONDition
value: int = driver.status.operation.instrument.get_condition()

Returns the contents of the CONDition part of the status register to check for operation 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:OPERation:INSTrument:ENABle
value: int = driver.status.operation.instrument.get_enable()

Controls or queries the ENABle part of the STATus:OPERation register. The ENABle defines which events in the EVENt part of the status register are forwarded to the OPERation summary bit (bit 7) of the status byte. The status byte can be used to create a service request.

return

arg_0: No help available

get_event() int[source]
# SCPI: STATus:OPERation:INSTrument[:EVENt]
value: int = driver.status.operation.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: No help available

get_ntransition() int[source]
# SCPI: STATus:OPERation:INSTrument:NTRansition
value: int = driver.status.operation.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:OPERation:INSTrument:PTRansition
value: int = driver.status.operation.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:OPERation:INSTrument:ENABle
driver.status.operation.instrument.set_enable(arg_0 = 1)

Controls or queries the ENABle part of the STATus:OPERation register. The ENABle defines which events in the EVENt part of the status register are forwarded to the OPERation summary bit (bit 7) of the status byte. The status byte can be used to create a service request.

param arg_0

No help available

set_ntransition(arg_0: int) None[source]
# SCPI: STATus:OPERation:INSTrument:NTRansition
driver.status.operation.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:OPERation:INSTrument:PTRansition
driver.status.operation.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