Changeset 13194


Ignore:
Timestamp:
03/23/12 11:21:51 (13 years ago)
Author:
tbretz
Message:
Updated some dim descriptions; suppress unecessary output by default.
File:
1 edited

Legend:

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

    r12954 r13194  
    534534         */
    535535
    536         for (size_t i=0; i<resist.size(); i++)
    537             if (resist[i]>800 && resist[i]<2000)
    538                 cout << setw(2) << i << " - " << setw(4) << (int)resist[i] << ": " << setprecision(1) << fixed << GetTempPT1000(resist[i]) << endl;
    539         else
    540                 cout << setw(2) << i << " - " << setw(4) << (int)resist[i] << ": " << "----" << endl;
     536        if (fIsVerbose)
     537        {
     538            for (size_t i=0; i<resist.size(); i++)
     539                if (resist[i]>800 && resist[i]<2000)
     540                    Out() << setw(2) << i << " - " << setw(4) << (int)resist[i] << ": " << setprecision(1) << fixed << GetTempPT1000(resist[i]) << endl;
     541                else
     542                    Out() << setw(2) << i << " - " << setw(4) << (int)resist[i] << ": " << "----" << endl;
     543        }
    541544
    542545        UpdateTemp(time, temperatures);
     
    660663    }
    661664
     665   
     666
    662667public:
    663668    ConnectionDimFSC(ba::io_service& ioservice, MessageImp &imp) :
     
    666671                    "|t[s]:FSC uptime"
    667672                    "|T_sens[deg C]:Sensor compartment temperatures"
    668                     "|T_crate[deg C]:Temperatures crate 0 (back/front), 1 (back/front), 2 (back/front), 3 (back/front)"
    669                     "|T_ps[deg C]:Temperatures power supplies crate 0 (back/front), 1 (back/front), 2 (back/front), 3 (back/front)"
    670                     "|T_aux[deg C]:Auxiliary power supply temperatures FTM (top/bottom), FSC (top/bottom)"
     673                    "|T_crate[deg C]:Temperatures crate 0 (back/front), 1 (b/f), 2 (b/f), 3 (b/f)"
     674                     "|T_ps[deg C]:Temp power supplies crate 0 (back/front), 1, 2, 3"
     675                    "|T_aux[deg C]:Auxiliary power supply temperatures FTM (top/bottom), FSC (t/b)"
    671676                    "|T_back[deg C]:FTM backpanel temperatures FTM (top/bottom), FSC (top/bottom)"
    672                     "|T_eth[deg C]:Ethernet switches temperatures top (front/back), bottom (front/back)"),
     677                    "|T_eth[deg C]:Ethernet switches temperatures top (front/back), bottom (f/b)"),
    673678        fDimHum    ("FSC_CONTROL/HUMIDITY", "F:1;F:4",
    674679                    "|t[s]:FSC uptime"
Note: See TracChangeset for help on using the changeset viewer.