Display.gettext() - Keithley 2601B Reference Manual

2600b series system sourcemeter instrument
Hide thumbs Also See for 2601B:
Table of Contents

Advertisement

Section 7: TSP command reference
The OUTPUT ON/OFF controls for SMU A or SMU B cannot be tracked by this function.
Example
key = display.getlastkey()
print(key)
Also see
display.locallockout
display.sendkey()

display.gettext()

This function reads the text displayed on the instrument front panel.
Type
TSP-Link accessible
Function
Yes
Usage
text = display.gettext()
text = display.gettext(embellished)
text = display.gettext(embellished, row)
text = display.gettext(embellished, row, columnStart)
text = display.gettext(embellished, row, columnStart, columnEnd)
text
embellished
row
columnStart
columnEnd
Details
Using the command without any parameters returns both lines of the display.
The $N character code is included in the returned value to show where the top line ends and the bottom line
begins. This is not affected by the value of embellished.
When embellished is set to true, all other character codes are returned along with the message. When
embellished is set to false, only the message and the $N character code is returned. For information on the
embedded character codes, see
The display is not switched to the user screen (the screen set using display.settext()). Text will be read
from the active screen.
7-64
(on page 7-69)
(on page 7-73)
Affected by
The returned value, which contains the text that is presently displayed
Indicates type of returned text: false (simple text); true (text with embedded
character codes)
Selects the row from which to read the text: 1 (row 1); 2 (row 2). If row is not
included, both rows of text are read
Selects the first column from which to read text; for row 1, the valid column numbers
are 1 to 20; for row 2, the valid column numbers are 1 to 32; if nothing is selected, 1
is used
Selects the last column from which to read text; for row 1, the valid column numbers
are 1 to 20; for row 2, the valid column numbers are 1 to 32; the default is 20 for row
1, and 32 for row 2
display.settext()
Series 2600B System SourceMeter® Instrument Reference Manual
On the front panel, press the MENU key and
then send the code shown here. This retrieves
the key code for the last pressed key.
Output:
6.80000e+01
Where saved
(on page 7-76).
Default value
2600BS-901-01 Rev. B / May 2013

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents