Keithley 3700 series Reference Manual page 204

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

Advertisement

Section 9: Instrument Control Library (ICL)
display.inputvalue
Remarks
(cont.)
Also see
Example
display.loadmenu.add
Function
Usage
Remarks
9-60
After sending this command, script execution pauses for the operator to enter a
value and press the ENTER key.
If limits are used, the operator will not be able to input values outside the minimum
and maximum limits.
For positive and negative entry ("+" sign used for the value field and/or the
exponent field), polarity of a non-zero value or exponent can be toggled by
positioning the cursor on the polarity sign and turning the wheel. Polarity will also
toggle when using the wheel to decrease or increase the value or exponent past
zero. A zero value or exponent (for example, +00) is always positive and cannot be
toggled to negative polarity.
After sending this command and pressing the EXIT key, value will return nil.
display.prompt
(on page 9-62)
display.setcursor
(on page 9-65)
display.settext
(on page 9-66)
Displays an editable field ("+0.50") for operator input. Valid input range: 0.10 to +2.00,
with a default of 0.50:
display.clear()
value = display.inputvalue("+0.00", 0.5, -0.1, 2.0)
Adds an entry to the USER TESTS submenu of the LOAD TEST menu.
There are two ways to use this function:
display.loadmenu.add(displayname, chunk)
display.loadmenu.add(displayname, chunk, memory)
displayname: Name to display in the menu.
chunk: Chunk is the code to be executed.
memory: Save or don't save chunk and displayname in non-volatile memory.
Set memory to one of the following values:
0 or display.DONT_SAVE
1 or display.SAVE
The default memory setting is display.SAVE
This function adds an entry to the USER TESTS submenu of the LOAD TEST
menu. If the given item is subsequently selected via the front panel, the chunk will
be executed when the RUN key is pressed.
The chunk can be made up of scripts, functions, variables, and commands. With
memory set to display.SAVE, commands are saved with the chunk in non-volatile
memory. Scripts, functions, and variables used in the chunk are not saved by
display.SAVE. Functions and variables need to be saved along with the script. If
the script is not saved in non-volatile memory, it will be lost when the Series 3700 is
turned off. See Example 1 below.
It does not matter what order the menu items are added. They will be displayed in
alphabetical order when the USER TESTS menu is selected.
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents