8: TSP command reference Model DMM7510 7½ Digit Graphical Sampling Multimeter
8-68 DMM7510-901-01 Rev. B / May 2015
Example
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)
Create a simple loop that will make 10 measurements and save them in default buffer 1.
Display the prompt shown here:
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.delete() (on page 8-58)
display.waitevent() (on page 8-70)
display.readingformat
This attribute determines the format that is used to display measurement readings on the front-panel display of
the instrument.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Not applicable Nonvolatile memory display.FORMAT_PREFIX
Usage
format = display.readingformat
display.readingformat = format
Use exponent format: display.FORMAT_EXPONENT
Add a prefix to the units symbol, such as k, m, or µ: