14: TSP command reference 2470 High Voltage SourceMeter Instrument Reference Manua
14-104 2470-901-01 Rev. A / May 2019
reset()
This function resets commands to their default settings and clears the buffers.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
reset()
reset(system)
If the node is the master, the entire system is reset: true
Only the local group is reset:
Details
The reset() command in its simplest form resets the entire TSP-enabled system, including the
controlling node and all subordinate nodes.
If you want to reset a specific instrument, use the node[N].reset() command. Also use the
node[N].reset() command to reset an instrument on a subordinate node.
When no value is specified for system, the default value is true.
You can only reset the entire system using reset(true) if the node is the master. If the node is not
the master node, executing this command generates an error event.
Example
If the node is the master node, the entire system is reset; if the
node is not the master node, an error event is generated.
Also see
Resets (on page 3-49)
script.delete()
This function deletes a script from the run-time memory and nonvolatile memory.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
script.delete("scriptName")
A string that represents the name of the script
Details
When a script is deleted, the global variable referring to this script is also deleted.
You must delete an existing script before you can use the name of that script again. Scripts are not
automatically overwritten.