Display.inputvalue() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power 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
2651A-901-01 Rev. A / March 2011
$N
(on page 7-54)
(on page 7-56)
(on page 7-69)
(on page 7-70)
Affected by
Where saved
Default value
Section 7: Command reference
7-59

Advertisement

Table of Contents
loading

Table of Contents