![background image](http://html2.mh-extra.com/html/keithley/2657a/2657a_reference-manual_4007750469.webp)
Section 7: TSP command reference
Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-156
2657A-901-01 Rev. B/December 2012
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
.
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-139)
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
(on page 5-21)
(on page 7-211)
Содержание 2657A
Страница 3: ......