- Timestamp:
- 01/17/20 14:08:08 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fscctrl.cc
r19925 r19932 273 273 temperatures.push_back(valid ? GetTempPT1000(resist[*pt]) : 0); 274 274 275 if (temperatures.back()> 55)275 if (temperatures.back()>fTempLimit) 276 276 { 277 Warn("Temperature sensor "+to_string(temperatures.size()-1)+" exceeds 55degC!");277 Warn("Temperature sensor "+to_string(temperatures.size()-1)+" exceeds "+Tools::Form("%.1f",fTempLimit)+" degC!"); 278 278 tempgt50 = true; 279 279 } … … 291 291 if (fTempExceeded==3) 292 292 { 293 Error("EMERGENCY: This is the third time in a row that any of the tempereture sensors exceeds "+ to_string(fTempLimit)+" degC.");293 Error("EMERGENCY: This is the third time in a row that any of the tempereture sensors exceeds "+Tools::Form("%.1f", fTempLimit)+" degC."); 294 294 Dim::SendCommandNB("BIAS_CONTROL/VOLTAGE_OFF"); 295 295 Error("Sending 'BIAS_CONTROL/VOLTAGE_OFF'.");
Note:
See TracChangeset
for help on using the changeset viewer.