Ignore:
Timestamp:
07/20/11 20:20:31 (13 years ago)
Author:
tbretz
Message:
Propagate the maximum number of events and the maximum run-type together with the run-type when configuring/starting a run.
File:
1 edited

Legend:

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

    r11483 r11498  
    10661066    int StartConfigure(const EventImp &evt)
    10671067    {
    1068         const string name = evt.GetText();
     1068        const string name = evt.Ptr<char>(16);
    10691069
    10701070        fTargetConfig = fConfigs.find(name);
     
    10751075        }
    10761076
    1077         const uint32_t runno = StartNewRun();
     1077        const uint32_t runno = StartNewRun(evt.Get<uint64_t>(), evt.Get<uint64_t>(8));
    10781078
    10791079        ostringstream str;
     
    16161616            "|val[short]:Value to be set");
    16171617
    1618         T::AddEvent("CONFIGURE", "C", FAD::kConnected, FAD::kConfigured)
     1618        T::AddEvent("CONFIGURE", "X:2;C", FAD::kConnected, FAD::kConfigured)
    16191619            (bind(&StateMachineFAD::StartConfigure, this, placeholders::_1))
    16201620            ("");
Note: See TracChangeset for help on using the changeset viewer.