14-12 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 14: Display Operations Series 2600 System SourceMeter® Instruments Reference Manual
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 Name to delete from the menu.
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: timeout = timeout period in seconds
Pressing the TRIG key sets the front panel trigger detector. The detector has to be cleared before
you can again effectively use the
display.trigger.wait function. If you send the trigger wait call
while the detector is set, the trigger will be detected immediately and the script will continue. Send
the
display.trigger.clear function to clear the trigger detector.
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: 1.000000e+00 (if TRIG key was pressed)
0.000000e+00 (if operation timed out)
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)