Changeset 11950 for trunk


Ignore:
Timestamp:
09/02/11 12:54:19 (13 years ago)
Author:
tbretz
Message:
Updated the way the currents and voltages are printed.
File:
1 edited

Legend:

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

    r11948 r11950  
    10041004        {
    10051005            const int id = c+kNumChannelsPerBoard*b;
     1006            Out() << (fCurrent[id]<0?kRed:kGreen);
    10061007            Out() << " " << setw(7) << abs(fCurrent[id])*5000/4096.;
    1007             if (fCurrent[id]<0)
    1008                 Out() << "!";
    1009             else
    1010                 Out() << " ";
    10111008        }
    10121009        Out() << endl;
     
    10401037            const int id = c+kNumChannelsPerBoard*b;
    10411038            Out() << " ";
     1039            Out() << (fVolt[id]==fVoltRef[id]?kGreen:kRed);
    10421040            Out() << setw(5) << fVolt[id]*90/4096. << '/';
    10431041            Out() << setw(5) << fVoltRef[id]*90/4096.;
     
    17291727        ("volt-max",        var<float>(75),      "Upper limit for the voltage which can be applied in Volts")
    17301728        ;
    1731     // FIXME: Make sure ramping / request and commands are
    1732     //        not sent at the same time.
     1729    // FIXME: Add a bit for OC... there is no -0
    17331730
    17341731    conf.AddOptions(control);
Note: See TracChangeset for help on using the changeset viewer.