Operation
SCPI Commands :
STATus:OPERation:CONDition
STATus:OPERation:ENABle
STATus:OPERation:NTRansition
STATus:OPERation:PTRansition
STATus:OPERation:[EVENt]
- Commands in total: 10Subgroups: 1Direct child commands: 5
- get_condition() str[source]
# 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[source]
# STATus:OPERation:ENABle value: str = driver.status.operation.get_enable()
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.
- Returns:
enable: string
- get_event() str[source]
# STATus:OPERation:[EVENt] value: str = driver.status.operation.get_event()
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.
- get_ntransition() str[source]
# STATus:OPERation:NTRansition value: str = driver.status.operation.get_ntransition()
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.
- Returns:
ntransition: string
- get_ptransition() str[source]
# STATus:OPERation:PTRansition value: str = driver.status.operation.get_ptransition()
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.
- Returns:
ptransition: string
- set_enable(enable: str) None[source]
# STATus:OPERation:ENABle 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
- set_event(value: str) None[source]
# STATus:OPERation:[EVENt] 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.
- set_ntransition(ntransition: str) None[source]
# STATus:OPERation:NTRansition 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
- set_ptransition(ptransition: str) None[source]
# STATus:OPERation:PTRansition 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