![background image](http://html1.mh-extra.com/html/keithley/2606b-system-sourcemeter/2606b-system-sourcemeter_reference-manual_4051272262.webp)
Section 6: Instrument programming
2606B System SourceMeter® Instrument Reference Manual
6-38
2606B-901-01 Rev. B / May 2018
Figure 100: 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