14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-68 2470-901-01 Rev. A / May 2019
Example
smu.source.sweeplinear("test", 1, 10, 10)
display.prompt(display.BUTTONS_YESNO, "Would you like to start the sweep now?")
sweepTest, 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)
Display the prompt "Would you like to start the sweep now?"
If the user presses Yes, the sweep starts.
If the user presses No, the sweep does not start 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 14-58)
display.waitevent() (on page 14-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
Usage
format = display.readingformat
display.readingformat = format
display.FORMAT_EXPONENT
Add a prefix to the units symbol, such as k, m, or µ:
Details
This setting persists through reset() and power cycles.
When Prefix is selected, prefixes are added to the units symbol, such as k (kilo) or m (milli). When
Exponent is selected, exponents are used instead of prefixes. When the prefix option is selected, very
large or very small numbers may be displayed with exponents.