Changeset 16851 for trunk/FACT++/scripts
- Timestamp:
- 06/15/13 18:08:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/scripts/CheckUnderflow.js
r16842 r16851 164 164 if (nn>0) 165 165 { 166 console.out(" "+new Date().toUTCString()+":Trying to restore last DRS calibration #"+nn+" ["+runs.time+"]");166 dim.log("Trying to restore last DRS calibration #"+nn+" ["+runs.time+"]"); 167 167 168 168 var night; … … 185 185 v8.timeout(3000, function() { if (service_drs.get(0, false).counter>drs_counter) return true; }); 186 186 187 console.out(" "+new Date().toUTCString()+":Last DRS calibration restored ["+(new Date()-now)/1000+"s]");187 dim.log("Last DRS calibration restored ["+(new Date()-now)/1000+"s]"); 188 188 } 189 189 … … 197 197 hist.print(); 198 198 199 var stat0 = Func.stat(data.avg, function(val) { if (val<6 50) console.out(" VAL="+val); return val<650; });199 var stat0 = Func.stat(data.avg, function(val) { if (val<600) console.out(" VAL="+val); return val<600; }); 200 200 var stat1 = Func.stat(data.rms); 201 201 … … 226 226 throw new Error("Underflow condition detected in about "+parseInt(stat0.count/9+.5)+" DRS."); 227 227 228 log.warn("There is probably an underflow condition in one DRS... please check manually.");228 console.warn("There is probably an underflow condition in one DRS... please check manually."); 229 229 } 230 230 }
Note:
See TracChangeset
for help on using the changeset viewer.