1388 fStatusEventBuilderLabel->setText(
"Offline");
1389 fStatusEventBuilderLabel->setToolTip(
"FADs or fadctrl seems to be offline.");
1390 fGroupEthernet->setEnabled(
false);
1391 fGroupOutput->setEnabled(
false);
1397 const uint8_t *ptr = d.
ptr<uint8_t>();
1399 for (
int i=0;
i<40;
i++)
1401 const uint8_t stat1 = ptr[
i]&3;
1402 const uint8_t stat2 = ptr[
i]>>3;
1404 if (stat1==0 && stat2==0)
1409 if (stat1>=2 && stat2==8)
1415 if (stat1==1 && stat2==1)
1422 const bool runs = ptr[40]!=0;
1424 fStatusEventBuilderLabel->setText(runs?
"Running":
"Not running");
1425 fStatusEventBuilderLabel->setToolTip(runs?
"Event builder thread running.":
"Event builder thread stopped.");
1427 fGroupEthernet->setEnabled(runs);
1428 fGroupOutput->setEnabled(runs);
bool CheckSize(const DimData &d, size_t sz, bool print=true) const
void SetLedColor(QPushButton *button, LedColor_t col, const Time &t)
const T * ptr(uint32_t offset=0) const
QPushButton * fFadLED[40]