EasyManuals Logo
Home>Keithley>Measuring Instruments>2601B

Keithley 2601B Reference Manual

Keithley 2601B
864 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 #317 background imageLoading...
Page #317 background image
Section
6: Instrument programming Series 2600B System SourceMeter® Instrument
Reference Manual
6-40 2600BS-901-01 Rev. B / May 2013
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
For example, to set up a two-second beep, you can send the command:
beepTwoSec = script.new("beeper.enable = 1 beeper.beep(2, 2400)", "beepTwoSec")
To run the new script, send the command:
beepTwoSec()
When you add beepTwoSec, the global variable and script.user.scripts table entries are
made to the run-time environment as shown in the following figure.
Figure 114: Runtime environment after creating a script
Create an unnamed script using script.new()
Unnamed scripts are not available from the front-panel display of the instrument. Only the
anonymous script and named scripts are available from the front-panel display.

Table of Contents

Other manuals for Keithley 2601B

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2601B and is the answer not in the manual?

Keithley 2601B Specifications

General IconGeneral
BrandKeithley
Model2601B
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals