Tektronix Keithley 2651A Reference Manual page 441

High power system sourcemeter instrument
Table of Contents

Advertisement

Section 7: TSP command reference
Use the display.trigger.clear() call to clear the trigger event detector.
Example
triggered = display.trigger.wait(5)
print(triggered)
Also see
display.trigger.clear()
display.waitkey()
This function captures the key code value for the next front-panel action.
Type
TSP-Link accessible
Function
Yes
Usage
keyCode = display.waitkey()
keyCode
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 value of the key
(or 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 75 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.
7-96
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-94)
Affected by
See Details for more information
Waits up to five seconds for the TRIG key to
be pressed. If TRIG is pressed within five
seconds, the output is true. If not, the
output is false.
Where saved
Default value
2651A-901-01 Rev. C October 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents