- Timestamp:
- 07/13/11 18:37:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r11377 r11379 802 802 return T::kSM_FatalError; 803 803 804 if (evt.GetUShort()>0xff )804 if (evt.GetUShort()>0xffff) 805 805 { 806 806 ostringstream msg; 807 msg << hex << "Value " << evt.GetUShort() << " out of range, max=" << 0xff << "(?)";807 msg << hex << "Value " << evt.GetUShort() << " out of range, max=" << 0xffff << "(?)"; 808 808 T::Error(msg); 809 809 return false; … … 1080 1080 } 1081 1081 1082 T::Message("Starting configuration for '"+name+"'"); 1082 ostringstream str; 1083 str << "Starting configuration for run " << GetRunNumber() << " (" << name << ")"; 1084 T::Message(str.str()); 1085 1086 const uint32_t runno = IncreaseRunNumber(); 1083 1087 1084 1088 for (BoardList::iterator it=fBoards.begin(); it!=fBoards.end(); it++) … … 1105 1109 1106 1110 fad.CmdSetTriggerRate(conf.fTriggerRate); 1107 fad.CmdSetRunNumber( IncreaseRunNumber());1111 fad.CmdSetRunNumber(runno); 1108 1112 fad.Cmd(FAD::kCmdResetEventCounter); 1109 1113 fad.Cmd(FAD::kCmdSingleTrigger); … … 1615 1619 "|val[short]:Value to be set"); 1616 1620 1617 T::AddEvent("CONFIGURE", "C", FAD::kConnected )1621 T::AddEvent("CONFIGURE", "C", FAD::kConnected, FAD::kConfigured) 1618 1622 (boost::bind(&StateMachineFAD::StartConfigure, this, _1)) 1619 1623 (""); 1620 1624 1621 T::AddEvent("RESET_CONFIGURE", FAD::kConfiguring )1625 T::AddEvent("RESET_CONFIGURE", FAD::kConfiguring, FAD::kConfigured) 1622 1626 (boost::bind(&StateMachineFAD::ResetConfig, this)) 1623 1627 ("");
Note:
See TracChangeset
for help on using the changeset viewer.