Display.setcursor() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual

display.setcursor()

This function sets the position of the cursor.
Type
TSP-Link accessible
Function
Yes
Usage
display.setcursor(row, column)
display.setcursor(row, column, style)
row
column
style
Details
Sending this command selects the user screen and then moves the cursor to the given location.
The display.clear(), display.setcursor(), and display.settext() functions are overlapped,
nonblocking commands. That is, the script does not wait for one of these commands to complete. These
nonblocking functions do not immediately update the display. For performance considerations, they update the
physical display as soon as processing time becomes available.
An out-of-range parameter for row sets the cursor to Row 2. An out-of-range parameter for column sets the
cursor to Column 20 for Row 1, or 32 for Row 2.
An out-of-range parameter for style sets it to 0 (invisible).
A blinking cursor is only visible when it is positioned over displayed text. It cannot be seen when positioned over
a space character.
Example
display.clear()
display.setcursor(1, 8)
display.settext("Hello")
display.setcursor(2, 14)
display.settext("World")
Also see
display.clear()
display.getcursor()
display.gettext()
display.screen
display.settext()
2651A-901-01 Rev. A / March 2011
Affected by
The row number for the cursor (1 or 2)
The active column position to set; row 1 has columns 1 to 20, row 2 has columns 1
to 32
Set the cursor to invisible (0, default) or blinking (1)
(on page 7-54)
(on page 7-56)
(on page 7-58)
(on page 7-67)
(on page 7-70)
Where saved
Default value
This example displays the message "Hello
World" on the instrument front panel,
approximately center. Note that the top line of
text is larger than the bottom.
Section 7: Command reference
7-69

Advertisement

Table of Contents
loading

Table of Contents