Skip to content
Snippets Groups Projects
Commit 97fd9fe2 authored by Mikhail Remnev's avatar Mikhail Remnev
Browse files

Added alarm limits

parent 144d6279
No related branches found
No related tags found
No related merge requests found
......@@ -44,13 +44,15 @@ for phi in range(1, 72+1):
# Skip sectors for which all thermistors are masked
if phi_masking[phi - 1][:3] == [0, 0, 0]: continue
name = 'S%dBARREL:TEMPAVG' % phi
pvdb[name] = { 'prec' : 2, 'scan' : 15, 'unit' : 'C' }
pvdb[name] = { 'prec': 2, 'scan': 15, 'unit': 'C',
'high': 38, 'hihi': 40 }
#== Humidity
for phi in range(1, 72+1):
# Skip sectors for which humidity sensor is masked
if phi_masking[phi - 1][3] == 0: continue
name = 'S%dBARREL:RH' % phi
pvdb[name] = { 'prec' : 2, 'scan' : 15, 'unit' : '%' }
pvdb[name] = { 'prec': 2, 'scan': 15, 'unit': '%',
'lolo': 1, 'low': 2, 'high': 9, 'hihi': 10 }
################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment