FACT++  1.0
void FactGui::handleFadStatus ( const DimData d)
inlineprivate

Definition at line 1566 of file FactGui.h.

References DimData::size().

Referenced by infoHandler().

1567  {
1568  if (d.size()!=0 && !CheckSize(d, 42*sizeof(uint16_t)))
1569  return;
1570 
1571  SetFadLed(fFadLedDrsEnabled, d, FAD::EventHeader::kDenable);
1572  SetFadLed(fFadLedDrsWrite, d, FAD::EventHeader::kDwrite);
1573  SetFadLed(fFadLedDcmLocked, d, FAD::EventHeader::kDcmLocked);
1574  SetFadLed(fFadLedDcmReady, d, FAD::EventHeader::kDcmReady);
1575  SetFadLed(fFadLedSpiSclk, d, FAD::EventHeader::kSpiSclk);
1576  SetFadLed(fFadLedRefClockTooLow, d, FAD::EventHeader::kRefClkTooLow, true);
1577  SetFadLed(fFadLedBusyOn, d, FAD::EventHeader::kBusyOn);
1578  SetFadLed(fFadLedBusyOff, d, FAD::EventHeader::kBusyOff);
1579  SetFadLed(fFadLedTriggerLine, d, FAD::EventHeader::kTriggerLine);
1580  SetFadLed(fFadLedContTrigger, d, FAD::EventHeader::kContTrigger);
1581  SetFadLed(fFadLedSocket, d, FAD::EventHeader::kSock17);
1582  SetFadLed(fFadLedPllLock, d, 0xf000);
1583  }
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
Definition: FactGui.h:639
void SetFadLed(QPushButton *led, const DimData &d, uint16_t bitmask, bool invert=false)
Definition: FactGui.h:1523
size_t size() const
Definition: DimData.h:39

+ Here is the call graph for this function:

+ Here is the caller graph for this function: