14-6 Display Operations Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006 Return to Section 14 topics
Figure 14-1
Row/column format for display messaging
XXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Row 1
Row 2
Columns (for Row 1)
1 20
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.000000e+00 1.000000e+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.