Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-62
DMM7510-901-01 Rev. B / May 2015
display.input.option()
This function allows you to create an option dialog box with customizable buttons on the front-panel display.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
display.BUTTON_OPTION
n
= display.input.option(
dialogTitle
,
buttonTitle1
,
buttonTitle2
)
display.BUTTON_OPTION
n
= display.input.option(
dialogTitle
,
buttonTitle1
,
buttonTitle2, buttonTitleN, ... buttonTitleN
)
n
The number of the button that is selected from the front-panel display;
nil
if Cancel
is pressed on the keypad; buttons are numbered top to bottom, left to right
dialogTitle
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
buttonTitle1
A string that contains the name of the first button; up to 15 characters
buttonTitle2
A string that contains the name of the second button; up to 15 characters
buttonTitleN
A string that contains the names of subsequent buttons, where
N
is a number from 3
to 10; you can define up to 10 buttons; each button can be up to 15 characters
Details
Buttons are created from top to bottom, left to right. If you have more than five buttons, they are
placed into two columns.
The prompt is displayed until it has been responded to. You can only send one input prompt
command at a time.