Section 8: TSP command reference Model 2461 Interactive SourceMeter® Instrument Reference Manual8-64 2461-901-01 A/November 2015DetailsThis command changes the light output of the front panel when a test requires different instrumentillumination levels.The change in illumination is temporary. The normal backlight settings are restored after a powercycle. You can use this to reset a display that is already dimmed by the front-panel Backlight Dimmer.Screen life is affected by how long the screen is on at full brightness. The higher the brightnesssetting and the longer the screen is bright, the shorter the screen life.Exampledisplay.lightstate = display.STATE_LCD_50 Set the display brightness to 50 %.Also seeAdjust the backlight brightness and dimmer (on page 2-11)display.prompt()This function allows you to create an interactive dialog prompt that displays a custom message on the front-paneldisplay.Type TSP-Link accessible Affected by Where saved Default valueFunction YesUsagepromptID = display.prompt(buttonID, promptText)promptID A set of characters that identifies the prompt; up to 63 charactersbuttonID The type of prompt to display; choose one of the following options:• display.BUTTONS_NONE• display.BUTTONS_OK• display.BUTTONS_CANCEL• display.BUTTONS_OKCANCEL• display.BUTTONS_YESNO• display.BUTTONS_YESNOCANCELpromptText A string that contains the text that is displayed above the promptsDetailsThis command displays buttons and text on the front panel. You can set up scripts that respond to thebuttons when they are selected.If you send display.BUTTONS_NONE, the operator needs to press the EXIT key to clear themessage from the front-panel display. You can also use the display.delete() command toremove the prompt.