Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-66 2600BS-901-01 Rev. F/August 2021
Annunciator (indicator) bitmasked values and equivalent constants
display.ANNUNCIATOR_FILTER
display.ANNUNCIATOR_4_WIRE
display.ANNUNCIATOR_TRIGGER
display.ANNUNCIATOR_SAMPLE
display.ANNUNCIATOR_ERROR
display.ANNUNCIATOR_REMOTE
display.ANNUNCIATOR_LISTEN
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
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 9-8)