Series 2600B System SourceMeter® instrument User's Manual
Section 3: Instrument description
2600BS-900-01 Rev. A / August 2021
3-31
The following programming example illustrates how to prompt the operator to enter a source voltage
value for SMU A:
display.clear()
value = display.prompt("0.00", "V", "Enter source voltage")
display.screen = display.SMUA
smua.source.levelv = value
The script pauses after displaying the prompt message and waits for the operator to enter the voltage
level. The display then toggles to the source-measure display for SMU A and sets the source level
to
value
.
If the operator presses EXIT(LOCAL) instead of entering a source value,
value
is 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 does not include the “V” units designator and the
Enter
source value
message.
Indicators
To determine which front-panel display indicators are turned on, use the
display.getannunciators()
function. For example, send the following commands.
annun = display.getannunciators()
print(annun)
The 16-bit binary equivalent of the returned value is a bitmap. Each bit corresponds to an indicator. If
the bit is set to
1
, the indicator is turned on. If the bit is set to
0
, the indicator is turned off.
The following table identifies the bit position for each indicator. The table also includes the weighted
value of each bit. The returned value is the sum of all the weighted values for the bits that are set.
Bit identification for indicators
Bit
B16
B15
B14
B13
B12
B11
B10
B9
Annunciator
REL
REAR
SRQ
LSTN
TALK
REM
ERR
EDIT
Weighted value*
32768
16384
8192
4096
2048
1024
512
256
Binary value
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
Bit
B8
B7
B6
B5
B4
B3
B2
B1
Annunciator
SMPL
STAR
TRIG
ARM
AUTO
4W
MATH
FILT
Weighted value*
128
64
32
16
8
4
2
1
Binary value
0/1
0/1
0/1
0/1
0/1
0/1
0/1
0/1
* The weighted values are for bits that are set to
1
. Bits set to
0
have no value.
Not all the indicators shown in above table may be used by the 2600B.