eries 2600B System SourceMeter® Instrument Reference Manual Section 6:
2600BS-901-01 Rev. B / May 2013 6-9
Delete user scripts
These steps remove a script from nonvolatile memory. To completely remove a script from the
instrument, there are additional steps you must take. See Delete user scripts from the instrument (on
page 6-45).
To delete a script from nonvolatile memory using a remote interface:
You can delete the script from nonvolatile memory by sending either of the following commands:
• script.delete("name")
• script.user.delete("name")
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
Delete a user script named
Programming example
Interactive script
An interactive script prompts the operator to input values using front panel controls. The following
example script uses display messages to prompt the operator to:
• Enter the voltage level to source
• Enable or disable measurements
• Set the number of readings if measurements are enabled
After the operator completes entering values, the output will turn on and source the specified value. If
measurements were enabled, a message will indicate that measurements are in progress. Another
message will be displayed when the source-measure operation is complete. If measurements were
not enabled, the message will indicate that the source operation is complete.
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.