2606B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2606B-901-01 Rev. B / May 2018
7-159
reset()
This function resets commands to their default settings.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
reset()
reset(
system
)
system
What to reset:
true
: If the node is the master, the entire system is reset (default)
false
: 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 either the
localnode.reset()
or
node[
X
].reset()
command. Use the
localnode.reset()
command for the local instrument.
Use the
node[
X
].reset()
command to reset an instrument on a subordinate node.
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.
Example
reset(true)
If the node is the master node, the entire system is
reset; if the node is not the master node, an error is
generated.
Also see
(on page 7-144)
savebuffer()
This KISavebuffer factory script function saves a specified reading buffer as either a CSV file or an XML file.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
savebuffer(
buffer, formatType, fileName
)
buffer
The reading buffer to save
formatType
A string indicating which file type to use:
csv
or
xml
fileName
The file name of the saved buffer
Details
Use this function to save the specified buffer to a USB flash drive.