Script.newautorun() - Keithley 708B Reference Manual

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

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
Example 2: Create new autoexec script
autoexec = script.new(
"display.clear() display.settext('Hello from autoexec')", 'autoexec')
Creates a new script that clears the display when the instrument is turned on and displays "Hello from
autoexec".
Also see
Create a script using the script.new command
Global variables and the script.user.scripts table
Named scripts
scriptVar.save()

script.newautorun()

script.newautorun()
This function is identical to the script.new() function, but it creates a script with the autorun attribute set to
"yes".
Type
TSP-Link accessible
Function
No
Usage
scriptVar = script.newautorun(code)
scriptVar = script.newautorun(code, name)
scriptVar
code
name
Details
The script.newautorun() function is identical to the script.new()function, except that the autorun
attribute of the script is set to "yes".
Also see
Create a script using the script.new command
Global variables and the script.user.scripts table
Named scripts
scriptVar.save()
script.new()
(on page 7-160)
707B-901-01 Rev. A / August 2010
(on page 6-4)
(on page 7-166)
(on page 7-161)
Affected by
The name of the variable that will reference the script
A string containing the body of the script
The name of the script
(on page 6-4)
(on page 7-166)
(on page 6-38)
(on page 6-36)
Where saved
(on page 6-38)
(on page 6-36)
Section 7: Command reference
Default value
7-161

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents