EasyManua.ls Logo

Tektronix Keithley 2601B-PULSE

Tektronix Keithley 2601B-PULSE
849 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 11: TSP command reference Model 2601B-PULSE System SourceMeter Instrument Reference Manual
11-56 2601B-PULSE-901-01A April 2020
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
Function
Yes
Usage
row, column, style = display.getcursor()
row
The row where the cursor is: 1 (top row); 2 (bottom row)
column
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
style
Visibility of the cursor:
â–ª Invisible: 0
â–ª Blinking: 1
Details
This function switches the front-panel 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:
1.00000e+00 1.00000e+00
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
0.00000e+00
Also see
display.gettext() (on page 11-58)
display.screen (on page 11-67)
display.setcursor() (on page 11-69)
display.settext() (on page 11-70)

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Related product manuals