Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-157
script.anonymous
This is a reference to the anonymous script.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (R) No See Details See Details Not applicable
Usage
scriptVar = script.anonymous
scriptVar
The name of the variable that references the script
Details
You can use the script.anonymous script like any other script. Also, you can save the anonymous script as a
user script by giving it a name.
This script is replaced by loading a script with the loadscript or loadandrunscript commands when they
are used without a name.
Example 1
script.anonymous.list()
Displays the content of the anonymous
script.
Example 2
print(script.anonymous.source)
Retrieves the source of the anonymous
script.
Also see
Anonymous scripts (on page 6-3)
scriptVar.autorun
(on page 7-163)
scriptVar.list()
(on page 7-164)
scriptVar.name
(on page 7-165)
scriptVar.run()
(on page 7-166)
scriptVar.save()
(on page 7-167)
scriptVar.source
(on page 7-167)