User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-96 3700S-901-01 Rev. C / July 2008
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.
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).
Also see
display.gettext() (on page 13-97)
display.screen (on page 13-104)
display.setcursor() (on page 13-105)
display.settext() (on page 13-106)
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.
display.getlastkey()
Function
Retrieves the key code for the last pressed key.
Usage
key = display.getlastkey()