Status Tutorial; Status Registers; Alarm Channel Groups - Keysight Technologies BT2152B Operating And Service Manual

Self-discharge analyzer
Table of Contents

Advertisement

4 Programming Reference

Status Tutorial

Status Registers

Alarm Channel Groups

Alarm Status Group
Standard Operation Group
Status Byte Register
Error and Output Queues
Status Diagram
This section provides a detailed description of the individual registers and register groups. The status
diagram at the end of this topic shows how the status registers and groups are interconnected.
Status Registers
The Alarm Channel, Alarm Status, and Standard Operation groups use three different type of registers
to track qualify, flag, and enable instrument events.
A Condition register continuously monitors the state of the instrument. The bits in the condition
l
register are updated in real time and the bits are not latched or buffered.
An Event register latches the various events from the condition register. There is no buffering in this
l
register; while an event bit is set, subsequent events corresponding to that bit are ignored. This is a
read-only register.
An Enable register defines which bits in the event register will be reported to the Status Byte register
l
group. You can write to or read from an enable register.
To program individual bits in any register group, you must send a value that corresponds to the binary-
weighted value of all the bits that you wish to enable. For example, to enable bit 2 (decimal value = 4)
and bit 4 (decimal value = 16), the corresponding decimal value would be 20 (4 + 16).Similarly, any
register queries return the binary-weighted value of the bits that have been set. For example, with bit
3 (value 8) and bit 5 (value 32) being set, the query returns +40.
Alarm Channel Groups
These registers record signals that indicate abnormal conditions on specific channels. There are three
condition groups - one for each abnormal condition: over-voltage, over-current, and under-voltage.
The group channel assignments are 32-bit unsigned values where each bit represents one channel.
Channel 1 is represented by bit 0; channel 32 by bit 32. A "1" in a bit position indicates that the
indicated alarm condition is true. When true, the affected channel is shut down.
The channel bits are logically-ORed into bits 0, 1, and 9 of the Alarm Status Group. The following table
describes the bit assignments.
98
Keysight BT2152A/B Operating and Service Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bt2152a

Table of Contents