8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
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
.
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()
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
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
Usage
scriptVar.save()
scriptVar.save(filename)
The name of variable that references the script
The file name to use when saving the script to a USB flash drive