Models 707B and 708B Switching Matrix Reference Manual
Section 6: Instrument programming
707B-901-01 Rev. B / January 2015
6-9
Where:
name
is the user-defined name of the script.
To delete a script from nonvolatile memory using TSB Embedded:
1. In TSB Embedded, select the script from the User Scripts list.
2. Click
Delete
. There is no confirmation message.
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.
The example shown here assumes that you are using TSB or TSB Embedded. If you are using a
remote interface, you need to add the
loadscript
and
endscript
commands to the example
code. See
Load a script by sending commands over the remote interface
(on page 6-4) for details.