Model 2651A High Power System SourceMeter® Instrument Reference Manual
Running a factory script
Use either of the following commands to run a factory script:
script.factory.scripts.name()
script.factory.scripts.name.run()
Where: name is the name of the factory script.
Example:
Run the factory script named "KIPulse"
script.factory.scripts.KIPulse()
Running a factory script function from the Model 2651A front panel controls
1. Press the LOAD key.
2. Select FACTORY.
3. Select the function to run and press RUN key.
Retrieving and modifying a factory script listing
The script listing for a factory script can be retrieved and modified. However, it cannot be saved as a
factory script. The modified script can be saved as a user script using the same name or a new name.
An imported factory script can only be loaded back into the Model 2651A as a user script.
The following function retrieves a script listing. The script code is output with the shell keywords
(loadscript or loadandrunscript, and endscript):
script.factory.scripts.name.list()
Where: name is the name of the factory script.
Example:
Retrieve the script listing for a factory script named "KIPulse":
script.factory.scripts.KIPulse.list()
2651A-901-01 Rev. A / March 2011
Section 5: Remote commands
5-21