Section 14: Display Operations
Deleting USER TESTS menu entries
The following function can be used to delete an entry from the front panel USER TESTS submenu:
display.loadmenu.delete(displayname)
displayname
Example:
The following command removes the entry named "Part1" from the front panel USER TESTS
submenu:
display.loadmenu.delete("Part1")
Running a test from the front panel
Front panel user tests and factory tests can be run as follows:
1. Press the LOAD key to display the LOAD TEST menu.
2. Select the USER or FACTORY menu item.
3. Position the blinking cursor on the test to be run and press ENTER or the wheel.
4. Press the RUN key to run the test.
Display triggering
Script execution can be delayed for a specified period of time and wait for the operator to press the
TRIG key to continue. The script will continue when the TRIG key is pressed, or the specified wait
period has expired.
The following two functions are used for display triggering:
display.trigger.wait(timeout)
display.trigger.clear()
where:
Pressing the TRIG key sets the front panel trigger detector. The detector has to be cleared before
you can again effectively use the
while the detector is set, the trigger will be detected immediately and the script will continue. Send
the
display.trigger.clear
The trigger wait function can be read to determine if trigger detection was caused by the TRIG key
or the timeout:
triggered = display.trigger.wait(timeout)
print(triggered)
Output:
Display triggering example:
The following code will pause a script and prompt the operator to press the TRIG key when ready
to continue. If the TRIG key is not pressed, the test will continue after waiting 10 minutes (600s).
display.clear()
display.setcursor(1, 1, 0)
display.settext("Take a Break")
display.setcursor(2, 1, 0)
14-12
Name to delete from the menu.
timeout period in seconds
timeout =
function to clear the trigger detector.
(if TRIG key was pressed)
1.000000e+00
(if operation timed out)
0.000000e+00
Return to
Series 2600 System SourceMeter® Instruments Reference Manual
display.trigger.wait
Section Topics
function. If you send the trigger wait call
2600S-901-01 Rev. C / January 2008