Section 7: Command reference
Model 2651A High Power System SourceMeter® Instrument Reference Manual
7-152
2651A-901-01 Rev. A / March 2011
Usage
reset()
reset(
system
)
system
true
: If the node is the master, the entire system is reset
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. The
localnode.reset()
command is used for the local instrument. The
node[
X
].reset()
command is used to reset an instrument on a subordinate node.
When no value is specified for
system
, the default value is
true
.
Resetting the entire system using
reset(true)
is permitted only 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-137)
savebuffer()
(on page 5-24) function saves reading buffers 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.
This function will only save to a USB flash drive.
You are not required to qualify the path to the USB flash drive, but if you wish to, add
/usb1/
before the
fileName
(see Example 2).