User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-95
display.getannunciators()
Remarks
This function returns a bitmap value that indicates which annunciators are turned on.
The 16- bit binary equivalent of the returned value is the bitmap. For example, assume
the returned value is 1028. The binary equivalent for this value is as follows:
0000010000000100
The above bitmap indicates that bits 3 and 11 are set. From the chart below, bit 3 and
bit 11 corresponds to the annunciators that are turned on (4W and REM). Notice that
the sum of the weighted values for bits 3 and 11 is the returned value (1028).
Annunciator
Bit
Weighted
Value
Annunciator
Bit
Weighted
Value
FILT
1
1
EDIT
9
256
MATH
2
2
ERR
10
512
4W
3
4
REM
11
1024
AUTO
4
8
TALK
12
2048
ARM
5
16
LSTN
13
4096
TRIG
6
32
SRQ
14
8192
*(star)
7
64
REAR
15
16384
SMPL
8
128
REL
16
32768
The following definitions exist:
display.ANNUNCIATOR_x
Where: x equals EDIT, ERROR, REMOTE, TALK, LISTEN, SRQ, REAR, REL,
FILTER, MATH, 4_WIRE, AUTO, ARM, TRIGGER, STAR, or SAMPLE
The values correspond to the annunciators listed above.
For example:
print(display.ANNUNCIATOR_EDIT)
2.560000000e+002
print(display.ANNUNCIATOR_TRIGGER)
3.200000000e+001
print(display.ANNUNCIATOR_AUTO)
8.000000000e+000
Example
Reads the annunciators that are turned on:
annun = display.getannunciators()
print(annun)
Output: 1.280000e+03
For the returned value of 1280, the binary equivalent is 0000010100000000. Bits 9
and 11 are set. Using the above chart in "Remarks", the REM and EDIT annunciators
are turned on.