Changeset 11166 for trunk/FACT++/src


Ignore:
Timestamp:
06/24/11 12:55:20 (14 years ago)
Author:
tbretz
Message:
Added PLL lock.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/EventBuilderWrapper.h

    r11162 r11166  
    721721    DimDescribedService fDimEventData;
    722722    DimDescribedService fDimFwVersion;
     723    DimDescribedService fDimPllLock;
    723724    DimDescribedService fDimStatistics;
    724725
     
    740741        fDimEventData("FAD_CONTROL/EVENT_DATA", "S:1;I:1;S:1;I:2;S:1;S", ""),
    741742        fDimFwVersion("FAD_CONTROL/FIRMWARE_VERSION", "F:43", ""),
     743        fDimPllLock("FAD_CONTROL/PLL_LOCK", "C:43", ""),
    742744        fDimStatistics("FAD_CONTROL/STATISTICS", "X:8", ""),
    743745        fDebugStream(false), fDebugRead(false)
     
    13531355            vec[i+3] = *ref;
    13541356
    1355             if (gi_NumConnect[i/7]!=7)
    1356                 continue;
     1357//            if (gi_NumConnect[i/7]!=7)
     1358//                continue;
    13571359
    13581360            if (!val)
     
    14031405    {
    14041406        const uint16_t id = h.Id();
    1405         if (id>39) // WARNING
     1407        if (id>39)
    14061408            return;
    14071409
     
    14421444        {
    14431445            const pair<bool, boost::array<uint16_t,43>> pll = Compare(&h, &h.fStatus, 0xf<<12, 12);
    1444             Print("Pll", pll);
     1446            pair<bool, boost::array<uint8_t,43>> data;
     1447            data.first = pll.first;
     1448
     1449            for (int i=0; i<43; i++)
     1450                data.second[i] = (pll.second[i]>>12)&0xf;
     1451            Update(fDimPllLock, data);
    14451452        }
    14461453
Note: See TracChangeset for help on using the changeset viewer.