Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-56
Document Number: 3700S-901-01 Rev. A / August 2007
display.getcursor
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 9-57)
display.screen
(on page 9-64)
display.setcursor
(on page 9-65)
display.settext
(on page 9-66)
Example
Reads cursor position (row and column):
row, column = display.getcursor()
print(row, column)
Output: 1.00 3.00
The above output indicates that the cursor is in Row 1 at Column 3.