
Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-55
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
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
Example
Reads the annunciators that are turned on:
annun = display.getannunciators()
print(annun)
Output: 1.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.
display.getcursor
Function
Reads the present position of the cursor for the user display.
Usage
row, column, style = display.getcursor()
row
: Returns the row for the present cursor position.
column
: Returns the column for the present cursor position.
style
: Returns the cursor style.