Display.inputvalue() - Keithley 2601B Reference Manual

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

Advertisement

Series 2600B System SourceMeter® Instrument Reference Manual
Example 1
display.clear()
display.setcursor(1, 1)
display.settext("ABCDEFGHIJ$DKLMNOPQRST")
display.setcursor(2, 1)
display.settext("abcdefghijklm$Bnopqrstuvwxyz$F123456")
print(display.gettext())
print(display.gettext(true))
print(display.gettext(false, 2))
print(display.gettext(true, 2, 9))
print(display.gettext(false, 2, 9, 10))
This example shows how to retrieve the display text in multiple ways. The output is:
ABCDEFGHIJKLMNOPQRST$Nabcdefghijklmnopqrstuvwxyz123456
$RABCDEFGHIJ$DKLMNOPQRST$N$Rabcdefghijklm$Bnopqrstuvwxyz$F123456
abcdefghijklmnopqrstuvwxyz123456
$Rijklm$Bnopqrstuvwxyz$F123456
ij
Example 2
display.clear()
display.settext("User Screen")
text = display.gettext()
print(text)
This outputs all text in both lines of the display:
User Screen
This indicates that the message "User Screen" is on the top line. The bottom line is blank.
Also see
display.clear()
display.getcursor()
display.setcursor()
display.settext()

display.inputvalue()

This function displays a formatted input field on the instrument display that the operator can edit.
Type
TSP-Link accessible
Function
Yes
Usage
display.inputvalue(format)
display.inputvalue(format, default)
display.inputvalue(format, default, minimum)
display.inputvalue(format, default, minimum, maximum)
format
default
minimum
maximum
2600BS-901-01 Rev. B / May 2013
$N
(on page 7-60)
(on page 7-62)
(on page 7-75)
(on page 7-76)
Affected by
A string that defines how the input field is formatted; see Details for more information
The default value for the input value
The minimum input value
The maximum input value
Section 7: TSP command reference
Where saved
Default value
7-65

Advertisement

Table of Contents
loading

This manual is also suitable for:

2604b2614b2634b2635b2636b2602b ... Show all

Table of Contents