Operation#

SCPI Commands :

STATus:OPERation:CONDition
STATus:OPERation:ENABle
STATus:OPERation:NTRansition
STATus:OPERation:PTRansition
STATus:OPERation:[EVENt]
Commands in total: 10
Subgroups: 1
Direct child commands: 5
get_condition ( ) → str
# STATus:OPERation:CONDition
value: str = driver.status.operation.get_condition()

Quieries the content of the CONDition part of the STATus:OPERation register. This part contains information on the action currently being performed in the instrument. The content is not deleted after being read out because it indicates the current hardware status.

Returns:

condition: string

get_enable ( ) → str
set_enable ( enable: str ) → None
# STATus:OPERation:ENABle
# get:
value: str = driver.status.operation.get_enable()
# set:
driver.status.operation.set_enable(enable = 'abc')

Sets the bits of the ENABle part of the STATus:OPERation register. This setting determines which events of the Status-Event part are forwarded to the sum bit in the status byte. These events can be used for a service request.

Parameters:

enable – string

get_event ( ) → str
set_event ( value: str ) → None
# STATus:OPERation:[EVENt]
# get:
value: str = driver.status.operation.get_event()
# set:
driver.status.operation.set_event(value = 'abc')

Queries the content of the EVENt part of the STATus:OPERation register. This part contains information on the actions performed in the instrument since the last readout. The content of the EVENt part is deleted after being read out.

Parameters:

value – string

get_ntransition ( ) → str
set_ntransition ( ntransition: str ) → None
# STATus:OPERation:NTRansition
# get:
value: str = driver.status.operation.get_ntransition()
# set:
driver.status.operation.set_ntransition(ntransition = 'abc')

Sets the bits of the NTRansition part of the STATus:OPERation register. If a bit is set, a transition from 1 to 0 in the condition part causes an entry to be made in the EVENt part of the register. The disappearance of an event in the hardware is thus registered, for example the end of an adjustment.

Parameters:

ntransition – string

get_ptransition ( ) → str
set_ptransition ( ptransition: str ) → None
# STATus:OPERation:PTRansition
# get:
value: str = driver.status.operation.get_ptransition()
# set:
driver.status.operation.set_ptransition(ptransition = 'abc')

Sets the bits of the PTRansition part of the STATus:OPERation register. If a bit is set, a transition from 0 to 1 in the condition part causes an entry to be made in the EVENt part of the register. A new event in the hardware is thus registered, for example the start of an adjustment.

Parameters:

ptransition – string

Cloning the Group

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

Subgroups