Changeset 19932 for trunk/FACT++/src


Ignore:
Timestamp:
01/17/20 14:08:08 (5 years ago)
Author:
tbretz
Message:
Forgot to also replace the actual limit!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fscctrl.cc

    r19925 r19932  
    273273            temperatures.push_back(valid ? GetTempPT1000(resist[*pt]) : 0);
    274274
    275             if (temperatures.back()>55)
     275            if (temperatures.back()>fTempLimit)
    276276            {
    277                 Warn("Temperature sensor "+to_string(temperatures.size()-1)+" exceeds 55 degC!");
     277                Warn("Temperature sensor "+to_string(temperatures.size()-1)+" exceeds "+Tools::Form("%.1f",fTempLimit)+" degC!");
    278278                tempgt50 = true;
    279279            }
     
    291291        if (fTempExceeded==3)
    292292        {
    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.");
    294294            Dim::SendCommandNB("BIAS_CONTROL/VOLTAGE_OFF");
    295295            Error("Sending 'BIAS_CONTROL/VOLTAGE_OFF'.");
Note: See TracChangeset for help on using the changeset viewer.