User`s manual
STATus
The STATus subsystem reports the bit values of the Standard Operation
Status Register. Enables the Status Register to set a bit after a bit is set to 1
by the Standard Operation Register.
Subsystem Syntax STATus
:OPERation
[:EVENt]?
:ENABle <number>
: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.
• 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.
Example Reading the Operation Status Register after a Scanning Cycles
STAT:OPER? Returns the bit values of the
Standard Operation Status Register
read and print the register value +256 shows bit 8 is set to 1;
+0 shows bit 8 is set to 0
:OPERation:ENABle STATus:OPERation:ENABle <number> enables the Operation Status
Register to set a bit in the Status Register. For multiplexer modules, a bit 8
in the Operation Status Register set to 1, sets bit 7 in the Status Register 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.
• Related Commands: [ROUTe:]SCAN.
Example Enable the Status Register
STAT:OPER:ENAB 256 Enables bit 7 of the Status Register
54 Agilent E1346A Multiplexer Command Reference Chapter 5