Changeset 11983 for trunk/FACT++/src/mcp.cc
- Timestamp:
- 09/06/11 12:54:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/mcp.cc
r11982 r11983 55 55 kStateConfiguring2, 56 56 kStateConfiguring3, 57 kStateConfiguring4,58 57 kStateConfigured, 59 58 }; … … 272 271 } 273 272 274 Time fConfigTimer;275 276 273 int Execute() 277 274 { … … 320 317 return GetCurrentState(); 321 318 322 fConfigTimer = Time();323 324 return kStateConfiguring4;325 }326 327 if (GetCurrentState()==kStateConfiguring4)328 {329 // We need some delay to ensure that after sending the330 // "Enable Trigger Line" command to all FADs the really331 // have all already enabled the trigger line332 if (Time()-fConfigTimer<boost::posix_time::milliseconds(100))333 return kStateConfiguring4;334 335 319 Message("Starting Trigger (FTM)"); 336 320 Dim::SendCommand("FTM_CONTROL/START_RUN"); … … 407 391 408 392 AddStateName(kStateConfiguring3, "Configuring3", 409 ".");410 411 AddStateName(kStateConfiguring4, "Configuring4",412 393 "."); 413 394
Note:
See TracChangeset
for help on using the changeset viewer.