8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-52 2450-901-01 Rev. B/September 2013
display.settext()
This function defines the text that is displayed on the front-panel User Display screen.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
display.settext(display.TEXT1, userDisplayText1)
display.settext(display.TEXT2, userDisplayText2)
String that contains the message for the top line of the User Display screen (up to
20 characters)
String that contains the message for the bottom line of the User Display screen (up
Details
These commands define text messages for the User Display swipe screen.
If you enter too many characters, the instrument displays an error message and shortens the message to fit.
Example
display.changescreen(display.SCREEN_USER_SWIPE)
display.settext(display.TEXT1, "Batch A122")
display.settext(display.TEXT2, "Test running")
Clear the User Display screen and switch
to display the User Display screen.
Set the first line to read "Batch A122"
and the second line to display "Test
Also see
display.clear() (on page 8-48)
display.changescreen (on page 8-47)