Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-181
Example
smu.source.configlist.recall("MySourceList")
Because an index was not specified, this
command recalls configuration index 1
from a configuration list named
.
smu.source.configlist.recall("MySourceList", 5)
Recalls configuration index 5 in a
configuration list named
.
smu.source.configlist.recall("MySourceList", 3,
"MyMeasList")
Recalls index 3 from a source
configuration list named MySourceList,
then recalls index 3 from a measure
configuration list named MyMeasureList
(because the measure list index was not
specified, the instrument automatically
recalled the same index that was called in
smu.source.configlist.recall("MySourceList", 3,
"MyMeasList", 5)
Recalls index 3 from a source
configuration list named MySourceList,
then recalls index 5 from a measure
configuration list named
.
Also see
Configuration lists (on page 3-30)
smu.source.configlist.create() (on page 8-177)
smu.source.configlist.size()
This function returns the number of configuration indexes in a source configuration list.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
indexCount = smu.source.configlist.size(listName)
A number that represents the total quantity of indexes stored in the specified source
configuration list
A string that represents the name of a source configuration list
Details
The size of the list is equal to the number of configuration indexes in a configuration list.
Example
print(smu.source.configlist.size("MyScrList"))
Determine the number of configuration
indexes in a source configuration list
named MyScrList.
Example output:
Also see
Configuration lists (on page 3-30)
smu.source.configlist.create() (on page 8-177)