Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-82
707B-901-01 Rev. A / August 2010
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")
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.
Also see
(on page 7-70)
(on page 7-80)
(on page 7-82)
display.settext()
This function displays text on the user screen.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
display.settext(text)
text
Text message to be displayed, with optional character codes