STATus
The STATus subsystem reports the bit values of the Operation Status Register. This enables the Status Register to set a bit after a bit is set to 1 by the Operation Status Register.
Subsystem Syntax | STATus |
|
| |
| :OPERation |
|
| |
| :ENABle <number> |
| ||
| [:EVENt]? |
|
| |
:OPERation:ENABle | STATus:OPERation:ENABle <number> enables the Operation Status | |||
| Register to set a bit in the Status Register. For multiplexer modules, when | |||
| bit 8 in the Operation Status Register is set to 1, bit 7 in the Status Register | |||
| is set to 1. |
|
| |
Parameters |
|
|
|
|
|
|
|
| |
| Parameter Name |
| Parameter Type | Range of Values |
|
|
|
|
|
| number |
| Numeric | 1 - 32768 |
|
|
|
| |
Comments | ∙ Setting Bit 7 of the Status Register: STATus:OPERation:ENABle |
256 sets bit 7 of the Status Register to 1 after bit 8 of the Operation Status Register is set to 1.
∙Disabling STATus:OPERation: The STATus:PRESet command disables the STATus:OPERation:ENABle command.
∙Related Commands: [ROUTe:]SCAN, *SRE, *STB?, *SPOLL, STATus:PRESet
Example Enable the Status Register Bit 7
STAT:OPER:ENAB 256 | Enables bit 7 of the Status Register. |
:OPERation[:EVENt]? STATus:OPERation[:EVENt]? returns the bit value of the Operation Status Register (only bit 8 is used by the multiplexer modules).
Comments ∙ Setting Bit 8 of the Operation Status Register: Bit 8 (Scan Complete) is set to 1 after a scanning cycle completes. Bit 8 returns to 0 after sending the STATus:OPERation[:EVENt]? command. For correct operation set to 0 by *CLS before scanning.
∙Returned Data after sending the STATus:OPERation[:EVENt]?
Command: The command returns +256 if bit 8 of the Operation Status Register is set to 1. The command returns +0 if bit 8 of the Operation Status Register is set to 0.
∙Related Commands: [ROUTe:]SCAN, *SRE, *STB?, *SPOLL
Example Reading the Operation Status Register after a Scanning Cycle
STAT:OPER? | Reads the register value |
read and print the register value | +256 shows bit 8 is set to 1; +0 |
| shows bit 8 is set to 0. |
70 HP E1351A/53A | Chapter 5 |