Keithley DMM7510 Reference Manual page 678

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
display.input.string()
This function allows you to create a dialog box that requests text from the user through the front-panel display.
Type
TSP-Link accessible
Function
Yes
Usage
textEntered = display.input.string(dialogTitle)
textEntered = display.input.string(dialogTitle, textFormat)
textEntered
dialogTitle
textFormat
Details
This command creates a prompt to the instrument operator to enter a string value.
The prompt is displayed until it has been responded to. You can only send one input prompt
command at a time.
Example
value = display.input.string("Enter Test Name", display.SFORMAT_ANY)
print(value)
This example displays the prompt "Enter Test Name" and a keyboard that the operator can use to enter a
response:
The return is the response from the operator.
Also see
display.input.number()
display.input.option()
display.input.prompt()
DMM7510-901-01 Rev. B / May 2015
Affected by
The text that is entered from the front-panel display; nil if Cancel is pressed on the
keypad
A string that contains the text to be displayed as the title of the dialog box on the
front-panel display; up to 32 characters
The format of the entered text:
Allow any characters: display.SFORMAT_ANY (default)
Allow both upper and lower case letters (no special characters):
display.SFORMAT_UPPER_LOWER
Allow only upper case letters: display.SFORMAT_UPPER
Allow both upper and lower case letters, no special characters, no spaces,
and limited to 32 characters: display.SFORMAT_BUFFER_NAME
(on page 8-60)
(on page 8-62)
(on page 8-64)
Section 8: TSP command reference
Where saved
Default value
8-65

Advertisement

Table of Contents
loading

Table of Contents