EasyManuals Logo

Keithley 2657A User Manual

Keithley 2657A
805 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 #374 background imageLoading...
Page #374 background image
Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-61
Details
This function returns a bitmasked value showing which indicators are turned on. The 16-bit binary equivalent of
the returned value is the bitmask. The return value is a sum of set annunciators, based on the weighted value, as
shown in the following table.
Annunciator (indicator) bitmasked values and equivalent constants
Indicator Bit Weighted
value
Equivalent constant
FILT 1 1
display.ANNUNCIATOR_FILTER
MATH 2 2
display.ANNUNCIATOR_MATH
4W 3 4
display.ANNUNCIATOR_4_WIRE
AUTO 4 8
display.ANNUNCIATOR_AUTO
ARM 5 16
display.ANNUNCIATOR_ARM
TRIG 6 32
display.ANNUNCIATOR_TRIGGER
* (star) 7 64
display.ANNUNCIATOR_STAR
SMPL 8 128
display.ANNUNCIATOR_SAMPLE
EDIT 9 256
display.ANNUNCIATOR_EDIT
ERR 10 512
display.ANNUNCIATOR_ERROR
REM 11 1024
display.ANNUNCIATOR_REMOTE
TALK 12 2048
display.ANNUNCIATOR_TALK
LSTN 13 4096
display.ANNUNCIATOR_LISTEN
SRQ 14 8192
display.ANNUNCIATOR_SRQ
REAR 15 16384
display.ANNUNCIATOR_REAR
REL 16 32768
display.ANNUNCIATOR_REL
Example 1
testAnnunciators = display.getannunciators()
print(testAnnunciators)
rem = bit.bitand(testAnnunciators, 1024)
if rem > 0 then
print("REM is on")
else
print("REM is off")
end
REM indicator is turned on.
Output:
1.28000e+03
REM is on
Example 2
print(display.ANNUNCIATOR_EDIT)
print(display.ANNUNCIATOR_TRIGGER)
print(display.ANNUNCIATOR_AUTO)
Output:
2.56000e+02
3.20000e+01
8.00000e+00
Also see
bit.bitand() (on page 7-9)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 2657A and is the answer not in the manual?

Keithley 2657A Specifications

General IconGeneral
BrandKeithley
Model2657A
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals