Section 4
:
Frequently Asked Questions
Series 3700 System Switch/Multimeter Quick Start Guide
4-24
Document Number: 3700S-903-01 Rev. A / August 2007
There is one note of caution about printing results to the output queue. The output queue is
limited to 32kB. If the amount of data to be sent to the output queue exceeds 32kB, then the
Series 3700 will generate an error. Thus, it is important to remember that when returning large
amounts of data from the instrument to do so by repetitively returning small groups of data at a
time until all data has been returned. This is especially noteworthy when using the
printbuffer
command.
Questions about Test Script Processor interaction
What is a script?
A script is a collection of instrument control commands and programming statements to perform
one or more operations or tasks. A script is stored in the Series 3700 and is run by its Test
Script Processor (TSP).
User scripts
A user script is a script created by a user using the Test Script Builder or an external program.
The user script is loaded in the Series 3700 and stored in volatile or nonvolatile memory. If
stored in nonvolatile memory, the script will not be lost when the instrument is turned off.
Keithley Instruments will be posting approved user scripts donated by registered users on its
web site. You will be able to download these user scripts into your Series 3700. Visit
www.keithley.com for details.
How do I run a script from the front panel?
Load tests from the LOAD TEST menu (access this menu by pressing the front panel's
LOAD
key).
From the front panel, a user script may, or may not be interactive. A non-interactive script
requires no operator input and will run to completion when it is started.
The USER menu item does not contain scripts, but may contain any executable Lua chunk
(Chunk defined). The chunk is sent to TSP. It cannot automatically execute a script. The Lua
chunk must be something like "S1()" where "S1" is a script. The menu SCRIPTS snapshots all
scripts in volatile memory that can be executed directly.
LOAD key
Loads scripts, along with Lua chunks added with display.loadmenu.add for execution. This key
opens the LOAD TEST menu which contains the following menu items:
USER:
This menu item provides access to Lua chunks specified by
display.loadmenu.add (not scripts).
SCRIPTS:
This menu item provides access to scripts created by the user. The scripts
can be directly executed.
Содержание 3706
Страница 3: ......
Страница 11: ......
Страница 25: ......
Страница 67: ......
Страница 72: ...This page left blank intentionally...