3-20 Test Script Processor Interaction
Series 2600 System SourceMeters User’s Manual
2600S-900-01 Rev. A / May 2006
Return to
Figure 3-8
GUI after running the non-function script (GPIB)
Example script 2 – script that uses functions
The script used in this example is in the file named “MeasCurrFunctionScript.tsp.”
This script is downloaded to the Series 2600 by selecting the
Load “Function”
Script
option, and then clicking the
Load Script (GPIB)
command button. The
script is downloaded exactly as shown in the previous example, except the “open
file” and “loadscript” commands reflect the different script name, as shown below.
Open App.Path & "\" & "MeasCurrFunctionScript.tsp" For Input As #1
Call send(Addr%, "loadscript MeasCurrFunctionScript", intStatus)
The other difference is in the script itself, which is listed below. This script does
not perform multiple current measurements, but rather it creates a function named
“MeasCurr,” which performs one or more current measurements when it is called.
The number of measurements depends on the value of “ntimes,” which is passed