Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 7: Command reference
2651A-901-01 Rev. A / March 2011
7-67
minimum
and
maximum
can be used to limit the values that can be entered. When + is selected for
format
, the
minimum limit must be more than or equal to zero. When limits are used, the operator cannot enter values above
or below these limits.
The input value is limited to ±1e37.
After sending this command, script execution pauses for the operator to enter a value and press
ENTER
.
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 navigation wheel
. Polarity will also toggle when using the navigation 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 exectuing this command and pressing the
EXIT (LOCAL)
key, the value returns
nil
.
Example
value = display.prompt("0.00", "V", "Input 0 to +2V", 0.5, 0, 2)
print(value)
The above command prompts the operator to enter a voltage value. The valid input range is 0 to +2.00, with a
default of 0.50:
0.50V
Input 0 to +2V
If the operator enters 0.70, the output is:
7.00000e-01
Also see
(on page 7-59)
display.screen
This attribute contains the selected display screen.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
Recall
Saved setups
display.SMUA
Usage
displayID
= display.screen
display.screen =
displayID
displayID
One of the following values:
•
0
or
display.SMUA
: Displays source-measure and compliance
•
3
or
display.USER
: Displays the user screen
Details
Setting this attribute selects the display screen for the front panel. This performs the same action as pressing the
DISPLAY
key on the front panel. The text for the display screen is set by
display.settext().
Read this attribute to determine which of the available display screens was last selected.
Example
display.screen = display.SMUA
Selects the source-measure and compliance
limit display for the SMU.