- Timestamp:
- 07/26/11 10:23:06 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ftmctrl.cc
r11579 r11595 191 191 } 192 192 193 bool warn3 = false; 194 for (int i=0; i<4; i++) 195 if (data.fActiveFTU[i]!=0x3ff) 196 { 197 warn3 = true; 198 data.fActiveFTU[i]=0x3ff; 199 } 200 201 202 193 203 if (warn1) 194 204 Warn("GeneralSettings not consistent with trigger sequence."); 195 205 if (warn2) 196 206 Warn("Prescaling not consistent for all boards."); 197 198 return !warn1 && !warn2; 207 if (warn3) 208 Warn("Not all FTUs are enabled - enable all FTUs."); 209 210 return !warn1 && !warn2 && !warn3; 199 211 } 200 212 … … 321 333 { 322 334 CmdSendStatDat(data); 335 CmdPing(); // FIXME: Only needed in case of warn3 323 336 break; 324 337 } … … 1783 1796 fCounterStat = fFTM.GetCounter(FTM::kStaticData); 1784 1797 1798 T::Info(" ==> TODO: Update run in database!"); 1785 1799 T::Message("Sending new configuration was successfull."); 1786 1800
Note:
See TracChangeset
for help on using the changeset viewer.