Series 2600 System SourceMeters Reference Manual Instrument Control Library 12-25
Return to Section 12 topics 2600S-901-01 Rev. A / May 2006
display functions and attributes
The functions and attributes in this group are used for various display operations, which
are explained in
Section 14.
display.clear
Function Clears all lines of the display.
Usage
display.clear()
Remarks
• This function will switch to the user screen and then clear the display.
•The display.clear(), display.setcursor, and display.settext
functions are overlapped, non-blocking commands. That is, the script will NOT
wait for one of these commands to complete. These non-blocking functions do not
immediately update the display. For performance considerations, they write to a
shadow and will update the display as soon as processing time becomes
available.
Details See “Clearing the display” in Section 14.
Also see display.setcursor, display.settext
display.getannunciators
Function Reads the annunciators that are presently turned on.
Usage
annun = display.getannunciators()
annun Returns the bitmap value for annunciators that are turned on.
Remarks This function returns a bimap 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
Details See “Annunciators” on Section 14.