Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-55
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
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 11-9)