Changeset 13160 for trunk/FACT++
- Timestamp:
- 03/21/12 14:33:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r12998 r13160 724 724 return T::GetCurrentState(); 725 725 } 726 726 /* 727 727 int StartRun(const EventImp &evt, bool start) 728 728 { … … 735 735 return T::GetCurrentState(); 736 736 } 737 737 */ 738 738 int PhaseShift(const EventImp &evt) 739 739 { … … 861 861 return T::GetCurrentState(); 862 862 } 863 863 /* 864 864 int Test(const EventImp &evt) 865 865 { … … 871 871 872 872 return T::GetCurrentState(); 873 } 873 }*/ 874 874 875 875 … … 1642 1642 T::AddEvent("SEND_N_TRIGGERS", "I", FAD::kConnecting, FAD::kConnected, FAD::kWritingData) 1643 1643 (bind(&StateMachineFAD::SendTriggers, this, placeholders::_1)) 1644 ("Issue software triggers"); 1644 ("Issue N software triggers (note that these are the triggers sent, not the triggers executed)" 1645 "|N[int]: Number of triggers to be sent to the board."); 1646 /* 1645 1647 T::AddEvent("START_RUN", "", FAD::kConnecting, FAD::kConnected, FAD::kWritingData) 1646 1648 (bind(&StateMachineFAD::StartRun, this, placeholders::_1, true)) … … 1649 1651 (bind(&StateMachineFAD::StartRun, this, placeholders::_1, false)) 1650 1652 (""); 1653 */ 1651 1654 T::AddEvent("PHASE_SHIFT", "S:1", FAD::kConnecting, FAD::kConnected, FAD::kWritingData) 1652 1655 (bind(&StateMachineFAD::PhaseShift, this, placeholders::_1)) 1653 ("Adjust ADC phase (in 'steps')"); 1656 ("Adjust ADC phase (in 'steps')" 1657 "|phase[short]"); 1654 1658 1655 1659 T::AddEvent("RESET_EVENT_COUNTER", FAD::kConnecting, FAD::kConnected, FAD::kWritingData) 1656 1660 (bind(&StateMachineFAD::Cmd, this, FAD::kCmdResetEventCounter)) 1657 (" ");1661 ("Reset the FAD boards' event counter to 0."); 1658 1662 1659 1663 T::AddEvent("SET_RUN_NUMBER", "X:1", FAD::kConnecting, FAD::kConnected, FAD::kWritingData) 1660 1664 (bind(&StateMachineFAD::SetRunNumber, this, placeholders::_1)) 1661 (""); 1665 ("Sent a new run-number to the boards" 1666 "|num[int]:Run number"); 1662 1667 1663 1668 T::AddEvent("SET_MAX_MEMORY", "S:1") … … 1688 1693 T::AddEvent("CONFIGURE", "X:2;C", FAD::kConnected, FAD::kConfigured, FAD::kWritingData) 1689 1694 (bind(&StateMachineFAD::StartConfigure, this, placeholders::_1)) 1690 (""); 1695 ("Configure a new run. If the internla trigger is enabled this might even start a new run." 1696 "|time_max[s]:Maximum time before the run is closed in seconds (0: unlimited)" 1697 "|num_max[int]:Maximum number of events before the run is closed in seconds (0: unlimited)" 1698 "|run_type[string]:Run type which describes the runs"); 1691 1699 1692 1700 T::AddEvent("RESET_CONFIGURE", FAD::kConfiguring1, FAD::kConfiguring2, FAD::kConfigured) 1693 1701 (bind(&StateMachineFAD::ResetConfig, this)) 1694 (" ");1702 ("If configuration failed and the fadctrl is waiting for something, use this to reset the state."); 1695 1703 1696 1704 // Verbosity commands … … 1707 1715 T::AddEvent("SET_DATA_OUTPUT", "B:1") 1708 1716 (bind(&StateMachineFAD::SetDataOutput, this, placeholders::_1)) 1709 (""); 1717 ("Enable or disable printing of the received adc data to the console" 1718 "|dataout[bool]:disable or enable data output for received data (yes/no)"); 1710 1719 1711 1720 T::AddEvent("SET_DEBUG_TX", "B:1") … … 1716 1725 T::AddEvent("SET_DEBUG_EVENT_BUILDER_OUT", "B:1") 1717 1726 (bind(&StateMachineFAD::SetDebugEb, this, placeholders::_1)) 1718 (""); 1727 ("Enable or disable the debug output from the event builder" 1728 "|enable[bool]:Enable/Disable (yes/no)"); 1719 1729 1720 1730 T::AddEvent("PRINT_EVENT", "S:1") … … 1763 1773 ("Close all run files opened by the EventBuilder."); 1764 1774 1765 T::AddEvent("TEST", "S:1")1766 (bind(&StateMachineFAD::Test, this, placeholders::_1))1767 ("");1775 //T::AddEvent("TEST", "S:1") 1776 // (bind(&StateMachineFAD::Test, this, placeholders::_1)) 1777 // (""); 1768 1778 1769 1779
Note:
See TracChangeset
for help on using the changeset viewer.