
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-179
Example
smu.source.configlist.delete("mySourceList")
Deletes a configuration list named
mySourceList
.
smu.source.configlist.delete("mySourceList", 14)
Deletes delete configuration index 14 in
the source configuration list named
mySourceList
Also see
(on page 3-30)
smu.source.configlist.create()
smu.source.configlist.query()
This function returns a list of TSP commands and parameter settings that are stored in the specified configuration
index.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
smu.source.configlist.query(
listName
,
index
)
smu.source.configlist.query(
listName
,
index, fieldSeparator
)
listName
A string that represents the name of a source configuration list
index
A number that defines a specific configuration index in the configuration list; the
default is the first index in the configuration list
fieldSeparator
String that represents the separator for the data; use one of the following:
•
Comma (default):
,
•
Semicolon:
;
•
New line:
\n
Details
This command can only return data for one configuration index. To get data for additional
configuration indexes, resend the command and specify different configuration indexes.
Refer to
Instrument settings stored in a source configuration list
(on page 3-35) for a complete list of
source settings that the instrument stores in a source configuration list.
Example
print(smu.source.configlist.query("MyScrList", 2))
Returns the TSP commands and parameter settings that represent the settings in configuration index 2.
Also see
(on page 3-30)
smu.source.configlist.create()
Instrument settings stored in a source configuration list
(on page 3-35)