Keithley SourceMeter 2600 Series Reference Manual page 300

Table of Contents

Advertisement

12-26 Instrument Control Library
Example
Reads the annunciators that are turned on:
annun = display.getannunciators()
print(annun)
Output:
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
• This function switches the display to the user screen, and then returns values to
Remarks
indicate row and column position, and cursor style.
• The
• With the cursor in the top row, the
the cursor in the bottom row, the
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,
Reads cursor position (row and column):
Example
row, column = display.getcursor()
print(row, column)
Output:
The above output indicates that the cursor is in Row 1 at Column 3.
2600S-901-01 Rev. A / May 2006
1.280000e+03
Returns the row for the present cursor position.
Returns the column for the present cursor position.
Returns the cursor style.
value is returned as 1 (top row) or 2 (bottom row).
row
position" on
Section
1.000000e+00 3.000000e+00
Return to
Series 2600 System SourceMeters Reference Manual
is returned as a value from 1 to 20. With
column
is returned as a value from 1 to 32.
column
14.
display.settext
Section 12 topics

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents