Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-178
2461-901-01 A/November 2015
Example
reset()
smu.source.configlist.create("MyScrList")
print(smu.source.configlist.catalog())
print(smu.source.configlist.catalog())
smu.source.configlist.store("MyScrList")
smu.source.configlist.store("MyScrList")
print(smu.source.configlist.size("MyScrList"))
Create a source configuration list
named
MyScrLst
.
Print the name of one configuration list
stored in volatile memory.
Output:
MyScrList
Print the name of one configuration list.
Output:
nil
Nil indicates that no more configuration
lists are stored.
Store a configuration index in
MyScrList
.
Store a configuration index in
MyScrList
.
Print the number of configuration
indexes in
MyScrList
.
Output:
2
Also see
(on page 3-30)
(on page 8-182)
smu.source.configlist.delete()
This function deletes a source configuration list.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
smu.source.configlist.delete(
listName
)
smu.source.configlist.delete(
listName
,
index
)
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
Details
Deletes a configuration list. If the index is not specified, the entire configuration list is deleted. If the
index is specified, only the specified configuration index in the list is deleted.
When an index is deleted from a configuration list, the index numbers of the following indexes are
shifted up by one. For example, if you have a configuration list with 10 indexes and you delete index
3, the index that was numbered 4 becomes index 3, and the all the following indexes are renumbered
in sequence to index 9. Because of this, if you want to delete several nonconsecutive indexes in a
configuration list, it is best to delete the higher numbered index first, then the next lower index, and so
on. This also means that if you want to delete all the indexes in a configuration list, you must delete
index 1 repeatedly until all indexes have been removed.