EasyManuals Logo

Keithley 2657A User Manual

Keithley 2657A
805 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #288 background imageLoading...
Page #288 background image
Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 6: Instrument programming
2657A-901-01 Rev. B/December 2012 6-39
Figure 95: Global variables and scripts in the runtime environment
Create a script using the script.new() command
Use the script.new() function to copy an existing script from the local node to a remote node. This
enables parallel script execution.
You can create a script with the script.new() function using the command:
scriptVar = script.new(code, name)
Where:
scriptVar
= Name of the variable created when the script is loaded into the run-time environment
code
= Content of the script
name
= Name that is added to the script.user.scripts table
X
Name Value
beepDisable
reference to script
named beepDisable
script.user.scripts table
beepTwoSec
reference to script named
beepT
woSec
1
Y
hello
Global variables
Scripts in the runtime environment
display.clear()
display.settext("This is
anonymous")
print("This is anonymous")
script name
source
Autorun
No
anonymous script
beepDisable
reference to script
named beepDisabled
beepTwoSec
reference to script
named beepTwoSec
NoAutorun
beeper.enable = 1
beeper.beep(2, 2400)
script name
source
beepTwoSec
YesAutorun
beeper.enable = 0
script name
source
beepDisable
NoAutorun
script name
source
display.clear()
display.settext("hello")
reference to unnamed
script. There is no
script.user.scripts
table entry for the
unnamed script
5

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2657A and is the answer not in the manual?

Keithley 2657A Specifications

General IconGeneral
BrandKeithley
Model2657A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals