12-30 Instrument Control Library
Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006
Return to
Remarks
(cont.)
• After sending this command, script execution holds up and waits for the operator to
enter a value and press
ENTER
:
• 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 (e.g. +00) is always positive and cannot be
toggled to negative polarity.
• After sending this command and pressing the
EXIT
key,
value
will return
nil
.
Details
See “
.
Also see
,
Example
Displays an editable field (“+0.50”) for operator input – Valid input range is -0.10 to
+2.00, with a default of 0.50:
display.clear()
value = display.inputvalue("+0.00", 0.5, -0.1, 2.0)
display.loadmenu.add
Function
Adds an entry to the “USER TESTS” submenu of the “LOAD TEST” menu.
Usage
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
.
Remarks
• 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 (see
“
). If the script is not saved in non-volatile memory,
it will be lost when the Series 2600 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.
Summary of Contents for SourceMeter 2600 Series
Page 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Page 592: ......
Page 593: ......