Operation

SCPI Commands :

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

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

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

Returns the contents of the CONDition part of the status register. Reading the CONDition registers is nondestructive. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

return:

register_value: integer Range: 0 to 65535 (decimal representation)

get_enable() int[source]
# SCPI: STATus:OPERation:ENABle
value: int = driver.status.operation.get_enable()

Sets the enable mask which allows true conditions in the EVENt part of the status register to be reported to the next higher level in the summary bit. If a bit is 1 in the enable register and the associated event bit changes to true, a positive transition occurs in the summary bit. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

return:

register_value: No help available

get_event() int[source]
# SCPI: STATus:OPERation[:EVENt]
value: int = driver.status.operation.get_event()

Returns the contents of the EVENt part of the status register. Reading an EVENt part clears it. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

return:

register_value: integer Range: 0 to 65535 (decimal representation)

get_ntransition() int[source]
# SCPI: STATus:OPERation:NTRansition
value: int = driver.status.operation.get_ntransition()

Sets the negative transition filter. If a bit is set, a 1 to 0 transition in the corresponding bit of the condition register writes a 1 to the corresponding bit of the event register. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

return:

register_value: No help available

get_ptransition() int[source]
# SCPI: STATus:OPERation:PTRansition
value: int = driver.status.operation.get_ptransition()

Sets the positive transition filter. If a bit is set, a 0 to 1 transition in the corresponding bit of the condition register writes a 1 to the corresponding bit of the event register. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

return:

register_value: No help available

set_enable(register_value: int) None[source]
# SCPI: STATus:OPERation:ENABle
driver.status.operation.set_enable(register_value = 1)

Sets the enable mask which allows true conditions in the EVENt part of the status register to be reported to the next higher level in the summary bit. If a bit is 1 in the enable register and the associated event bit changes to true, a positive transition occurs in the summary bit. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

param register_value:

integer Range: 0 to 65535 (decimal representation)

set_ntransition(register_value: int) None[source]
# SCPI: STATus:OPERation:NTRansition
driver.status.operation.set_ntransition(register_value = 1)

Sets the negative transition filter. If a bit is set, a 1 to 0 transition in the corresponding bit of the condition register writes a 1 to the corresponding bit of the event register. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

param register_value:

integer Range: 0 to 65535 (decimal representation)

set_ptransition(register_value: int) None[source]
# SCPI: STATus:OPERation:PTRansition
driver.status.operation.set_ptransition(register_value = 1)

Sets the positive transition filter. If a bit is set, a 0 to 1 transition in the corresponding bit of the condition register writes a 1 to the corresponding bit of the event register. For a description of the variables <netw_std>, <func_grp> and <appl>, refer to Table ‘Variables in STATus:OPERation commands’.

param register_value:

integer Range: 0 to 65535 (decimal representation)

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.status.operation.clone()

Subgroups