Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-154
2470-901-01 Rev. A /
May
2019
Also see
(on page 14-158)
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.
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