Series 2600B System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2600BS-901-01 Rev. B / May 2013
7-161
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.
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.
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
localnode.reset()
(on page 7-143)
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.
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).
Example 1
savebuffer(smua.nvbuffer1, "csv",
"mybuffer.csv")
Save
smua
dedicated reading buffer 1 as a
.CSV file named
mybuffer.csv
.
Example 2
savebuffer(smua.nvbuffer1, "csv",
"/usb1/mybuffer.csv")
Save
smua
dedicated reading buffer 1 to an
installed USB flash drive as a .CSV file
named
mybuffer.csv
.
Also see
KISavebuffer factory script
(on page 5-23)
smuX.savebuffer()
(on page 7-216)
Summary of Contents for System SourceMeter 2601B
Page 841: ......