Keithley 708B Reference Manual page 230

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
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.
When you create a script using script.new(), if you do not include name, the script is added to the
runtime environment as an unnamed script. The script.new() function returns the script. You can
assign it to a global variable, a local variable, or ignore the return value. A global variable is not
automatically created.
For example, if you sent the command:
hello = script.new('display.clear() display.settext("hello")')
A script is created in the runtime environment and a global variable is created that references the
script.
To run the script, send the command:
hello()
Global variables
name
hello
707B-901-01 Rev. A / August 2010
Figure 82: Create an unnamed script
value
t
pointer to unnamed scrip
NOTE
Scripts in the runtime environment
script name
display.clear()
source
display.settext("hello"))
Autorun
No
Section 6: Instrument programming
6-39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents