Display.inputvalue() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Series 3700A System Switch/Multimeter 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 front-panel 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
3700AS-901-01 Rev. D/June 2018
$N
(on page 11-126)
(on page 11-128)
(on page 11-140)
(on page 11-141)
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 11: TSP command reference
Where saved
Default value
11-131

Advertisement

Table of Contents
loading

Table of Contents