Keithley DMM7510 Reference Manual page 677

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

Advertisement

Section 8: TSP command reference
display.input.prompt()
This function allows you to create a prompt that accepts a user response from the front-panel display.
Type
TSP-Link accessible
Function
Yes
Usage
buttonReturn = display.input.prompt(buttonSet, dialogTitle)
buttonReturn
buttonSet
dialogTitle
Details
This command waits for a user response to the prompt. You can use the text to ask questions that
can be used to configure your test. The prompt is displayed until it has been responded to by the
user. You can only send one input prompt command at a time.
Example
result = display.input.prompt(display.BUTTONS_YESNO, "Do you want to display the
graph screen?")
if result == display.BUTTON_YES then
display.changescreen(display.SCREEN_GRAPH)
end
This displays the prompt "Do you want to display the graph screen?" on the front-panel display:
If the operator selects Yes, the graph screen is displayed.
Also see
display.input.number()
display.input.option()
display.input.string()
8-64
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Affected by
Indicates which button was pressed:
OK: display.BUTTON_OK
Cancel: display.BUTTON_CANCEL
Yes: display.BUTTON_YES
No: display.BUTTON_NO
The set of buttons to display:
OK button only: display.BUTTONS_OK
Cancel button only: display.BUTTONS_CANCEL
OK and Cancel buttons: display.BUTTONS_OKCANCEL
Yes and No buttons: display.BUTTONS_YESNO
Yes, No, and Cancel buttons: display.BUTTONS_YESNOCANCEL
A string that contains the text to be displayed as the title of the dialog box on the
front-panel display; up to 63 characters
(on page 8-60)
(on page 8-62)
(on page 8-65)
Where saved
Default value
DMM7510-901-01 Rev. B / May 2015

Advertisement

Table of Contents
loading

Table of Contents