
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-100
2461-901-01 A/November 2015
Example
test8 = script.load("/usb1/testSetup.tsp")
Loads the script with the file name
testSetup.tsp
that is on the USB flash
drive and names it
test8
.
Also see
None
scriptVar.run()
This function runs a script.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
scriptVar
.run()
scriptVar
()
scriptVar
The name of the variable that references the script
Details
The
scriptVar
.run()
function runs the script referenced by
scriptVar
. You can also run the
script by using
scriptVar()
.
Example
test8.run()
Runs the script referenced by the variable
test8
.
Also see
None
scriptVar.save()
This function saves the script to nonvolatile memory or to a USB flash drive.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
scriptVar
.save()
scriptVar
.save(
filename
)
scriptVar
The name of variable that references the script
filename
The file name to use when saving the script to a USB flash drive