Changeset 14956 for trunk/FACT++/src


Ignore:
Timestamp:
02/25/13 11:51:40 (12 years ago)
Author:
tbretz
Message:
The locking of the clock conditioner cannot be checked during configuration because the first report after configuration always states that it is not locked. However, if the trigger is switched on, it can be checked continously.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ftmctrl.cc

    r14596 r14956  
    19571957                return FTM::State::kConfigError2;
    19581958            // ======================
     1959            /*
    19591960            if (!fFTM.IsLocked())
    19601961            {
    19611962                 T::Warn("Configuration successfull, but clock conditioner not locked.");
    19621963                 return FTM::State::kConfigError3;
    1963             }
     1964            }*/
    19641965            // ======================
    19651966
     
    19771978        case FTM::State::kConfigError2:
    19781979        case FTM::State::kConfigError3:
    1979             return T::GetCurrentState();
     1980            break;
    19801981
    19811982        default:
     
    19941995        if (T::GetCurrentState()==FTM::State::kConfigured &&
    19951996            fFTM.GetState()==ConnectionFTM::kTriggerOn)
     1997        {
     1998            if (!fFTM.IsLocked())
     1999            {
     2000                T::Warn("Configuration successfull, but clock conditioner not locked.");
     2001                return FTM::State::kConfigError3;
     2002            }
     2003
    19962004            return FTM::State::kTriggerOn;
     2005        }
    19972006
    19982007        return T::GetCurrentState();
Note: See TracChangeset for help on using the changeset viewer.