Script.run(); Script.user.catalog() - Keithley 2651A Reference Manual

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Section 7: Command reference
Also see
script.delete()

script.run()

This function runs the anonymous script.
Type
TSP-Link accessible
Function
No
Usage
script.run()
run()
Details
Each time the script.run() command is given, the anonymous script is executed. This script can be run
using this command many times without having to re-send it.
Example
run()
Also see
script.anonymous

script.user.catalog()

This function returns an iterator that can be used in a for loop to iterate over all the scripts stored in nonvolatile
memory.
Type
TSP-Link accessible
Function
No
Usage
for name in script.user.catalog() do body end
name
body
Details
Accessing the catalog of scripts stored in nonvolatile memory allows you to process all scripts in nonvolatile
memory. The entries will be enumerated in no particular order.
Each time the body of the function executes, name takes on the name of one of the scripts stored in nonvolatile
memory. The for loop repeats until all scripts have been iterated.
7-158
Model 2651A High Power System SourceMeter® Instrument Reference Manual
(on page 7-154)
Affected by
(on page 7-153)
Affected by
String representing the name of the script
Code that implements the body of the for loop to process the names in the catalog
Where saved
Default value
Runs the anonymous script.
Where saved
Default value
2651A-901-01 Rev. A / March 2011

Advertisement

Table of Contents
loading

Table of Contents