
2600AS-901-01 Rev. B / September 2008
Return to
11-9
Series 2600A System SourceMeter® Instruments Reference Manual
Section 11: Display Operations
.
If used, include the decimal point (.) where needed for the value.
Exponent field (optional):
E
Include the “E” for exponent entry.
+
Include a “+” sign for positive/negative exponent entry. Not including the “+” sign prevents
negative exponent entry.
0
Defines the digit positions for the exponent.
default
– Use this option to set a default value for the parameter. The
default
value will be displayed
when the command is sent.
min
and
max
There are options to specify minimum and maximum limits for the input
field. When NOT using the “+” sign for the value field, the minimum limit
cannot be set to less than zero. When using the “+” sign, the minimum limit
can be set to less than zero (for example, -2).
units
and
help
units
is a text string to identify the units for the value (8 characters
maximum). Example units text is “V” for volts and “A” or amps.
help
is an
information text string to display on the bottom line (32 characters maximum).
The two functions are similar in that they both display the editable input field, but the
display.inputvalue
function does not include the text strings for
units
and
help
.
After one of the above functions is executed, script execution will pause and wait for the operator
in input the source level. The program will continue after the operator enters the value by pressing
the Rotary Wheel or the Enter key.
Examples:
The following code will prompt the operator to enter a source value:
display.clear()
value = display.prompt("0.00", "V", "Enter source voltage")
display.screen = display.SMUA
smua.source.levelv = value
The script will pause after displaying the prompt message and wait for the operator to enter the
voltage level. The display will then toggle to the source-measure display for SMU A and set the
source level to
value
.
NOTE If the operator presses EXIT instead of entering a source value,
value
will be set to
nil.
The second line of the above code can be replaced using the other input field function:
value = display.inputvalue("0.00")
The only difference is that the display prompt will not include the “V” units designator and the
“Enter source value” message.
Indicators
Send the following code to determine which display indicators are turned on:
annun = display.getannunciators()
print(annun)