Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-59
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
Usage
display.BUTTON_OPTIONn = display.input.option(dialogTitle, buttonTitle1,
buttonTitle2)
display.BUTTON_OPTIONn = display.input.option(dialogTitle, buttonTitle1,
buttonTitle2, buttonTitleN, ... buttonTitleN)
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
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
A string that contains the name of the first button; up to 15 characters
A string that contains the name of the second button; up to 15 characters
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.