Changeset 11773
- Timestamp:
- 08/04/11 13:23:18 (13 years ago)
- Location:
- fact/BIASctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/BIASctrl/Crate.cc
r11772 r11773 186 186 187 187 if (Data.size() == 3) { 188 ResetHit = false; 188 189 ErrorCount = 0; 189 190 return 1; … … 217 218 OC[i][j] = Data[Count] & 128; 218 219 Present[i][j] = (Data[Count+2] & 0x70) == 0 ? true : false; 219 ResetHit = Data[Count+2] & 128;220 if (!ResetHit) ResetHit = (Data[Count+2] & 0x80) == 0 ? false : true; 220 221 Count += 3; 221 222 } -
fact/BIASctrl/User.cc
r11772 r11773 615 615 616 616 if (Crates[i]->ResetHit) { 617 Message(INFO, "Manual reset of board%d, setting voltages to zero and issuing system reset", i);617 Message(INFO, "Manual reset of crate %d, setting voltages to zero and issuing system reset", i); 618 618 Crates[i]->GlobalSet(0); 619 619 Crates[i]->SystemReset(); … … 621 621 622 622 if (!Crates[i]->WrapOK) { 623 Message(ERROR, "Wrap counter mismatch of board%d", i);623 Message(ERROR, "Wrap counter mismatch of crate %d", i); 624 624 } 625 625
Note:
See TracChangeset
for help on using the changeset viewer.