Keithley 2651A Reference Manual page 363

High power system sourcemeter instrument
Hide thumbs Also See for 2651A:
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
Annunciator (indicator) bitmasked values and equivalent constants
Indicator
FILT
MATH
4W
AUTO
ARM
TRIG
* (star)
SMPL
EDIT
ERR
REM
TALK
LSTN
SRQ
REAR
REL
Example 1
myAnnunciators = display.getannunciators()
print(myAnnunciators)
rem = bit.bitand(myAnnunciators, 1024)
if rem > 0 then
print("REM is on")
else
print("REM is off")
end
Example 2
print(display.ANNUNCIATOR_EDIT)
print(display.ANNUNCIATOR_TRIGGER)
print(display.ANNUNCIATOR_AUTO)
Also see
bit.bitand()
(on page 7-9)
2651A-901-01 Rev. A / March 2011
Bit
Weighted
value
1
1
2
2
3
4
4
8
5
16
6
32
7
64
8
128
9
256
10
512
11
1024
12
2048
13
4096
14
8192
15
16384
16
32768
Equivalent constant
display.ANNUNCIATOR_FILTER
display.ANNUNCIATOR_MATH
display.ANNUNCIATOR_4_WIRE
display.ANNUNCIATOR_AUTO
display.ANNUNCIATOR_ARM
display.ANNUNCIATOR_TRIG
display.ANNUNCIATOR_STAR
display.ANNUNCIATOR_SAMPLE
display.ANNUNCIATOR_EDIT
display.ANNUNCIATOR_ERROR
display.ANNUNCIATOR_REMOTE
display.ANNUNCIATOR_TALK
display.ANNUNCIATOR_LISTEN
display.ANNUNCIATOR_SRQ
display.ANNUNCIATOR_REAR
display.ANNUNCIATOR_REL
REM indicator is turned on.
Output:
1.28000e+03
REM is on
Output:
2.56000e+02
3.20000e+01
8.00000e+00
Section 7: Command reference
7-55

Advertisement

Table of Contents
loading

Table of Contents