Changeset 12235
- Timestamp:
- 10/23/11 12:45:44 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r12216 r12235 1067 1067 fad.CmdSetRunNumber(runno); 1068 1068 fad.Cmd(FAD::kCmdResetEventCounter); 1069 fad.Cmd(FAD::kCmdTriggerLine, true); 1069 1070 //fad.Cmd(FAD::kCmdSingleTrigger); 1070 1071 //fad.Cmd(FAD::kCmdTriggerLine, true); … … 1395 1396 // and really sees the software trigger 1396 1397 // 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)) 1398 1399 return FAD::kConfiguring1; 1399 1400 … … 1425 1426 fad.Cmd(FAD::kCmdResetEventCounter); 1426 1427 fad.Cmd(FAD::kCmdSocket, false); 1427 fad.Cmd(FAD::kCmdTriggerLine, true);1428 //fad.Cmd(FAD::kCmdTriggerLine, true); 1428 1429 if (fTargetConfig->second.fContinousTrigger) 1429 1430 fad.Cmd(FAD::kCmdContTrigger, true); … … 1583 1584 (bind(&StateMachineFAD::SetTriggerRate, this, placeholders::_1)) 1584 1585 ("Enable continous trigger"); 1585 T::AddEvent("SEND_SINGLE_TRIGGER" , FAD::kConnecting, FAD::kConnected)1586 T::AddEvent("SEND_SINGLE_TRIGGER") 1586 1587 (bind(&StateMachineFAD::Trigger, this, 1)) 1587 1588 ("Issue software triggers"); … … 1990 1991 return -1; 1991 1992 } 1992 1993 1993 return -1; 1994 1994 } … … 2010 2010 po::options_description control("FAD control options"); 2011 2011 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.") 2016 2016 ; 2017 2017 … … 2026 2026 po::options_description builder("Event builder options"); 2027 2027 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.") 2029 2030 ; 2030 2031 2031 2032 2032 po::options_description runtype("Run type configuration"); 2033 2033 runtype.add_options() 2034 ("run-type", vars<string>(), " ")2034 ("run-type", vars<string>(), "Run type, e.g. data, pedestal, drs-calibration, light-pulser") 2035 2035 ("enable-dwrite.*", var<bool>(), "") 2036 2036 ("enable-drs.*", var<bool>(), "")
Note:
See TracChangeset
for help on using the changeset viewer.