Keithley 2601 Reference Manual page 284

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Section 12: Instrument Control Library
Function
Reads the annunciators that are presently turned on.
Usage
annun = display.getannunciators()
Returns the bitmap value for annunciators that are turned on.
annun
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).
AnnunciatorBitWeighted ValueAnnunciatorBitWeighted Value
FILT1 1 EDIT9256
MATH22 ERR10512
4W 3 4 REM111024
AUTO48 TALK122048
ARM5 16 LSTN134096
TRIG6 32 SRQ148192
* (star)764 REAR1516384
SMPL8128REL1632768
Details
See "Annunciators" in
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.
display.getcursor
Function
Reads the present position of the cursor for the user display.
Usage
row, column, style = display.getcursor()
row
column
style
Remarks
• This function switches the display to the user screen, and then returns values to indicate
row and column position, and cursor style.
• The row value is returned as 1 (top row) or 2 (bottom row).
• With the cursor in the top row, the column is returned as a value from 1 to 20. With the
cursor in the bottom row, the column is returned as a value from 1 to 32. Columns are
numbered from left to right on the display.
• The returned value for style is 0 (invisible) or 1 (blink).
Details
See
"Cursor
Also see
display.gettext, display.screen, display.setcursor,
Example
Reads cursor position (row and column):
row, column = display.getcursor()
print(row, column)
Output: 1.000000e+00 3.000000e+00
The above output indicates that the cursor is in Row 1 at Column 3.
12-24
Section
14.
Returns the row for the present cursor position.
Returns the column for the present cursor position.
Returns the cursor style.
position" in
Section
14.
Return to
Section Topics
Series 2600 System SourceMeter® Instruments Reference Manual
display.settext
2600S-901-01 Rev. C / January 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents