Status Commands - Keysight Technologies BT2152B Operating And Service Manual

Self-discharge analyzer
Table of Contents

Advertisement

4 Programming Reference

Status Commands

Status commands let you determine the operating condition of the instrument at any time. Refer to
Status Tutorial
for more information.
STATus:ALARm[EVENt]?
Returns the sum of the bits in the event register for the Status Alarm Register group. An event register
is a read-only register that latches events from the condition register. While an event bit is set,
subsequent events corresponding to that bit are ignored. The register bits are cleared when you read
the register.
Parameter
(none)
Read the event alarm register: STAT:ALAR?
Once a bit is set, it remains set until cleared by reading the event register or by sending *CLS (clear
l
status).
The value returned is the binary-weighted sum of all bits set in the register.
l
STATus:ALARm:CONDiton?
Returns the sum of the bits in the condition register for the Status Alarm Register group. Condition
register bits are updated in real time; they are neither latched nor buffered. This register is read-only;
bits are not cleared when read. The alarm status group consists of the OVP, UVP, and OCP status bits
in the Status Questionable registers.
Parameter
(none)
Read the event alarm register: STAT:ALAR:COND?
The condition register bits reflect the current condition. If a condition goes away, the corresponding
l
bit is cleared in the condition register.
The value returned is the binary-weighted sum of all bits set in the register.
l
STATus:ALARm:ENABle <value>
STATus:ALARm:ENABle?
Enables bits in the condition register for the Status Alarm Register group. The selected bits are then
reported to the Status Byte. An enable register defines which bits in the event register will be reported
to the Status Byte register group. You can write to or read from an enable register.
86
Typical Return
<bit value>
Typical Return
<bit value>
Keysight BT2152A/B Operating and Service Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bt2152a

Table of Contents