Keithley 3700 series Reference Manual page 36

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 2: TSP Programming Fundamentals
......range_value = 100
...end
-- Prompt operator to set (input) measurements speed
...speed = display.prompt(„0.00‟, „ NPLC‟, „ Enter measure speed‟, 1, 0.01, 3)
-- Wait for operator to set the measurement speed
...dmm.reset(„all)
...dmm.func = myfunc
...dmm.range = range_value
...dmm.nplc = speed
...print(dmm.measure())
Creating a user script
To create a script and load it, the test program (chunk) must be framed by the following shell
commands: loadscript or loadandrunscript, and endscript.
Load only
The following scripts will load only into the run-time environment of the Series 3700. The script
on the left is unnamed, while the one on the right is named (where name is the user-defined
name):
loadscript
(chunk)
endscript
Load and run
The following scripts will load into the run-time environment and then run. Keep in mind that
when a script is run, only the chunk is executed. The script on the left is unnamed, while the one
on the right is named (where name is the user-defined name):
loadandrunscript
(chunk)
endscript
Details on loadscript and loadandrunscript are provided as follows:
loadscript
loadscript name
Where: name is the user-assigned name for the script.
2-16
Series 3700 System Switch/Multimeter Reference Manual
loadscript name
(chunk)
endscript
loadandrunscript name
(chunk)
endscript
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents