2600S-901-01 Rev. C / January 2008
Return to
14-5
Series 2600 System SourceMeter® Instruments Reference Manual
Section 14: Display Operations
Figure 14-1
Row/column format for display messaging
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Row 1
Row 2
Columns (for Row 1)
120
Columns (for Row 2)
1
32
Series 2600 Display
X = display character
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()
Example
: The following code positions the cursor on Row 2, Column 1, and then reads the cursor
position:
display.setcursor(2, 1)
row, column = display.getcursor()
print (row, column)
Output: 2.00 1.00
Displaying text messages
The
display.settext
function is used to define and display a message. The message will start at
the present cursor position.
display.settext(text)
where:
text
is the text string to be displayed.