![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750185.webp)
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 3: Functions and features
2657A-901-01 Rev. B/December 2012
3-71
The function to set cursor position can be used two ways:
display.setcursor(
row
,
column
)
display.setcursor(
row
,
column
,
style
)
Where:
row
1
or
2
column
1
to
20
(row 1)
1
to
32
(row 2)
style
0
(invisible)
1
(blink)
When set to 0, the cursor will not be seen. When set to 1, a display character will blink to indicate its
position.
The
display.getcursor()
function returns the present cursor position, and can be used three
ways:
row
,
column
,
style
= display.getcursor()
row
,
column
= display.getcursor()
row
= display.getcursor()
The following programming example illustrates how to position the cursor on row 2, column 1, and
then read the cursor position:
display.setcursor(2, 1)
row, column = display.getcursor()
print(row, column)
Output:
2.00 1.00
Displaying text messages
To define and display a message, use the
display.settext(
text
)
function (
text
is the text
string to be displayed). The message will start at the present cursor position. The following
programming example illustrates how to display “Test in Process” on the top line, and “Do Not
Disturb” on the bottom line:
display.clear()
display.setcursor(1, 1, 0)
display.settext("Test in Process")
display.setcursor(2, 6, 0)
display.settext("Do Not Disturb")
Содержание 2657A
Страница 3: ......