Operation
SCPI Commands :
STATus:OPERation[:EVENt]
STATus:OPERation:CONDition
STATus:OPERation:PTRansition
STATus:OPERation:NTRansition
- Commands in total: 4Subgroups: 0Direct child commands: 4
- get_condition() str[source]
# STATus:OPERation:CONDition value: str = driver.status.operation.get_condition()
Returns the bit of the action the instrument is currently executing. The contents of the STATus:OPERation register is retained. The bit assignment is described in ‘STATus:OPERation register’.
- get_event() int[source]
# STATus:OPERation[:EVENt] value: int = driver.status.operation.get_event()
The CONDition command returns information on actions the instrument is currently executing. The contents of the register is retained. The EVENt command returns information on actions the instrument has executed since the last reading. Reading the EVENt register deletes its contents. Bits:
0 = ALIGnment
2 = AUToset
4= MEASuring
5= WTRIgger (wait for trigger)
6= TRIggered
- get_ntransition() int[source]
# STATus:OPERation:NTRansition value: int = driver.status.operation.get_ntransition()
The command sets the bits of the NTRansition part of the STATus:OPERation register. A bit set in the NTRansition register causes a bit transition from 1 to 0 in the CONDition register to produce an entry in the EVENt register. Reading the information does not clear the register.
- get_ptransition() int[source]
# STATus:OPERation:PTRansition value: int = driver.status.operation.get_ptransition()
The command sets the bits of the PTRansition part of the STATus:OPERation register. A bit set in the PTRansition register causes a bit transition from 0 to 1 in the CONDition register to produce an entry in the EVENt register. Reading the information does not clear the register.
- set_ntransition(value: int) None[source]
# STATus:OPERation:NTRansition driver.status.operation.set_ntransition(value = 1)
The command sets the bits of the NTRansition part of the STATus:OPERation register. A bit set in the NTRansition register causes a bit transition from 1 to 0 in the CONDition register to produce an entry in the EVENt register. Reading the information does not clear the register.
- Parameters:
value – 0 to 65535
- set_ptransition(value: int) None[source]
# STATus:OPERation:PTRansition driver.status.operation.set_ptransition(value = 1)
The command sets the bits of the PTRansition part of the STATus:OPERation register. A bit set in the PTRansition register causes a bit transition from 0 to 1 in the CONDition register to produce an entry in the EVENt register. Reading the information does not clear the register.
- Parameters:
value – 0 to 65535