Changeset 12235


Ignore:
Timestamp:
10/23/11 12:45:44 (13 years ago)
Author:
tbretz
Message:
Some lttle cosmetics; added some help stuff.
File:
1 edited

Legend:

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

    r12216 r12235  
    10671067            fad.CmdSetRunNumber(runno);
    10681068            fad.Cmd(FAD::kCmdResetEventCounter);
     1069            fad.Cmd(FAD::kCmdTriggerLine, true);
    10691070            //fad.Cmd(FAD::kCmdSingleTrigger);
    10701071            //fad.Cmd(FAD::kCmdTriggerLine, true);
     
    13951396                // and really sees the software trigger
    13961397                // FIXME: Do we need this to be configurable?
    1397                 if (Time()-fConfigTimer<boost::posix_time::milliseconds(100))
     1398                if (Time()-fConfigTimer<boost::posix_time::milliseconds(3000))
    13981399                    return FAD::kConfiguring1;
    13991400
     
    14251426                    fad.Cmd(FAD::kCmdResetEventCounter);
    14261427                    fad.Cmd(FAD::kCmdSocket,      false);
    1427                     fad.Cmd(FAD::kCmdTriggerLine, true);
     1428                    //fad.Cmd(FAD::kCmdTriggerLine, true);
    14281429                    if (fTargetConfig->second.fContinousTrigger)
    14291430                        fad.Cmd(FAD::kCmdContTrigger, true);
     
    15831584            (bind(&StateMachineFAD::SetTriggerRate, this, placeholders::_1))
    15841585            ("Enable continous trigger");
    1585         T::AddEvent("SEND_SINGLE_TRIGGER", FAD::kConnecting, FAD::kConnected)
     1586        T::AddEvent("SEND_SINGLE_TRIGGER")
    15861587            (bind(&StateMachineFAD::Trigger, this, 1))
    15871588            ("Issue software triggers");
     
    19901991            return -1;
    19911992        }
    1992 
    19931993        return -1;
    19941994    }
     
    20102010    po::options_description control("FAD control options");
    20112011    control.add_options()
    2012         ("quiet,q",    po_bool(), "Disable printing contents of all received messages in clear text.")
    2013         ("hex-out",    po_bool(), "Enable printing contents of all printed messages also as hex data.")
    2014         ("data-out",   po_bool(), "Enable printing received event data.")
    2015         ("debug-tx",   po_bool(), "Enable debugging of ethernet transmission.")
     2012        ("quiet,q",  po_bool(), "Disable printing contents of all received messages in clear text.")
     2013        ("hex-out",  po_bool(), "Enable printing contents of all printed messages also as hex data.")
     2014        ("data-out", po_bool(), "Enable printing received event data.")
     2015        ("debug-tx", po_bool(), "Enable debugging of ethernet transmission.")
    20162016        ;
    20172017
     
    20262026    po::options_description builder("Event builder options");
    20272027    builder.add_options()
    2028         ("max-mem,m",  var<unsigned int>(100), "Maximum memory the event builder thread is allowed to consume for its event buffer")
     2028        ("max-mem,m",          var<unsigned int>(100), "Maximum memory the event builder thread is allowed to consume for its event buffer")
     2029        ("destination-folder", var<string>(""),        "Destination folder (base folder) for the event builder binary data files.")
    20292030        ;
    2030 
    20312031
    20322032    po::options_description runtype("Run type configuration");
    20332033    runtype.add_options()
    2034         ("run-type",                     vars<string>(),        "")
     2034        ("run-type",                     vars<string>(),        "Run type, e.g. data, pedestal, drs-calibration, light-pulser")
    20352035        ("enable-dwrite.*",              var<bool>(),           "")
    20362036        ("enable-drs.*",                 var<bool>(),           "")
Note: See TracChangeset for help on using the changeset viewer.