Agilent Technologies E1465A Automobile Parts User Manual


 
Matrix Modules Command Reference 71Chapter 4
Example Querying the Enable Register in the OPERation Status Register
STAT:OPER:ENAB?
! Query the Enable Register in the
OPERation Status Register
STATus:OPERation[:EVENt]?
STATus:OPERation[:EVENt]? returns which bits in the Event Register within
the OPERation Status Register are set. The Event Register indicates that
a time-related instrument event has occurred.
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 (zero) after sending
STATus:OPERation[:EVENt]?.
Returned Data after sending STATus:OPERation[:EVENt]?: 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.
Event Register Cleared: Reading the Event Register within the OPERation
Status Register with STATus:OPERation:EVENt? clears the Event Register.
Aborting a Scan: Aborting a scan will leave bit 8 set to 0.
Related Commands: [ROUTe:]SCAN
Example Reading the OPERation Status Register After a Scanning Cycle
STAT:OPER?
! Return the bit values of the Event
Register within the OPERation
Status Register
read the register value
+ 256 shows bit 8 is set to 1.
+0 shows bit 8 is set to 0.
STATus:PRESet
STATus:PRESet affects only the Enable Register within the OPERation
Status Register by setting all Enable Register bits to 0. It does not affect
either the Status Byte Register or the Standard Event Status Register.
STATus:PRESet does not clear any of the Event Registers.