Changeset 10790 for trunk


Ignore:
Timestamp:
05/23/11 15:44:17 (14 years ago)
Author:
tbretz
Message:
Added commands for crate reset.
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/HeadersFTM.h

    r10767 r10790  
    4949        kStartRun          = 0x0001, ///< ...until kCmdStopRun
    5050        kTakeNevents       = 0x0002, ///< ...fixed number of events
     51
     52        // second word for kCmdCrateReset
     53        kResetCrate0       = 0x0001,
     54        kResetCrate1       = 0x0002,
     55        kResetCrate2       = 0x0004,
     56        kResetCrate3       = 0x0008,
    5157    };
    5258
  • trunk/FACT++/src/ftmctrl.cc

    r10789 r10790  
    16301630        AddEvent("RESET_CRATE", "S:1", kStateIdle)
    16311631            (boost::bind(&StateMachineFTM::ResetCrate, this, _1))
    1632             ("");
     1632            ("Reset one of the crates 0-3"
     1633             "|crate[short]:Crate number to be reseted (0-3)");
    16331634
    16341635        AddEvent("RESET_CAMERA", kStateIdle)
    16351636            (Wrapper(boost::bind(&ConnectionFTM::CmdResetCamera, &fFTM)))
    1636             ("");
     1637            ("Reset all crates. The commands are sent in the order 0,1,2,3");
    16371638
    16381639
Note: See TracChangeset for help on using the changeset viewer.