EasyManuals Logo

Tektronix Keithley 2601B-PULSE Reference Manual

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
Page #90 background imageLoading...
Page #90 background image
Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 3: Instrument description
2601B-PULSE-901-01A April 2020 3-19
Displaying text messages
To define and display a message, use the display.settext(text) function, where text is the
text string to be displayed. The message starts at the present cursor position. The following
programming example illustrates how to display Test in Process on the top line, and Do Not
Disturb on the bottom line:
display.clear()
display.setcursor(1, 1, 0)
display.settext("Test in Process")
display.setcursor(2, 6, 0)
display.settext("Do Not Disturb")
Character codes
These special codes can be embedded in the text string to configure and customize the message:
$N Starts text on the next line (newline). If the cursor is already on line 2, text is ignored after
the ‘$N’ is received.
$R Sets text to Normal.
$B Sets text to Blink.
$D Sets text to Dim intensity.
$F Set text to background blink.
$$ Escape sequence to display a single “$”.
In addition to displaying alphanumeric characters, you can display other special characters. Refer to
Display character codes (on page 16-1) for a list of special characters and their corresponding codes.
The following programming example illustrates how to display the Greek symbol omega (Ω) :
display.clear()
c = string.char(18)
display.settext(c)
The following programming example illustrates how to use the $N and $B character codes to display
the message Test in Process on the top line and the blinking message Do Not Disturb on the
bottom line:
display.clear()
display.settext("Test in Process $N$BDo Not Disturb")
The following programming example illustrates how to use the $$ character code to display the
message You owe me $8 on the top line:
display.clear()
display.setcursor(1, 1)
display.settext("You owe me $$8")
If the extra $ character is not included, the $8 is interpreted as an undefined character code and is
ignored. The message You owe me is displayed.

Table of Contents

Other manuals for Tektronix Keithley 2601B-PULSE

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix Keithley 2601B-PULSE and is the answer not in the manual?

Tektronix Keithley 2601B-PULSE Specifications

General IconGeneral
BrandTektronix
ModelKeithley 2601B-PULSE
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals