![Keithley 707B Скачать руководство пользователя страница 337](http://html.mh-extra.com/html/keithley/707b/707b_reference-manual_661685337.webp)
Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-84
707B-901-01 Rev. A / August 2010
display.trigger.EVENT_ID
This constant describes the trigger event number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Constant Yes
Usage
eventID = display.trigger.EVENT_ID
eventID
The trigger event number
Details
Set the stimulus of any trigger event detector to the value of this constant to have it respond to front panel trigger
events.
Also see
None
display.waitkey()
This function captures the key code value for the next front panel action.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
keyCode = display.waitkey()
keyCode
See
Details
for more information
Details
After you send this function, script execution pauses until a front panel action (for example, pressing a key or the
navigation wheel, or turning the navigation wheel). After the action, the
keyCode
value for that action is returned.
If the
EXIT (LOCAL)
key is pressed while this function is waiting for a front panel action, the script is not aborted.
A typical use for this function is to prompt the user to press the
EXIT (LOCAL)
key to abort the script or press
any other key to continue. For example, if the
keyCode
value
67
is returned (the
EXIT (LOCAL)
key was
pressed), the
exit()
function can be called to abort the script.
The table below lists the
keyCode
value for each front panel action.