Changeset 18800
- Timestamp:
- 04/02/17 10:34:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/biasctrl.cc
r18798 r18800 276 276 if (!fEmergencyShutdown) 277 277 { 278 if (fCurrent[id]<0 )278 if (fCurrent[id]<0 && id!=91) 279 279 { 280 Warn("OverCurrent detected .");280 Warn("OverCurrent detected (first ch="+to_string(id)+")."); 281 281 fEmergencyShutdown = true; 282 282 } … … 284 284 if (fEmergencyLimit>0 && fCurrent[id]>fEmergencyLimit && !fEmergencyShutdown) 285 285 { 286 Warn("Emergency limit exceeded .");286 Warn("Emergency limit exceeded (first ch="+to_string(id)+")."); 287 287 fEmergencyShutdown = true; 288 288 } … … 443 443 bool oc = false; 444 444 for (int ch=0; ch<kNumChannels; ch++) 445 if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0 )445 if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0 && ch!=91) 446 446 oc = true; 447 447 … … 1497 1497 { 1498 1498 for (int ch=0; ch<kNumChannels; ch++) 1499 if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0 )1499 if (fPresent[ch/kNumChannelsPerBoard] && fCurrent[ch]<0 && ch!=91) 1500 1500 return true; 1501 1501
Note:
See TracChangeset
for help on using the changeset viewer.