7: TSP command reference Series 2600B System SourceMeter® Instrument
7-62 2600BS-901-01 Rev. B / May 2013
Example 2
print(display.ANNUNCIATOR_EDIT)
print(display.ANNUNCIATOR_TRIGGER)
print(display.ANNUNCIATOR_AUTO)
Output:
2.56000e+02
3.20000e+01
Also see
bit.bitand() (on page 7-8)
display.getcursor()
This function reads the present position of the cursor on the front panel display.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
row, column, style = display.getcursor()
The row where the cursor is:
(top row);
(bottom row)
The column where the cursor is:
• If the cursor is in the top row: 1 to 20
• If the cursor is in the bottom row: 1 to 32
Visibility of the cursor: 0 (invisible cursor); 1 (blinking cursor)
Details
This function switches the display to the user screen (the text set by display.settext()), and then returns
values to indicate the cursor's row and column position and cursor style.
Columns are numbered from left to right on the display.
Example 1
testRow, testColumn = display.getcursor()
print(testRow, testColumn)
This example reads the cursor position
into local variables and prints them.
Example output:
Example 2
print(display.getcursor())
This example prints the cursor position
directly. In this example, the cursor is in
row 1 at column 3, with an invisible cursor:
1.00000e+00 3.00000e+00
Also see
display.gettext() (on page 7-64)
display.screen (on page 7-73)
display.setcursor() (on page 7-75)
display.settext() (on page 7-76)