Section 6: Instrument programming
Model 2651A High Power System SourceMeter® Instrument Reference Manual
6-12
2651A-901-01 Rev. A / March 2011
Example: Delete a user script from nonvolatile memory
script.delete("test8")
Delete a user script named "test8"
from nonvolatile memory.
Programming example
Interactive script
An interactive script prompts the operator to input values using the instrument front panel. The
following example script uses display messages to prompt the operator to:
•
Enter the digital I/O line on which to output a trigger
•
Enter the output trigger pulsewidth
After the output trigger occurs, the front display displays a message to the operator.
When an input prompt is displayed, the script waits until the operator inputs the parameter or presses
the
ENTER
key.