EasyManuals Logo
Home>Keithley>Multimeter>DMM7510

Keithley DMM7510 Reference Manual

Keithley DMM7510
1036 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #683 background imageLoading...
Page #683 background image
Section
8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
Reference Manual
8-70 DMM7510-901-01 Rev. B / May 2015
display.waitevent()
This function causes the instrument to wait for a user to respond to a prompt that was created with a prompt
command.
Type TSP-Link accessible
Affected by Where saved Default value
Function
Yes
Usage
objectID, subID = display.waitevent()
objectID, subID = display.waitevent(timeout)
objectID
A number that identifies the object, such as a prompt message, that is displayed on
the front panel
subID
The returned value after a button is pressed on the front panel:
• display.BUTTON_YES
• display.BUTTON_NO
• display.BUTTON_OK
• display.BUTTON_CANCEL
timeout
The amount of time to wait before timing out; time is 0 to 300 s, where the default of
0 waits indefinitely
Details
This command waits until a user responds to a front-panel prompt that was created with the
display.prompt() command.
Example
reset()
trigger.model.load("SimpleLoop", 10, 0, defbuffer1)
display.prompt(display.BUTTONS_YESNO, "Would you like to make 10 DC voltage
readings now?")
promptID, result = display.waitevent()
if result == display.BUTTON_YES then
trigger.model.initiate()
end
display.prompt(display.BUTTONS_YESNO, "Would you like to switch to the Graph
screen?")
promptID, result = display.waitevent()
if result == display.BUTTON_YES then
display.changescreen(display.SCREEN_GRAPH)
end
Create a simple loop that will make 10 measurements and save them in default buffer 1.
Display the prompt "Would you like to make 10 DC voltage readings now?"
If the user presses Yes, the measurements are made.
If the user presses No, the measurements are not made and the message is removed.
Display the prompt "Would you like to switch to the Graph screen?"
If the user presses Yes, the Graph screen is displayed.
If the user presses No, the user remains on the present screen.
Also see
display.input.prompt() (on page 8-64)
display.prompt() (on page 8-67)

Table of Contents

Other manuals for Keithley DMM7510

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley DMM7510 and is the answer not in the manual?

Keithley DMM7510 Specifications

General IconGeneral
BrandKeithley
ModelDMM7510
CategoryMultimeter
LanguageEnglish

Related product manuals