Download Print this page

Rename A Script - Tektronix KEITHLEY System SourceMeter 2636B Reference Manual

Advertisement

Section 10: Instrument programming

Rename a script

You can rename a script. You might want to rename a script if you need to name another script the
same name as the existing script. You could also rename an existing script to be the autoexec script.
To change the name of a script, use the command:
scriptVar.name = "renamedScript"
Where:
scriptVar
"renamedScript"
After changing the name, you need to save the original script to save the change to the name
attribute.
For example:
beepTwoSec.name = "beep2sec"
beepTwoSec.save()
Run the beep2sec script using the following command:
script.user.scripts.beep2sec()
10-48
Figure 114: Create a new script with the name of an existing script
=
The global variable name
=
The new name of the user script that was referenced by the
scriptVar global variable
Series 2600B System SourceMeter® Instrument Reference Manual
2600BS-901-01 Rev. E / January 2019

Advertisement

loading
Need help?

Need help?

Do you have a question about the KEITHLEY System SourceMeter 2636B and is the answer not in the manual?