EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #392 background imageLoading...
Page #392 background image
Series 2600B System SourceMeter® instrument Reference Manual Section 9: TSP command reference
2600BS-901-01 Rev. F/August 2021 9-71
Details
The format parameter uses zeros (0), the decimal point, polarity sign, and exponents to define how
the input field is formatted. The format parameter can include the options shown in the
following table.
Option
Description
Examples
E
Include the E to display the value exponentially
0.00000e+0
+
Allows operators to enter positive or negative values; if the "+" sign is
not included, the operator cannot enter a negative value
+0.00
0
Defines the digit positions for the value; up to six zeros (0)
+00.0000e+00
.
Include to have a decimal point appear in the value
+0.00
The default parameter is the value shown when the value is first displayed.
You can use the minimum and maximum parameters to limit the values that can be entered. When +
is not selected for format, the minimum limit must be more than or equal to zero (0). When limits are
used, you cannot enter values above or below these limits.
The input value is limited to ±1e37.
Before calling display.inputvalue(), you should send a message prompt to the operator using
display.prompt(). Make sure to position the cursor where the edit field should appear.
After this command is sent, script execution pauses until you enter a value and press the ENTER key.
For positive and negative entry (plus sign (+) used for the value field and/or the exponent field),
polarity of a nonzero value or exponent can be toggled by positioning the cursor on the polarity sign
and turning the navigation wheel. Polarity is also toggled when using the navigation wheel to
decrease or increase the value or exponent past zero. A zero (0) value or exponent (for example,
+00) is always positive and cannot be toggled to negative polarity.
After executing this command and pressing the EXIT (LOCAL) key, the function returns nil.
Example
display.clear()
display.settext("Enter value between$N -0.10 and 2.00: ")
value = display.inputvalue("+0.00", 0.5, -0.1, 2.0)
print("Value entered = ", value)
Displays an editable field (+0.50) for operator input. The valid input range is −0.10 to +2.00, with a default
of 0.50.
Output:
Value entered = 1.35000e+00
Also see
display.prompt() (on page 9-76)
display.setcursor() (on page 9-80)
display.settext() (on page 9-81)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals