Changeset 11207
- Timestamp:
- 06/29/11 15:13:47 (13 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11200 r11207 385 385 DimStampedInfo fDimFadRuns; 386 386 DimStampedInfo fDimFadEvents; 387 DimStampedInfo fDimFadCurrentEvent;388 387 DimStampedInfo fDimFadEventData; 389 388 DimStampedInfo fDimFadConnections; … … 391 390 DimStampedInfo fDimFadRunNumber; 392 391 DimStampedInfo fDimFadDNA; 392 DimStampedInfo fDimFadTemperature; 393 393 DimStampedInfo fDimFadStatus; 394 394 DimStampedInfo fDimFadStatistics; … … 932 932 void handleFadRuns(const DimData &d) 933 933 { 934 if (!CheckSize(d, 12))934 if (!CheckSize(d, 20)) 935 935 return; 936 936 937 937 const uint32_t *ptr = d.ptr<uint32_t>(); 938 938 939 fEvtBldOpenFiles->setValue(ptr[0]); 940 fEvtBldOpenStreams->setValue(ptr[0]); 939 941 fEvtBldRunNumberMin->setValue(ptr[1]); 940 942 fEvtBldRunNumberMax->setValue(ptr[2]); 941 fEvtBldOpenFiles->setValue(ptr[0]); 943 fEvtBldLastOpened->setValue(ptr[3]); 944 fEvtBldLastClosed->setValue(ptr[4]); 942 945 } 943 946 944 947 void handleFadEvents(const DimData &d) 945 948 { 946 if (!CheckSize(d, 8))949 if (!CheckSize(d, 16)) 947 950 return; 948 951 … … 951 954 fEvtsSuccessCurRun->setValue(ptr[0]); 952 955 fEvtsSuccessTotal->setValue(ptr[1]); 953 } 954 955 void handleFadCurrentEvent(const DimData &d) 956 { 957 if (!CheckSize(d, 4)) 958 return; 959 960 fEvtsEventId->setValue(d.get<uint32_t>()); 956 fEvtBldEventId->setValue(ptr[2]); 957 fEvtBldTriggerId->setValue(ptr[3]); 958 } 959 960 void handleFadTemperature(const DimData &d) 961 { 962 if (d.size()==0) 963 { 964 fFadTempMin->setEnabled(false); 965 fFadTempMax->setEnabled(false); 966 return; 967 } 968 969 if (!CheckSize(d, 82*sizeof(float))) 970 return; 971 972 const float *ptr = d.ptr<float>(); 973 974 fFadTempMin->setEnabled(true); 975 fFadTempMax->setEnabled(true); 976 977 fFadTempMin->setValue(ptr[0]); 978 fFadTempMax->setValue(ptr[40]); 979 980 handleFadToolTip(d.time, fFadTempMin, ptr+1); 981 handleFadToolTip(d.time, fFadTempMax, ptr+41); 961 982 } 962 983 … … 1039 1060 } 1040 1061 1041 vector<uint8_t> fFadConnections;1062 // vector<uint8_t> fFadConnections; 1042 1063 1043 1064 void handleFadConnections(const DimData &d) … … 1070 1091 } 1071 1092 1072 SetLedColor(fFadLEDEventBuilder, ptr[40]==0?kLedRed:kLedGreen, d.time); 1073 1074 fFadConnections.assign(ptr, ptr+40); 1093 1094 const bool runs = ptr[40]!=0; 1095 1096 fStatusEventBuilderLabel->setText(runs?"Running":"Not running"); 1097 fStatusEventBuilderLabel->setToolTip(runs?"Event builder thread running.":"Event builder thread stopped."); 1098 fEvtBldWidget->setEnabled(runs); 1099 1100 SetLedColor(fStatusEventBuilderLed, runs?kLedGreen:kLedRed, d.time); 1101 1102 // fFadConnections.assign(ptr, ptr+40); 1103 } 1104 1105 template<typename T> 1106 void handleFadToolTip(const Time &time, QWidget *w, T *ptr) 1107 { 1108 ostringstream tip; 1109 tip << "<table border='1'><tr><th colspan='11'>" << time.GetAsStr() << " (UTC)</th></tr><tr><th></th>"; 1110 for (int b=0; b<10; b++) 1111 tip << "<th>" << b << "</th>"; 1112 tip << "</tr>"; 1113 1114 for (int c=0; c<4; c++) 1115 { 1116 tip << "<tr><th>" << c << "</th>"; 1117 for (int b=0; b<10; b++) 1118 tip << "<td>" << ptr[c*10+b] << "</td>"; 1119 tip << "</tr>"; 1120 } 1121 tip << "</table>"; 1122 1123 w->setToolTip(tip.str().c_str()); 1075 1124 } 1076 1125 … … 1098 1147 wmax->setValue(max); 1099 1148 1100 ostringstream tip; 1101 tip << "<table border='1'><tr><th colspan='11'>" << Time().GetAsStr() << " (UTC)</th></tr><tr><th></th>"; 1102 for (int b=0; b<10; b++) 1103 tip << "<th>" << b << "</th>"; 1104 tip << "</tr>"; 1105 1106 for (int c=0; c<4; c++) 1107 { 1108 tip << "<tr><th>" << c << "</th>"; 1109 for (int b=0; b<10; b++) 1110 tip << "<td>" << ptr[c*10+b] << "</td>"; 1111 tip << "</tr>"; 1112 } 1113 tip << "</table>"; 1114 1115 led->setToolTip(tip.str().c_str()); 1149 handleFadToolTip(d.time, led, ptr); 1116 1150 } 1117 1151 … … 1152 1186 } 1153 1187 1154 void SetFadLed(QPushButton *led, const DimData &d, uint16_t bitmask) 1155 { 1188 void SetFadLed(QPushButton *led, const DimData &d, uint16_t bitmask, bool invert=false) 1189 { 1190 if (d.size()==0) 1191 { 1192 SetLedColor(led, kLedGray, d.time); 1193 return; 1194 } 1195 1156 1196 const bool quality = d.ptr<uint16_t>()[0]&bitmask; 1157 1197 const bool value = d.ptr<uint16_t>()[1]&bitmask; 1158 1198 const uint16_t *ptr = d.ptr<uint16_t>()+2; 1159 1199 1160 SetLedColor(led, quality?kLedOrange:(value ?kLedGreen:kLedRed), d.time);1200 SetLedColor(led, quality?kLedOrange:(value^invert?kLedGreen:kLedRed), d.time); 1161 1201 1162 1202 ostringstream tip; … … 1184 1224 void handleFadStatus(const DimData &d) 1185 1225 { 1186 if ( !CheckSize(d, 42*sizeof(uint16_t)))1226 if (d.size()!=0 && !CheckSize(d, 42*sizeof(uint16_t))) 1187 1227 return; 1188 1228 … … 1192 1232 SetFadLed(fFadLedDcmReady, d, FAD::EventHeader::kDcmReady); 1193 1233 SetFadLed(fFadLedSpiSclk, d, FAD::EventHeader::kSpiSclk); 1194 SetFadLed(fFadLedRefClockTooLow, d, FAD::EventHeader::kRefClkTooLow );1234 SetFadLed(fFadLedRefClockTooLow, d, FAD::EventHeader::kRefClkTooLow, true); 1195 1235 SetFadLed(fFadLedBusy, d, FAD::EventHeader::kBusy); 1196 1236 SetFadLed(fFadLedTriggerLine, d, FAD::EventHeader::kTriggerLine); … … 1215 1255 fFadEvtDel->setValue(stat[3]); 1216 1256 fFadEvtTot->setValue(stat[4]); 1217 fFadEvtRead->setValue(stat[6]/1024.); 1257 fFadEthernetRateTot->setValue(stat[6]/1024.); 1258 fFadEthernetRateAvg->setValue(stat[6]/1024./stat[7]); 1218 1259 fFadEvtConn->setValue(stat[7]); 1219 1260 } … … 1735 1776 bool enable = false; 1736 1777 1737 if (s.index<FAD::kDisconnected) // No Dim connection 1778 if (s.index<FAD::kOffline) // No Dim connection 1779 { 1738 1780 SetLedColor(fStatusFADLed, kLedGray, time); 1781 1782 fStatusEventBuilderLabel->setText("Offline"); 1783 fStatusEventBuilderLabel->setToolTip("No connection to fadctrl."); 1784 fEvtBldWidget->setEnabled(false); 1785 1786 SetLedColor(fStatusEventBuilderLed, kLedGray, time); 1787 } 1739 1788 if (s.index==FAD::kOffline) // Dim connection / FTM disconnected 1740 1789 SetLedColor(fStatusFADLed, kLedRed, time); … … 2013 2062 return PostInfoHandler(&FactGui::handleFadDNA); 2014 2063 2064 if (getInfo()==&fDimFadTemperature) 2065 return PostInfoHandler(&FactGui::handleFadTemperature); 2066 2015 2067 if (getInfo()==&fDimFadStatus) 2016 2068 return PostInfoHandler(&FactGui::handleFadStatus); … … 2024 2076 if (getInfo()==&fDimFadRuns) 2025 2077 return PostInfoHandler(&FactGui::handleFadRuns); 2026 2027 if (getInfo()==&fDimFadCurrentEvent)2028 return PostInfoHandler(&FactGui::handleFadCurrentEvent);2029 2078 2030 2079 if (getInfo()==&fDimFadEventData) … … 2437 2486 fInChoosePatch(false), 2438 2487 fDimDNS("DIS_DNS/VERSION_NUMBER", 1, int(0), this), 2439 2488 //- 2440 2489 fDimLoggerStats ("DATA_LOGGER/STATS", (void*)NULL, 0, this), 2441 2490 fDimLoggerFilenameNight("DATA_LOGGER/FILENAME_NIGHTLY", (void*)NULL, 0, this), 2442 2491 fDimLoggerFilenameRun ("DATA_LOGGER/FILENAME_RUN", (void*)NULL, 0, this), 2443 2492 fDimLoggerNumSubs ("DATA_LOGGER/NUM_SUBS", (void*)NULL, 0, this), 2444 2493 //- 2445 2494 fDimFtmPassport ("FTM_CONTROL/PASSPORT", (void*)NULL, 0, this), 2446 2495 fDimFtmTriggerCounter ("FTM_CONTROL/TRIGGER_COUNTER", (void*)NULL, 0, this), … … 2450 2499 fDimFtmDynamicData ("FTM_CONTROL/DYNAMIC_DATA", (void*)NULL, 0, this), 2451 2500 fDimFtmCounter ("FTM_CONTROL/COUNTER", (void*)NULL, 0, this), 2501 //- 2452 2502 fDimFadRuns ("FAD_CONTROL/RUNS", (void*)NULL, 0, this), 2453 2503 fDimFadEvents ("FAD_CONTROL/EVENTS", (void*)NULL, 0, this), 2454 fDimFadCurrentEvent ("FAD_CONTROL/CURRENT_EVENT", (void*)NULL, 0, this),2455 2504 fDimFadEventData ("FAD_CONTROL/EVENT_DATA", (void*)NULL, 0, this), 2456 2505 fDimFadConnections ("FAD_CONTROL/CONNECTIONS", (void*)NULL, 0, this), … … 2458 2507 fDimFadRunNumber ("FAD_CONTROL/RUN_NUMBER", (void*)NULL, 0, this), 2459 2508 fDimFadDNA ("FAD_CONTROL/DNA", (void*)NULL, 0, this), 2509 fDimFadTemperature ("FAD_CONTROL/TEMPERATURE", (void*)NULL, 0, this), 2460 2510 fDimFadStatus ("FAD_CONTROL/STATUS", (void*)NULL, 0, this), 2461 2511 fDimFadStatistics ("FAD_CONTROL/STATISTICS", (void*)NULL, 0, this) -
trunk/FACT++/gui/design.ui
r11200 r11207 53 53 </property> 54 54 <property name="currentIndex"> 55 <number> 4</number>55 <number>3</number> 56 56 </property> 57 57 <property name="documentMode"> … … 2869 2869 </layout> 2870 2870 </widget> 2871 <widget class="QWidget" name="fF ADTab">2871 <widget class="QWidget" name="fFadTab"> 2872 2872 <attribute name="title"> 2873 2873 <string>FAD</string> … … 3101 3101 </item> 3102 3102 </layout> 3103 </item>3104 <item row="2" column="1">3105 <widget class="QLabel" name="label_138">3106 <property name="text">3107 <string>Event Builder thread running</string>3108 </property>3109 </widget>3110 </item>3111 <item row="2" column="0">3112 <widget class="QPushButton" name="fFadLEDEventBuilder">3113 <property name="enabled">3114 <bool>true</bool>3115 </property>3116 <property name="sizePolicy">3117 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">3118 <horstretch>0</horstretch>3119 <verstretch>0</verstretch>3120 </sizepolicy>3121 </property>3122 <property name="maximumSize">3123 <size>3124 <width>18</width>3125 <height>16777215</height>3126 </size>3127 </property>3128 <property name="text">3129 <string/>3130 </property>3131 <property name="icon">3132 <iconset resource="design.qrc">3133 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset>3134 </property>3135 <property name="iconSize">3136 <size>3137 <width>16</width>3138 <height>16</height>3139 </size>3140 </property>3141 <property name="checkable">3142 <bool>false</bool>3143 </property>3144 <property name="flat">3145 <bool>true</bool>3146 </property>3147 </widget>3148 3103 </item> 3149 3104 </layout> … … 3246 3201 <layout class="QGridLayout" name="gridLayout_42"> 3247 3202 <item row="0" column="0"> 3248 <layout class="QGridLayout" name="gridLayout_37" rowstretch="0,0,0,0,0,0,0,0,0,0 ,0,0,0,0">3203 <layout class="QGridLayout" name="gridLayout_37" rowstretch="0,0,0,0,0,0,0,0,0,0"> 3249 3204 <item row="1" column="1"> 3250 3205 <widget class="QPushButton" name="fFadTriggerLineOn"> … … 4010 3965 <item row="2" column="2"> 4011 3966 <widget class="QSpinBox" name="spinBox"> 3967 <property name="enabled"> 3968 <bool>false</bool> 3969 </property> 4012 3970 <property name="alignment"> 4013 3971 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4023 3981 <item row="3" column="2"> 4024 3982 <widget class="QSpinBox" name="spinBox_2"> 3983 <property name="enabled"> 3984 <bool>false</bool> 3985 </property> 4025 3986 <property name="alignment"> 4026 3987 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4052 4013 <item row="4" column="2"> 4053 4014 <widget class="QSpinBox" name="spinBox_3"> 4015 <property name="enabled"> 4016 <bool>false</bool> 4017 </property> 4054 4018 <property name="alignment"> 4055 4019 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4103 4067 <item row="2" column="3"> 4104 4068 <widget class="QSpinBox" name="spinBox_18"> 4069 <property name="enabled"> 4070 <bool>false</bool> 4071 </property> 4105 4072 <property name="alignment"> 4106 4073 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4120 4087 <item row="4" column="3"> 4121 4088 <widget class="QSpinBox" name="spinBox_20"> 4089 <property name="enabled"> 4090 <bool>false</bool> 4091 </property> 4122 4092 <property name="alignment"> 4123 4093 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4171 4141 </item> 4172 4142 <item row="9" column="2"> 4173 <widget class="QDoubleSpinBox" name=" doubleSpinBox_2">4143 <widget class="QDoubleSpinBox" name="fFadTempMin"> 4174 4144 <property name="alignment"> 4175 4145 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4184 4154 </item> 4185 4155 <item row="9" column="3"> 4186 <widget class="QDoubleSpinBox" name=" doubleSpinBox_3">4156 <widget class="QDoubleSpinBox" name="fFadTempMax"> 4187 4157 <property name="alignment"> 4188 4158 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4296 4266 </property> 4297 4267 <property name="maximum"> 4298 <number> 999999999</number>4268 <number>2147483647</number> 4299 4269 </property> 4300 4270 </widget> … … 4344 4314 </property> 4345 4315 <property name="maximum"> 4346 <number> 999999999</number>4316 <number>2147483647</number> 4347 4317 </property> 4348 4318 </widget> … … 4376 4346 <string>Event Builder overview</string> 4377 4347 </property> 4378 <widget class="QWidget" name="f AdcWidget">4348 <widget class="QWidget" name="fEvtBldWidget"> 4379 4349 <property name="sizePolicy"> 4380 4350 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> … … 4386 4356 <item row="0" column="0"> 4387 4357 <layout class="QGridLayout" name="gridLayout_47"> 4388 <item row=" 1" column="1">4389 <widget class="QGroupBox" name="groupBox_1 5">4358 <item row="0" column="1"> 4359 <widget class="QGroupBox" name="groupBox_16"> 4390 4360 <property name="title"> 4391 <string>Closed files</string> 4392 </property> 4393 <widget class="QWidget" name="gridLayoutWidget_7"> 4361 <string>Open output streams</string> 4362 </property> 4363 <widget class="QWidget" name="gridLayoutWidget_5"> 4364 <property name="geometry"> 4365 <rect> 4366 <x>10</x> 4367 <y>30</y> 4368 <width>441</width> 4369 <height>206</height> 4370 </rect> 4371 </property> 4372 <layout class="QGridLayout" name="gridLayout_50"> 4373 <item row="1" column="1"> 4374 <widget class="QLabel" name="label_110"> 4375 <property name="text"> 4376 <string>Run no.</string> 4377 </property> 4378 <property name="alignment"> 4379 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 4380 </property> 4381 </widget> 4382 </item> 4383 <item row="0" column="0"> 4384 <widget class="QLabel" name="label_127"> 4385 <property name="text"> 4386 <string>No. streams</string> 4387 </property> 4388 <property name="alignment"> 4389 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 4390 </property> 4391 </widget> 4392 </item> 4393 <item row="0" column="1"> 4394 <widget class="QSpinBox" name="fEvtBldOpenStreams"> 4395 <property name="alignment"> 4396 <set>Qt::AlignCenter</set> 4397 </property> 4398 <property name="readOnly"> 4399 <bool>true</bool> 4400 </property> 4401 <property name="buttonSymbols"> 4402 <enum>QAbstractSpinBox::NoButtons</enum> 4403 </property> 4404 </widget> 4405 </item> 4406 <item row="2" column="1"> 4407 <widget class="QSpinBox" name="fEvtBldRunNumberMin"> 4408 <property name="alignment"> 4409 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4410 </property> 4411 <property name="readOnly"> 4412 <bool>true</bool> 4413 </property> 4414 <property name="buttonSymbols"> 4415 <enum>QAbstractSpinBox::NoButtons</enum> 4416 </property> 4417 <property name="maximum"> 4418 <number>2147483647</number> 4419 </property> 4420 </widget> 4421 </item> 4422 <item row="3" column="1"> 4423 <widget class="QSpinBox" name="fEvtBldRunNumberMax"> 4424 <property name="alignment"> 4425 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4426 </property> 4427 <property name="readOnly"> 4428 <bool>true</bool> 4429 </property> 4430 <property name="buttonSymbols"> 4431 <enum>QAbstractSpinBox::NoButtons</enum> 4432 </property> 4433 <property name="maximum"> 4434 <number>2147483647</number> 4435 </property> 4436 </widget> 4437 </item> 4438 <item row="2" column="0"> 4439 <widget class="QLabel" name="label_107"> 4440 <property name="text"> 4441 <string>Min</string> 4442 </property> 4443 </widget> 4444 </item> 4445 <item row="3" column="0"> 4446 <widget class="QLabel" name="label_112"> 4447 <property name="text"> 4448 <string>Max</string> 4449 </property> 4450 </widget> 4451 </item> 4452 <item row="4" column="1"> 4453 <widget class="QLabel" name="label_120"> 4454 <property name="text"> 4455 <string>Last run no.</string> 4456 </property> 4457 <property name="alignment"> 4458 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 4459 </property> 4460 </widget> 4461 </item> 4462 <item row="5" column="1"> 4463 <widget class="QSpinBox" name="fEvtBldLastOpened"> 4464 <property name="alignment"> 4465 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4466 </property> 4467 <property name="readOnly"> 4468 <bool>true</bool> 4469 </property> 4470 <property name="buttonSymbols"> 4471 <enum>QAbstractSpinBox::NoButtons</enum> 4472 </property> 4473 <property name="maximum"> 4474 <number>2147483647</number> 4475 </property> 4476 </widget> 4477 </item> 4478 <item row="6" column="1"> 4479 <widget class="QSpinBox" name="fEvtBldLastClosed"> 4480 <property name="alignment"> 4481 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4482 </property> 4483 <property name="readOnly"> 4484 <bool>true</bool> 4485 </property> 4486 <property name="buttonSymbols"> 4487 <enum>QAbstractSpinBox::NoButtons</enum> 4488 </property> 4489 <property name="maximum"> 4490 <number>2147483647</number> 4491 </property> 4492 </widget> 4493 </item> 4494 <item row="5" column="0"> 4495 <widget class="QLabel" name="label_125"> 4496 <property name="text"> 4497 <string>Opened</string> 4498 </property> 4499 </widget> 4500 </item> 4501 <item row="6" column="0"> 4502 <widget class="QLabel" name="label_126"> 4503 <property name="text"> 4504 <string>Closed</string> 4505 </property> 4506 </widget> 4507 </item> 4508 <item row="2" column="4"> 4509 <widget class="QLabel" name="label_98"> 4510 <property name="text"> 4511 <string>For max run no.</string> 4512 </property> 4513 <property name="alignment"> 4514 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 4515 </property> 4516 </widget> 4517 </item> 4518 <item row="3" column="4"> 4519 <widget class="QSpinBox" name="fEvtBldEventId"> 4520 <property name="alignment"> 4521 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4522 </property> 4523 <property name="readOnly"> 4524 <bool>true</bool> 4525 </property> 4526 <property name="buttonSymbols"> 4527 <enum>QAbstractSpinBox::NoButtons</enum> 4528 </property> 4529 <property name="maximum"> 4530 <number>2147483647</number> 4531 </property> 4532 </widget> 4533 </item> 4534 <item row="4" column="4"> 4535 <widget class="QSpinBox" name="fEvtBldTriggerId"> 4536 <property name="alignment"> 4537 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4538 </property> 4539 <property name="readOnly"> 4540 <bool>true</bool> 4541 </property> 4542 <property name="buttonSymbols"> 4543 <enum>QAbstractSpinBox::NoButtons</enum> 4544 </property> 4545 <property name="maximum"> 4546 <number>2147483647</number> 4547 </property> 4548 </widget> 4549 </item> 4550 <item row="3" column="3"> 4551 <widget class="QLabel" name="label_109"> 4552 <property name="text"> 4553 <string>Event ID</string> 4554 </property> 4555 <property name="alignment"> 4556 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 4557 </property> 4558 </widget> 4559 </item> 4560 <item row="4" column="3"> 4561 <widget class="QLabel" name="label_108"> 4562 <property name="text"> 4563 <string>Trigger ID</string> 4564 </property> 4565 <property name="alignment"> 4566 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 4567 </property> 4568 </widget> 4569 </item> 4570 <item row="3" column="2"> 4571 <widget class="QLabel" name="label_146"> 4572 <property name="text"> 4573 <string>------></string> 4574 </property> 4575 </widget> 4576 </item> 4577 <item row="4" column="2"> 4578 <widget class="QLabel" name="label_147"> 4579 <property name="text"> 4580 <string> \----></string> 4581 </property> 4582 </widget> 4583 </item> 4584 </layout> 4585 </widget> 4586 </widget> 4587 </item> 4588 <item row="0" column="0"> 4589 <widget class="QGroupBox" name="groupBox_17"> 4590 <property name="title"> 4591 <string>Ethernet</string> 4592 </property> 4593 <widget class="QWidget" name="gridLayoutWidget_6"> 4394 4594 <property name="geometry"> 4395 4595 <rect> 4396 4596 <x>110</x> 4397 4597 <y>60</y> 4398 <width>250</width> 4598 <width>263</width> 4599 <height>141</height> 4600 </rect> 4601 </property> 4602 <layout class="QGridLayout" name="gridLayout_48" columnstretch="0,0,0,0,0,0"> 4603 <item row="4" column="3"> 4604 <widget class="QDoubleSpinBox" name="fFadEthernetRateAvg"> 4605 <property name="alignment"> 4606 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4607 </property> 4608 <property name="readOnly"> 4609 <bool>true</bool> 4610 </property> 4611 <property name="buttonSymbols"> 4612 <enum>QAbstractSpinBox::NoButtons</enum> 4613 </property> 4614 <property name="suffix"> 4615 <string> kB/s</string> 4616 </property> 4617 <property name="decimals"> 4618 <number>1</number> 4619 </property> 4620 <property name="maximum"> 4621 <double>10000.000000000000000</double> 4622 </property> 4623 </widget> 4624 </item> 4625 <item row="3" column="3"> 4626 <widget class="QDoubleSpinBox" name="fFadEthernetRateMin"> 4627 <property name="alignment"> 4628 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4629 </property> 4630 <property name="readOnly"> 4631 <bool>true</bool> 4632 </property> 4633 <property name="buttonSymbols"> 4634 <enum>QAbstractSpinBox::NoButtons</enum> 4635 </property> 4636 <property name="suffix"> 4637 <string> kB/s</string> 4638 </property> 4639 <property name="decimals"> 4640 <number>1</number> 4641 </property> 4642 <property name="maximum"> 4643 <double>10000.000000000000000</double> 4644 </property> 4645 </widget> 4646 </item> 4647 <item row="5" column="3"> 4648 <widget class="QDoubleSpinBox" name="fFadEthernetRateMax"> 4649 <property name="alignment"> 4650 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4651 </property> 4652 <property name="readOnly"> 4653 <bool>true</bool> 4654 </property> 4655 <property name="buttonSymbols"> 4656 <enum>QAbstractSpinBox::NoButtons</enum> 4657 </property> 4658 <property name="suffix"> 4659 <string> kB/s</string> 4660 </property> 4661 <property name="decimals"> 4662 <number>1</number> 4663 </property> 4664 <property name="maximum"> 4665 <double>10000.000000000000000</double> 4666 </property> 4667 </widget> 4668 </item> 4669 <item row="2" column="3"> 4670 <widget class="QLabel" name="label_117"> 4671 <property name="text"> 4672 <string>Per socket</string> 4673 </property> 4674 <property name="alignment"> 4675 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 4676 </property> 4677 </widget> 4678 </item> 4679 <item row="3" column="4"> 4680 <widget class="QLabel" name="label_123"> 4681 <property name="text"> 4682 <string>Total</string> 4683 </property> 4684 <property name="alignment"> 4685 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 4686 </property> 4687 </widget> 4688 </item> 4689 <item row="4" column="4"> 4690 <widget class="QSpinBox" name="fFadEthernetRateTot"> 4691 <property name="alignment"> 4692 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4693 </property> 4694 <property name="readOnly"> 4695 <bool>true</bool> 4696 </property> 4697 <property name="buttonSymbols"> 4698 <enum>QAbstractSpinBox::NoButtons</enum> 4699 </property> 4700 <property name="suffix"> 4701 <string> kB/s</string> 4702 </property> 4703 <property name="maximum"> 4704 <number>1000000</number> 4705 </property> 4706 </widget> 4707 </item> 4708 <item row="3" column="2"> 4709 <widget class="QLabel" name="label_118"> 4710 <property name="text"> 4711 <string>Min</string> 4712 </property> 4713 <property name="alignment"> 4714 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 4715 </property> 4716 </widget> 4717 </item> 4718 <item row="4" column="2"> 4719 <widget class="QLabel" name="label_119"> 4720 <property name="text"> 4721 <string>Avg</string> 4722 </property> 4723 <property name="alignment"> 4724 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 4725 </property> 4726 </widget> 4727 </item> 4728 <item row="5" column="2"> 4729 <widget class="QLabel" name="label_122"> 4730 <property name="text"> 4731 <string>Max</string> 4732 </property> 4733 <property name="alignment"> 4734 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 4735 </property> 4736 </widget> 4737 </item> 4738 <item row="0" column="3"> 4739 <widget class="QSpinBox" name="fFadEvtConn"> 4740 <property name="alignment"> 4741 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4742 </property> 4743 <property name="readOnly"> 4744 <bool>true</bool> 4745 </property> 4746 <property name="buttonSymbols"> 4747 <enum>QAbstractSpinBox::NoButtons</enum> 4748 </property> 4749 <property name="suffix"> 4750 <string> sockets</string> 4751 </property> 4752 <property name="maximum"> 4753 <number>1000</number> 4754 </property> 4755 </widget> 4756 </item> 4757 <item row="1" column="3"> 4758 <spacer name="verticalSpacer_25"> 4759 <property name="orientation"> 4760 <enum>Qt::Vertical</enum> 4761 </property> 4762 <property name="sizeHint" stdset="0"> 4763 <size> 4764 <width>20</width> 4765 <height>40</height> 4766 </size> 4767 </property> 4768 </spacer> 4769 </item> 4770 </layout> 4771 </widget> 4772 </widget> 4773 </item> 4774 <item row="1" column="0"> 4775 <widget class="QGroupBox" name="groupBox_18"> 4776 <property name="title"> 4777 <string>Memory</string> 4778 </property> 4779 <widget class="QWidget" name="gridLayoutWidget_4"> 4780 <property name="geometry"> 4781 <rect> 4782 <x>100</x> 4783 <y>40</y> 4784 <width>281</width> 4785 <height>191</height> 4786 </rect> 4787 </property> 4788 <layout class="QGridLayout" name="gridLayout_49"> 4789 <item row="0" column="1"> 4790 <widget class="QSpinBox" name="fFadBufferMax"> 4791 <property name="alignment"> 4792 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4793 </property> 4794 <property name="readOnly"> 4795 <bool>true</bool> 4796 </property> 4797 <property name="buttonSymbols"> 4798 <enum>QAbstractSpinBox::NoButtons</enum> 4799 </property> 4800 <property name="suffix"> 4801 <string> MB</string> 4802 </property> 4803 <property name="maximum"> 4804 <number>1000000</number> 4805 </property> 4806 </widget> 4807 </item> 4808 <item row="1" column="0" colspan="2"> 4809 <widget class="QProgressBar" name="fFadBuffer"> 4810 <property name="value"> 4811 <number>24</number> 4812 </property> 4813 </widget> 4814 </item> 4815 <item row="0" column="0"> 4816 <widget class="QLabel" name="label_105"> 4817 <property name="text"> 4818 <string>Maximum buffer size</string> 4819 </property> 4820 <property name="alignment"> 4821 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 4822 </property> 4823 </widget> 4824 </item> 4825 <item row="4" column="1"> 4826 <widget class="QSpinBox" name="fFadEvtSkip"> 4827 <property name="alignment"> 4828 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4829 </property> 4830 <property name="readOnly"> 4831 <bool>true</bool> 4832 </property> 4833 <property name="buttonSymbols"> 4834 <enum>QAbstractSpinBox::NoButtons</enum> 4835 </property> 4836 <property name="suffix"> 4837 <string> evts</string> 4838 </property> 4839 <property name="maximum"> 4840 <number>2147483647</number> 4841 </property> 4842 </widget> 4843 </item> 4844 <item row="3" column="1"> 4845 <widget class="QSpinBox" name="fFadEvtWait"> 4846 <property name="alignment"> 4847 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4848 </property> 4849 <property name="readOnly"> 4850 <bool>true</bool> 4851 </property> 4852 <property name="buttonSymbols"> 4853 <enum>QAbstractSpinBox::NoButtons</enum> 4854 </property> 4855 <property name="suffix"> 4856 <string> evts</string> 4857 </property> 4858 <property name="maximum"> 4859 <number>2147483647</number> 4860 </property> 4861 </widget> 4862 </item> 4863 <item row="4" column="0"> 4864 <widget class="QLabel" name="label_139"> 4865 <property name="text"> 4866 <string>Closed in buffer</string> 4867 </property> 4868 </widget> 4869 </item> 4870 <item row="3" column="0"> 4871 <widget class="QLabel" name="label_140"> 4872 <property name="text"> 4873 <string>Partially in buffer</string> 4874 </property> 4875 </widget> 4876 </item> 4877 <item row="2" column="0"> 4878 <spacer name="verticalSpacer_30"> 4879 <property name="orientation"> 4880 <enum>Qt::Vertical</enum> 4881 </property> 4882 <property name="sizeHint" stdset="0"> 4883 <size> 4884 <width>20</width> 4885 <height>40</height> 4886 </size> 4887 </property> 4888 </spacer> 4889 </item> 4890 <item row="5" column="0"> 4891 <spacer name="verticalSpacer_29"> 4892 <property name="orientation"> 4893 <enum>Qt::Vertical</enum> 4894 </property> 4895 <property name="sizeHint" stdset="0"> 4896 <size> 4897 <width>20</width> 4898 <height>40</height> 4899 </size> 4900 </property> 4901 </spacer> 4902 </item> 4903 <item row="6" column="0"> 4904 <widget class="QLabel" name="label_142"> 4905 <property name="text"> 4906 <string>Released from buffer</string> 4907 </property> 4908 </widget> 4909 </item> 4910 <item row="7" column="0"> 4911 <widget class="QLabel" name="label_141"> 4912 <property name="text"> 4913 <string>Event release rate</string> 4914 </property> 4915 </widget> 4916 </item> 4917 <item row="6" column="1"> 4918 <widget class="QSpinBox" name="fFadEvtTot"> 4919 <property name="alignment"> 4920 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4921 </property> 4922 <property name="readOnly"> 4923 <bool>true</bool> 4924 </property> 4925 <property name="buttonSymbols"> 4926 <enum>QAbstractSpinBox::NoButtons</enum> 4927 </property> 4928 <property name="suffix"> 4929 <string> evts</string> 4930 </property> 4931 <property name="maximum"> 4932 <number>2147483647</number> 4933 </property> 4934 </widget> 4935 </item> 4936 <item row="7" column="1"> 4937 <widget class="QSpinBox" name="fFadEvtDel"> 4938 <property name="alignment"> 4939 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4940 </property> 4941 <property name="readOnly"> 4942 <bool>true</bool> 4943 </property> 4944 <property name="buttonSymbols"> 4945 <enum>QAbstractSpinBox::NoButtons</enum> 4946 </property> 4947 <property name="suffix"> 4948 <string> evt/s</string> 4949 </property> 4950 <property name="maximum"> 4951 <number>2147483647</number> 4952 </property> 4953 </widget> 4954 </item> 4955 </layout> 4956 </widget> 4957 </widget> 4958 </item> 4959 <item row="1" column="1"> 4960 <widget class="QGroupBox" name="groupBox_15"> 4961 <property name="title"> 4962 <string>Output stream with maximum run no.</string> 4963 </property> 4964 <widget class="QWidget" name="gridLayoutWidget_7"> 4965 <property name="geometry"> 4966 <rect> 4967 <x>100</x> 4968 <y>80</y> 4969 <width>298</width> 4399 4970 <height>104</height> 4400 4971 </rect> … … 4434 5005 </property> 4435 5006 <property name="maximum"> 4436 <number> 1000000</number>5007 <number>2147483647</number> 4437 5008 </property> 4438 5009 </widget> … … 4449 5020 <enum>QAbstractSpinBox::NoButtons</enum> 4450 5021 </property> 5022 <property name="maximum"> 5023 <number>2147483647</number> 5024 </property> 4451 5025 </widget> 4452 5026 </item> … … 4462 5036 <enum>QAbstractSpinBox::NoButtons</enum> 4463 5037 </property> 5038 <property name="maximum"> 5039 <number>2147483647</number> 5040 </property> 4464 5041 </widget> 4465 5042 </item> … … 4490 5067 </property> 4491 5068 <property name="maximum"> 4492 <number> 1000000</number>5069 <number>2147483647</number> 4493 5070 </property> 4494 5071 </widget> … … 4505 5082 <enum>QAbstractSpinBox::NoButtons</enum> 4506 5083 </property> 5084 <property name="maximum"> 5085 <number>2147483647</number> 5086 </property> 4507 5087 </widget> 4508 5088 </item> … … 4518 5098 <enum>QAbstractSpinBox::NoButtons</enum> 4519 5099 </property> 4520 </widget>4521 </item>4522 </layout>4523 </widget>4524 </widget>4525 </item>4526 <item row="0" column="1">4527 <widget class="QGroupBox" name="groupBox_16">4528 <property name="title">4529 <string>Open files</string>4530 </property>4531 <widget class="QWidget" name="gridLayoutWidget_5">4532 <property name="geometry">4533 <rect>4534 <x>80</x>4535 <y>80</y>4536 <width>309</width>4537 <height>101</height>4538 </rect>4539 </property>4540 <layout class="QGridLayout" name="gridLayout_50">4541 <item row="1" column="0">4542 <widget class="QLabel" name="label_98">4543 <property name="text">4544 <string>Run number</string>4545 </property>4546 </widget>4547 </item>4548 <item row="2" column="0">4549 <widget class="QLabel" name="label_108">4550 <property name="text">4551 <string>Trigger ID</string>4552 </property>4553 </widget>4554 </item>4555 <item row="3" column="0">4556 <widget class="QLabel" name="label_109">4557 <property name="text">4558 <string>Event ID</string>4559 </property>4560 </widget>4561 </item>4562 <item row="2" column="1">4563 <widget class="QPushButton" name="fStatusDNSLed_8">4564 <property name="enabled">4565 <bool>true</bool>4566 </property>4567 <property name="sizePolicy">4568 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">4569 <horstretch>0</horstretch>4570 <verstretch>0</verstretch>4571 </sizepolicy>4572 </property>4573 <property name="maximumSize">4574 <size>4575 <width>18</width>4576 <height>16777215</height>4577 </size>4578 </property>4579 <property name="text">4580 <string/>4581 </property>4582 <property name="icon">4583 <iconset resource="design.qrc">4584 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset>4585 </property>4586 <property name="iconSize">4587 <size>4588 <width>16</width>4589 <height>16</height>4590 </size>4591 </property>4592 <property name="checkable">4593 <bool>false</bool>4594 </property>4595 <property name="flat">4596 <bool>true</bool>4597 </property>4598 </widget>4599 </item>4600 <item row="3" column="1">4601 <widget class="QPushButton" name="fStatusDNSLed_9">4602 <property name="enabled">4603 <bool>true</bool>4604 </property>4605 <property name="sizePolicy">4606 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">4607 <horstretch>0</horstretch>4608 <verstretch>0</verstretch>4609 </sizepolicy>4610 </property>4611 <property name="maximumSize">4612 <size>4613 <width>18</width>4614 <height>16777215</height>4615 </size>4616 </property>4617 <property name="text">4618 <string/>4619 </property>4620 <property name="icon">4621 <iconset resource="design.qrc">4622 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset>4623 </property>4624 <property name="iconSize">4625 <size>4626 <width>16</width>4627 <height>16</height>4628 </size>4629 </property>4630 <property name="checkable">4631 <bool>false</bool>4632 </property>4633 <property name="flat">4634 <bool>true</bool>4635 </property>4636 </widget>4637 </item>4638 <item row="1" column="2">4639 <widget class="QSpinBox" name="fEvtBldRunNumberMin">4640 <property name="alignment">4641 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>4642 </property>4643 <property name="readOnly">4644 <bool>true</bool>4645 </property>4646 <property name="buttonSymbols">4647 <enum>QAbstractSpinBox::NoButtons</enum>4648 </property>4649 5100 <property name="maximum"> 4650 <number>999999999</number> 4651 </property> 4652 </widget> 4653 </item> 4654 <item row="1" column="3"> 4655 <widget class="QSpinBox" name="fEvtBldRunNumberMax"> 4656 <property name="alignment"> 4657 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4658 </property> 4659 <property name="readOnly"> 4660 <bool>true</bool> 4661 </property> 4662 <property name="buttonSymbols"> 4663 <enum>QAbstractSpinBox::NoButtons</enum> 4664 </property> 4665 <property name="maximum"> 4666 <number>999999999</number> 4667 </property> 4668 </widget> 4669 </item> 4670 <item row="2" column="2"> 4671 <widget class="QSpinBox" name="spinBox_6"> 4672 <property name="alignment"> 4673 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4674 </property> 4675 <property name="readOnly"> 4676 <bool>true</bool> 4677 </property> 4678 <property name="buttonSymbols"> 4679 <enum>QAbstractSpinBox::NoButtons</enum> 4680 </property> 4681 <property name="maximum"> 4682 <number>999999999</number> 4683 </property> 4684 </widget> 4685 </item> 4686 <item row="3" column="2"> 4687 <widget class="QSpinBox" name="spinBox_8"> 4688 <property name="alignment"> 4689 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4690 </property> 4691 <property name="readOnly"> 4692 <bool>true</bool> 4693 </property> 4694 <property name="buttonSymbols"> 4695 <enum>QAbstractSpinBox::NoButtons</enum> 4696 </property> 4697 <property name="maximum"> 4698 <number>999999999</number> 4699 </property> 4700 </widget> 4701 </item> 4702 <item row="3" column="3"> 4703 <widget class="QSpinBox" name="fEvtsEventId"> 4704 <property name="alignment"> 4705 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4706 </property> 4707 <property name="readOnly"> 4708 <bool>true</bool> 4709 </property> 4710 <property name="buttonSymbols"> 4711 <enum>QAbstractSpinBox::NoButtons</enum> 4712 </property> 4713 <property name="maximum"> 4714 <number>999999999</number> 4715 </property> 4716 </widget> 4717 </item> 4718 <item row="0" column="2"> 4719 <widget class="QLabel" name="label_110"> 4720 <property name="text"> 4721 <string>Min</string> 4722 </property> 4723 </widget> 4724 </item> 4725 <item row="0" column="3"> 4726 <widget class="QLabel" name="label_127"> 4727 <property name="text"> 4728 <string>Max</string> 4729 </property> 4730 </widget> 4731 </item> 4732 <item row="2" column="3"> 4733 <widget class="QSpinBox" name="fEvtsTriggerId"> 4734 <property name="alignment"> 4735 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4736 </property> 4737 <property name="readOnly"> 4738 <bool>true</bool> 4739 </property> 4740 <property name="buttonSymbols"> 4741 <enum>QAbstractSpinBox::NoButtons</enum> 4742 </property> 4743 <property name="maximum"> 4744 <number>999999999</number> 4745 </property> 4746 </widget> 4747 </item> 4748 </layout> 4749 </widget> 4750 </widget> 4751 </item> 4752 <item row="1" column="0"> 4753 <widget class="QGroupBox" name="groupBox_18"> 4754 <property name="title"> 4755 <string>Ethernet and memory</string> 4756 </property> 4757 <widget class="QWidget" name="gridLayoutWidget_6"> 4758 <property name="geometry"> 4759 <rect> 4760 <x>50</x> 4761 <y>60</y> 4762 <width>361</width> 4763 <height>126</height> 4764 </rect> 4765 </property> 4766 <layout class="QGridLayout" name="gridLayout_48" columnstretch="0,0,0,0,0"> 4767 <item row="4" column="2" colspan="2"> 4768 <widget class="QProgressBar" name="fFadBuffer"> 4769 <property name="value"> 4770 <number>24</number> 4771 </property> 4772 </widget> 4773 </item> 4774 <item row="2" column="2"> 4775 <widget class="QDoubleSpinBox" name="doubleSpinBox_4"> 4776 <property name="alignment"> 4777 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4778 </property> 4779 <property name="readOnly"> 4780 <bool>true</bool> 4781 </property> 4782 <property name="buttonSymbols"> 4783 <enum>QAbstractSpinBox::NoButtons</enum> 4784 </property> 4785 </widget> 4786 </item> 4787 <item row="1" column="2"> 4788 <widget class="QDoubleSpinBox" name="doubleSpinBox_5"> 4789 <property name="alignment"> 4790 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4791 </property> 4792 <property name="readOnly"> 4793 <bool>true</bool> 4794 </property> 4795 <property name="buttonSymbols"> 4796 <enum>QAbstractSpinBox::NoButtons</enum> 4797 </property> 4798 </widget> 4799 </item> 4800 <item row="3" column="2"> 4801 <widget class="QDoubleSpinBox" name="doubleSpinBox_6"> 4802 <property name="alignment"> 4803 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4804 </property> 4805 <property name="readOnly"> 4806 <bool>true</bool> 4807 </property> 4808 <property name="buttonSymbols"> 4809 <enum>QAbstractSpinBox::NoButtons</enum> 4810 </property> 4811 </widget> 4812 </item> 4813 <item row="1" column="1"> 4814 <widget class="QLabel" name="label_118"> 4815 <property name="text"> 4816 <string>Min</string> 4817 </property> 4818 <property name="alignment"> 4819 <set>Qt::AlignCenter</set> 4820 </property> 4821 </widget> 4822 </item> 4823 <item row="2" column="1"> 4824 <widget class="QLabel" name="label_119"> 4825 <property name="text"> 4826 <string>Avg</string> 4827 </property> 4828 <property name="alignment"> 4829 <set>Qt::AlignCenter</set> 4830 </property> 4831 </widget> 4832 </item> 4833 <item row="3" column="1"> 4834 <widget class="QLabel" name="label_122"> 4835 <property name="text"> 4836 <string>Max</string> 4837 </property> 4838 <property name="alignment"> 4839 <set>Qt::AlignCenter</set> 4840 </property> 4841 </widget> 4842 </item> 4843 <item row="4" column="1"> 4844 <widget class="QLabel" name="label_124"> 4845 <property name="text"> 4846 <string>Buffer</string> 4847 </property> 4848 <property name="alignment"> 4849 <set>Qt::AlignCenter</set> 4850 </property> 4851 </widget> 4852 </item> 4853 <item row="0" column="1" colspan="3"> 4854 <widget class="QLabel" name="label_117"> 4855 <property name="text"> 4856 <string>Ethernet throughput per socket</string> 4857 </property> 4858 </widget> 4859 </item> 4860 <item row="1" column="3"> 4861 <widget class="QLabel" name="label_123"> 4862 <property name="text"> 4863 <string>Total</string> 4864 </property> 4865 <property name="alignment"> 4866 <set>Qt::AlignCenter</set> 4867 </property> 4868 </widget> 4869 </item> 4870 <item row="4" column="4"> 4871 <widget class="QSpinBox" name="fFadBufferMax"> 4872 <property name="alignment"> 4873 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4874 </property> 4875 <property name="readOnly"> 4876 <bool>true</bool> 4877 </property> 4878 <property name="buttonSymbols"> 4879 <enum>QAbstractSpinBox::NoButtons</enum> 4880 </property> 4881 <property name="suffix"> 4882 <string> MB</string> 4883 </property> 4884 <property name="maximum"> 4885 <number>1000000</number> 4886 </property> 4887 </widget> 4888 </item> 4889 <item row="2" column="3"> 4890 <widget class="QSpinBox" name="fFadEvtRead"> 4891 <property name="alignment"> 4892 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4893 </property> 4894 <property name="readOnly"> 4895 <bool>true</bool> 4896 </property> 4897 <property name="buttonSymbols"> 4898 <enum>QAbstractSpinBox::NoButtons</enum> 4899 </property> 4900 <property name="suffix"> 4901 <string> kB/s</string> 4902 </property> 4903 <property name="maximum"> 4904 <number>1000000</number> 4905 </property> 4906 </widget> 4907 </item> 4908 <item row="3" column="4"> 4909 <widget class="QLabel" name="label_105"> 4910 <property name="text"> 4911 <string>Maximum buffer size</string> 4912 </property> 4913 <property name="alignment"> 4914 <set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set> 4915 </property> 4916 </widget> 4917 </item> 4918 </layout> 4919 </widget> 4920 </widget> 4921 </item> 4922 <item row="0" column="0"> 4923 <widget class="QGroupBox" name="groupBox_17"> 4924 <property name="title"> 4925 <string>Processing statistics</string> 4926 </property> 4927 <widget class="QWidget" name="gridLayoutWidget_4"> 4928 <property name="geometry"> 4929 <rect> 4930 <x>60</x> 4931 <y>40</y> 4932 <width>361</width> 4933 <height>160</height> 4934 </rect> 4935 </property> 4936 <layout class="QGridLayout" name="gridLayout_49"> 4937 <item row="0" column="0"> 4938 <widget class="QLabel" name="label_140"> 4939 <property name="text"> 4940 <string>Incomplete events in buffer</string> 4941 </property> 4942 </widget> 4943 </item> 4944 <item row="1" column="0"> 4945 <widget class="QLabel" name="label_139"> 4946 <property name="text"> 4947 <string>Completed events ready for writing</string> 4948 </property> 4949 </widget> 4950 </item> 4951 <item row="2" column="0"> 4952 <widget class="QLabel" name="label_141"> 4953 <property name="text"> 4954 <string>No of events removed from buffer (1s)</string> 4955 </property> 4956 </widget> 4957 </item> 4958 <item row="3" column="0"> 4959 <widget class="QLabel" name="label_142"> 4960 <property name="text"> 4961 <string>No of events removed from buffer (tot)</string> 4962 </property> 4963 </widget> 4964 </item> 4965 <item row="4" column="0"> 4966 <widget class="QLabel" name="label_144"> 4967 <property name="text"> 4968 <string>Connections (open sockets)</string> 4969 </property> 4970 </widget> 4971 </item> 4972 <item row="0" column="1"> 4973 <widget class="QSpinBox" name="fFadEvtWait"> 4974 <property name="alignment"> 4975 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4976 </property> 4977 <property name="readOnly"> 4978 <bool>true</bool> 4979 </property> 4980 <property name="buttonSymbols"> 4981 <enum>QAbstractSpinBox::NoButtons</enum> 4982 </property> 4983 <property name="maximum"> 4984 <number>10000000</number> 4985 </property> 4986 </widget> 4987 </item> 4988 <item row="1" column="1"> 4989 <widget class="QSpinBox" name="fFadEvtSkip"> 4990 <property name="alignment"> 4991 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4992 </property> 4993 <property name="readOnly"> 4994 <bool>true</bool> 4995 </property> 4996 <property name="buttonSymbols"> 4997 <enum>QAbstractSpinBox::NoButtons</enum> 4998 </property> 4999 <property name="maximum"> 5000 <number>10000000</number> 5001 </property> 5002 </widget> 5003 </item> 5004 <item row="2" column="1"> 5005 <widget class="QSpinBox" name="fFadEvtDel"> 5006 <property name="alignment"> 5007 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 5008 </property> 5009 <property name="readOnly"> 5010 <bool>true</bool> 5011 </property> 5012 <property name="buttonSymbols"> 5013 <enum>QAbstractSpinBox::NoButtons</enum> 5014 </property> 5015 <property name="maximum"> 5016 <number>10000000</number> 5017 </property> 5018 </widget> 5019 </item> 5020 <item row="3" column="1"> 5021 <widget class="QSpinBox" name="fFadEvtTot"> 5022 <property name="alignment"> 5023 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 5024 </property> 5025 <property name="readOnly"> 5026 <bool>true</bool> 5027 </property> 5028 <property name="buttonSymbols"> 5029 <enum>QAbstractSpinBox::NoButtons</enum> 5030 </property> 5031 <property name="maximum"> 5032 <number>10000000</number> 5033 </property> 5034 </widget> 5035 </item> 5036 <item row="4" column="1"> 5037 <widget class="QSpinBox" name="fFadEvtConn"> 5038 <property name="alignment"> 5039 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 5040 </property> 5041 <property name="readOnly"> 5042 <bool>true</bool> 5043 </property> 5044 <property name="buttonSymbols"> 5045 <enum>QAbstractSpinBox::NoButtons</enum> 5046 </property> 5047 <property name="maximum"> 5048 <number>10000000</number> 5101 <number>2147483647</number> 5049 5102 </property> 5050 5103 </widget> … … 5081 5134 <string>Event Builder overview</string> 5082 5135 </property> 5083 <widget class="QWidget" name="fAdcWidget _2">5136 <widget class="QWidget" name="fAdcWidget"> 5084 5137 <property name="sizePolicy"> 5085 5138 <sizepolicy hsizetype="Expanding" vsizetype="Expanding"> … … 6930 6983 <property name="minimumSize"> 6931 6984 <size> 6932 <width>2 23</width>6933 <height> 349</height>6985 <width>230</width> 6986 <height>403</height> 6934 6987 </size> 6935 6988 </property> … … 7034 7087 </widget> 7035 7088 </item> 7036 <item row="4" column="4">7037 <widget class="QLabel" name="fStatusFADLabel">7038 <property name="text">7039 <string>Offline</string>7040 </property>7041 </widget>7042 </item>7043 <item row="4" column="3">7044 <widget class="QPushButton" name="fStatusFADLed">7045 <property name="enabled">7046 <bool>true</bool>7047 </property>7048 <property name="sizePolicy">7049 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">7050 <horstretch>0</horstretch>7051 <verstretch>0</verstretch>7052 </sizepolicy>7053 </property>7054 <property name="maximumSize">7055 <size>7056 <width>18</width>7057 <height>16777215</height>7058 </size>7059 </property>7060 <property name="text">7061 <string/>7062 </property>7063 <property name="icon">7064 <iconset resource="design.qrc">7065 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset>7066 </property>7067 <property name="iconSize">7068 <size>7069 <width>16</width>7070 <height>16</height>7071 </size>7072 </property>7073 <property name="checkable">7074 <bool>false</bool>7075 </property>7076 <property name="flat">7077 <bool>true</bool>7078 </property>7079 </widget>7080 </item>7081 <item row="4" column="1">7082 <widget class="QCheckBox" name="fStatusFADEnable">7083 <property name="enabled">7084 <bool>false</bool>7085 </property>7086 <property name="sizePolicy">7087 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">7088 <horstretch>0</horstretch>7089 <verstretch>0</verstretch>7090 </sizepolicy>7091 </property>7092 <property name="maximumSize">7093 <size>7094 <width>20</width>7095 <height>16777215</height>7096 </size>7097 </property>7098 <property name="text">7099 <string/>7100 </property>7101 <property name="checked">7102 <bool>true</bool>7103 </property>7104 </widget>7105 </item>7106 <item row="9" column="4">7107 <widget class="QLabel" name="fStatusChatLabel">7108 <property name="text">7109 <string>Offline</string>7110 </property>7111 </widget>7112 </item>7113 <item row="8" column="1">7114 <widget class="QCheckBox" name="fStatusLoggerEnable">7115 <property name="enabled">7116 <bool>false</bool>7117 </property>7118 <property name="sizePolicy">7119 <sizepolicy hsizetype="Minimum" vsizetype="Minimum">7120 <horstretch>0</horstretch>7121 <verstretch>0</verstretch>7122 </sizepolicy>7123 </property>7124 <property name="maximumSize">7125 <size>7126 <width>20</width>7127 <height>16777215</height>7128 </size>7129 </property>7130 <property name="text">7131 <string/>7132 </property>7133 <property name="checked">7134 <bool>true</bool>7135 </property>7136 </widget>7137 </item>7138 <item row="8" column="3">7139 <widget class="QPushButton" name="fStatusLoggerLed">7140 <property name="enabled">7141 <bool>true</bool>7142 </property>7143 <property name="sizePolicy">7144 <sizepolicy hsizetype="Fixed" vsizetype="Minimum">7145 <horstretch>0</horstretch>7146 <verstretch>0</verstretch>7147 </sizepolicy>7148 </property>7149 <property name="maximumSize">7150 <size>7151 <width>18</width>7152 <height>16777215</height>7153 </size>7154 </property>7155 <property name="text">7156 <string/>7157 </property>7158 <property name="icon">7159 <iconset resource="design.qrc">7160 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset>7161 </property>7162 <property name="iconSize">7163 <size>7164 <width>16</width>7165 <height>16</height>7166 </size>7167 </property>7168 <property name="checkable">7169 <bool>false</bool>7170 </property>7171 <property name="flat">7172 <bool>true</bool>7173 </property>7174 </widget>7175 </item>7176 <item row="8" column="4">7177 <widget class="QLabel" name="fStatusLoggerLabel">7178 <property name="text">7179 <string>Offline</string>7180 </property>7181 </widget>7182 </item>7183 7089 <item row="2" column="0" colspan="6"> 7184 7090 <widget class="Line" name="line"> … … 7207 7113 </widget> 7208 7114 </item> 7209 <item row="4" column="2">7210 <widget class="QLabel" name="fStatusFAD">7211 <property name="sizePolicy">7212 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">7213 <horstretch>0</horstretch>7214 <verstretch>0</verstretch>7215 </sizepolicy>7216 </property>7217 <property name="toolTip">7218 <string>Data acquisition (DRS4 readou)</string>7219 </property>7220 <property name="text">7221 <string>FAD</string>7222 </property>7223 <property name="alignment">7224 <set>Qt::AlignCenter</set>7225 </property>7226 </widget>7227 </item>7228 <item row="8" column="2">7229 <widget class="QLabel" name="fStatusLogger">7230 <property name="sizePolicy">7231 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">7232 <horstretch>0</horstretch>7233 <verstretch>0</verstretch>7234 </sizepolicy>7235 </property>7236 <property name="toolTip">7237 <string>Data Logger (writes slow control files)</string>7238 </property>7239 <property name="text">7240 <string>Logger</string>7241 </property>7242 <property name="alignment">7243 <set>Qt::AlignCenter</set>7244 </property>7245 </widget>7246 </item>7247 <item row="9" column="2">7248 <widget class="QLabel" name="fStatusChat">7249 <property name="sizePolicy">7250 <sizepolicy hsizetype="Minimum" vsizetype="Preferred">7251 <horstretch>0</horstretch>7252 <verstretch>0</verstretch>7253 </sizepolicy>7254 </property>7255 <property name="toolTip">7256 <string>Chat server</string>7257 </property>7258 <property name="text">7259 <string>Chat</string>7260 </property>7261 <property name="alignment">7262 <set>Qt::AlignCenter</set>7263 </property>7264 </widget>7265 </item>7266 7115 <item row="1" column="2"> 7267 7116 <widget class="QLabel" name="fStatusDNS"> … … 7296 7145 </spacer> 7297 7146 </item> 7298 <item row="5" column="2"> 7147 <item row="1" column="3"> 7148 <widget class="QPushButton" name="fStatusDNSLed"> 7149 <property name="enabled"> 7150 <bool>true</bool> 7151 </property> 7152 <property name="sizePolicy"> 7153 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 7154 <horstretch>0</horstretch> 7155 <verstretch>0</verstretch> 7156 </sizepolicy> 7157 </property> 7158 <property name="maximumSize"> 7159 <size> 7160 <width>18</width> 7161 <height>16777215</height> 7162 </size> 7163 </property> 7164 <property name="text"> 7165 <string/> 7166 </property> 7167 <property name="icon"> 7168 <iconset resource="design.qrc"> 7169 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 7170 </property> 7171 <property name="iconSize"> 7172 <size> 7173 <width>16</width> 7174 <height>16</height> 7175 </size> 7176 </property> 7177 <property name="checkable"> 7178 <bool>false</bool> 7179 </property> 7180 <property name="flat"> 7181 <bool>true</bool> 7182 </property> 7183 </widget> 7184 </item> 7185 <item row="4" column="2"> 7299 7186 <widget class="QLabel" name="label_59"> 7300 7187 <property name="sizePolicy"> … … 7312 7199 </widget> 7313 7200 </item> 7314 <item row="5" column="4"> 7315 <widget class="QLabel" name="fStatusFTULabel"> 7201 <item row="5" column="2"> 7202 <widget class="QLabel" name="fStatusFAD"> 7203 <property name="sizePolicy"> 7204 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 7205 <horstretch>0</horstretch> 7206 <verstretch>0</verstretch> 7207 </sizepolicy> 7208 </property> 7209 <property name="toolTip"> 7210 <string>Data acquisition (DRS4 readou)</string> 7211 </property> 7316 7212 <property name="text"> 7317 <string>Offline</string> 7213 <string>FAD</string> 7214 </property> 7215 <property name="alignment"> 7216 <set>Qt::AlignCenter</set> 7217 </property> 7218 </widget> 7219 </item> 7220 <item row="6" column="2"> 7221 <widget class="QLabel" name="label_124"> 7222 <property name="text"> 7223 <string>Event builder</string> 7224 </property> 7225 <property name="alignment"> 7226 <set>Qt::AlignCenter</set> 7318 7227 </property> 7319 7228 </widget> 7320 7229 </item> 7321 7230 <item row="7" column="2"> 7231 <widget class="QLabel" name="label_135"> 7232 <property name="text"> 7233 <string>Slow Control</string> 7234 </property> 7235 </widget> 7236 </item> 7237 <item row="8" column="2"> 7322 7238 <widget class="QLabel" name="label_60"> 7323 7239 <property name="text"> 7324 7240 <string>Scheduler</string> 7325 7241 </property> 7242 <property name="alignment"> 7243 <set>Qt::AlignCenter</set> 7244 </property> 7326 7245 </widget> 7327 7246 </item> 7328 <item row="7" column="4"> 7329 <widget class="QLabel" name="fStatusSchedulerLabel"> 7247 <item row="9" column="2"> 7248 <widget class="QLabel" name="fStatusLogger"> 7249 <property name="sizePolicy"> 7250 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 7251 <horstretch>0</horstretch> 7252 <verstretch>0</verstretch> 7253 </sizepolicy> 7254 </property> 7255 <property name="toolTip"> 7256 <string>Data Logger (writes slow control files)</string> 7257 </property> 7330 7258 <property name="text"> 7331 <string>Offline</string> 7259 <string>Logger</string> 7260 </property> 7261 <property name="alignment"> 7262 <set>Qt::AlignCenter</set> 7263 </property> 7264 </widget> 7265 </item> 7266 <item row="10" column="2"> 7267 <widget class="QLabel" name="fStatusChat"> 7268 <property name="sizePolicy"> 7269 <sizepolicy hsizetype="Minimum" vsizetype="Preferred"> 7270 <horstretch>0</horstretch> 7271 <verstretch>0</verstretch> 7272 </sizepolicy> 7273 </property> 7274 <property name="toolTip"> 7275 <string>Chat server</string> 7276 </property> 7277 <property name="text"> 7278 <string>Chat</string> 7279 </property> 7280 <property name="alignment"> 7281 <set>Qt::AlignCenter</set> 7282 </property> 7283 </widget> 7284 </item> 7285 <item row="9" column="1"> 7286 <widget class="QCheckBox" name="fStatusLoggerEnable"> 7287 <property name="enabled"> 7288 <bool>false</bool> 7289 </property> 7290 <property name="sizePolicy"> 7291 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 7292 <horstretch>0</horstretch> 7293 <verstretch>0</verstretch> 7294 </sizepolicy> 7295 </property> 7296 <property name="maximumSize"> 7297 <size> 7298 <width>20</width> 7299 <height>16777215</height> 7300 </size> 7301 </property> 7302 <property name="text"> 7303 <string/> 7304 </property> 7305 <property name="checked"> 7306 <bool>true</bool> 7307 </property> 7308 </widget> 7309 </item> 7310 <item row="5" column="1"> 7311 <widget class="QCheckBox" name="fStatusFADEnable"> 7312 <property name="enabled"> 7313 <bool>false</bool> 7314 </property> 7315 <property name="sizePolicy"> 7316 <sizepolicy hsizetype="Minimum" vsizetype="Minimum"> 7317 <horstretch>0</horstretch> 7318 <verstretch>0</verstretch> 7319 </sizepolicy> 7320 </property> 7321 <property name="maximumSize"> 7322 <size> 7323 <width>20</width> 7324 <height>16777215</height> 7325 </size> 7326 </property> 7327 <property name="text"> 7328 <string/> 7329 </property> 7330 <property name="checked"> 7331 <bool>true</bool> 7332 </property> 7333 </widget> 7334 </item> 7335 <item row="4" column="3"> 7336 <widget class="QPushButton" name="fStatusFTULed"> 7337 <property name="maximumSize"> 7338 <size> 7339 <width>18</width> 7340 <height>16777215</height> 7341 </size> 7342 </property> 7343 <property name="text"> 7344 <string/> 7345 </property> 7346 <property name="icon"> 7347 <iconset resource="design.qrc"> 7348 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 7349 </property> 7350 <property name="flat"> 7351 <bool>true</bool> 7352 </property> 7353 </widget> 7354 </item> 7355 <item row="5" column="3"> 7356 <widget class="QPushButton" name="fStatusFADLed"> 7357 <property name="enabled"> 7358 <bool>true</bool> 7359 </property> 7360 <property name="sizePolicy"> 7361 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 7362 <horstretch>0</horstretch> 7363 <verstretch>0</verstretch> 7364 </sizepolicy> 7365 </property> 7366 <property name="maximumSize"> 7367 <size> 7368 <width>18</width> 7369 <height>16777215</height> 7370 </size> 7371 </property> 7372 <property name="text"> 7373 <string/> 7374 </property> 7375 <property name="icon"> 7376 <iconset resource="design.qrc"> 7377 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 7378 </property> 7379 <property name="iconSize"> 7380 <size> 7381 <width>16</width> 7382 <height>16</height> 7383 </size> 7384 </property> 7385 <property name="checkable"> 7386 <bool>false</bool> 7387 </property> 7388 <property name="flat"> 7389 <bool>true</bool> 7390 </property> 7391 </widget> 7392 </item> 7393 <item row="6" column="3"> 7394 <widget class="QPushButton" name="fStatusEventBuilderLed"> 7395 <property name="enabled"> 7396 <bool>true</bool> 7397 </property> 7398 <property name="sizePolicy"> 7399 <sizepolicy hsizetype="Fixed" vsizetype="Minimum"> 7400 <horstretch>0</horstretch> 7401 <verstretch>0</verstretch> 7402 </sizepolicy> 7403 </property> 7404 <property name="maximumSize"> 7405 <size> 7406 <width>18</width> 7407 <height>16777215</height> 7408 </size> 7409 </property> 7410 <property name="text"> 7411 <string/> 7412 </property> 7413 <property name="icon"> 7414 <iconset resource="design.qrc"> 7415 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 7416 </property> 7417 <property name="iconSize"> 7418 <size> 7419 <width>16</width> 7420 <height>16</height> 7421 </size> 7422 </property> 7423 <property name="checkable"> 7424 <bool>false</bool> 7425 </property> 7426 <property name="flat"> 7427 <bool>true</bool> 7332 7428 </property> 7333 7429 </widget> 7334 7430 </item> 7335 7431 <item row="7" column="3"> 7432 <widget class="QPushButton" name="fStatusFSCLed"> 7433 <property name="maximumSize"> 7434 <size> 7435 <width>18</width> 7436 <height>16777215</height> 7437 </size> 7438 </property> 7439 <property name="text"> 7440 <string/> 7441 </property> 7442 <property name="icon"> 7443 <iconset resource="design.qrc"> 7444 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 7445 </property> 7446 <property name="flat"> 7447 <bool>true</bool> 7448 </property> 7449 </widget> 7450 </item> 7451 <item row="8" column="3"> 7336 7452 <widget class="QPushButton" name="fStatusSchedulerLed"> 7337 7453 <property name="maximumSize"> … … 7354 7470 </item> 7355 7471 <item row="9" column="3"> 7356 <widget class="QPushButton" name="fStatus ChatLed">7472 <widget class="QPushButton" name="fStatusLoggerLed"> 7357 7473 <property name="enabled"> 7358 7474 <bool>true</bool> … … 7391 7507 </widget> 7392 7508 </item> 7393 <item row="1 " column="3">7394 <widget class="QPushButton" name="fStatus DNSLed">7509 <item row="10" column="3"> 7510 <widget class="QPushButton" name="fStatusChatLed"> 7395 7511 <property name="enabled"> 7396 7512 <bool>true</bool> … … 7429 7545 </widget> 7430 7546 </item> 7431 <item row=" 6" column="2">7432 <widget class="QLabel" name=" label_135">7547 <item row="4" column="4"> 7548 <widget class="QLabel" name="fStatusFTULabel"> 7433 7549 <property name="text"> 7434 <string>Slow Control</string> 7550 <string>Offline</string> 7551 </property> 7552 </widget> 7553 </item> 7554 <item row="5" column="4"> 7555 <widget class="QLabel" name="fStatusFADLabel"> 7556 <property name="text"> 7557 <string>Offline</string> 7435 7558 </property> 7436 7559 </widget> 7437 7560 </item> 7438 7561 <item row="6" column="4"> 7562 <widget class="QLabel" name="fStatusEventBuilderLabel"> 7563 <property name="text"> 7564 <string>Offline</string> 7565 </property> 7566 </widget> 7567 </item> 7568 <item row="7" column="4"> 7439 7569 <widget class="QLabel" name="fStatusFSCLabel"> 7440 7570 <property name="text"> … … 7443 7573 </widget> 7444 7574 </item> 7445 <item row="5" column="3"> 7446 <widget class="QPushButton" name="fStatusFTULed"> 7447 <property name="maximumSize"> 7448 <size> 7449 <width>18</width> 7450 <height>16777215</height> 7451 </size> 7452 </property> 7575 <item row="8" column="4"> 7576 <widget class="QLabel" name="fStatusSchedulerLabel"> 7453 7577 <property name="text"> 7454 <string/> 7455 </property> 7456 <property name="icon"> 7457 <iconset resource="design.qrc"> 7458 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset> 7459 </property> 7460 <property name="flat"> 7461 <bool>true</bool> 7578 <string>Offline</string> 7462 7579 </property> 7463 7580 </widget> 7464 7581 </item> 7465 <item row="6" column="3"> 7466 <widget class="QPushButton" name="fStatusFSCLed"> 7467 <property name="maximumSize"> 7468 <size> 7469 <width>18</width> 7470 <height>16777215</height> 7471 </size> 7472 </property> 7582 <item row="9" column="4"> 7583 <widget class="QLabel" name="fStatusLoggerLabel"> 7473 7584 <property name="text"> 7474 <string />7475 </property> 7476 <property name="icon">7477 <iconset resource="design.qrc">7478 <normaloff>:/Resources/icons/gray circle 1.png</normaloff>:/Resources/icons/gray circle 1.png</iconset>7479 </property>7480 <property name=" flat">7481 < bool>true</bool>7585 <string>Offline</string> 7586 </property> 7587 </widget> 7588 </item> 7589 <item row="10" column="4"> 7590 <widget class="QLabel" name="fStatusChatLabel"> 7591 <property name="text"> 7592 <string>Offline</string> 7482 7593 </property> 7483 7594 </widget> -
trunk/FACT++/src/EventBuilderWrapper.h
r11203 r11207 702 702 enum 703 703 { 704 kCurrent = 0, 705 kTotal = 1 704 kCurrent = 0, 705 kTotal = 1, 706 kEventId = 2, 707 kTriggerId = 3, 706 708 }; 707 709 … … 718 720 719 721 uint32_t fMaxRun; 720 uint32_t fNumEvts[2]; 722 uint32_t fLastOpened; 723 uint32_t fLastClosed; 724 uint32_t fNumEvts[4]; 721 725 722 726 DimDescribedService fDimRuns; … … 727 731 DimDescribedService fDimStatus; 728 732 DimDescribedService fDimDNA; 733 DimDescribedService fDimTemperature; 729 734 DimDescribedService fDimStatistics; 730 735 … … 739 744 public: 740 745 EventBuilderWrapper(MessageImp &imp) : fMsg(imp), 741 fFileFormat(kRaw), fMaxRun(0), 742 fDimRuns ("FAD_CONTROL/RUNS", "I: 3", ""),743 fDimEvents ("FAD_CONTROL/EVENTS", "I: 2", ""),746 fFileFormat(kRaw), fMaxRun(0), fLastOpened(0), fLastClosed(0), 747 fDimRuns ("FAD_CONTROL/RUNS", "I:5", ""), 748 fDimEvents ("FAD_CONTROL/EVENTS", "I:4", ""), 744 749 fDimEventData ("FAD_CONTROL/EVENT_DATA", "S:1;I:1;S:1;I:2;S:1;S", ""), 745 750 fDimFwVersion ("FAD_CONTROL/FIRMWARE_VERSION", "F:42", ""), … … 747 752 fDimStatus ("FAD_CONTROL/STATUS", "S:42", ""), 748 753 fDimDNA ("FAD_CONTROL/DNA", "X:40", ""), 754 fDimTemperature ("FAD_CONTROL/TEMPERATURE", "F:82", ""), 749 755 fDimStatistics ("FAD_CONTROL/STATISTICS", "X:8", ""), 750 756 fDebugStream(false), fDebugRead(false) … … 942 948 void UpdateRuns() 943 949 { 944 uint32_t values[ 3] =950 uint32_t values[5] = 945 951 { 946 952 static_cast<uint32_t>(fFiles.size()), 947 953 0xffffffff, 948 0 954 0, 955 fLastOpened, 956 fLastClosed 949 957 }; 950 958 … … 960 968 values[2] = file->GetRunId(); 961 969 } 970 971 fMaxRun = values[2]; 962 972 963 973 fDimRuns.Update(values); … … 990 1000 fFiles.push_back(file); 991 1001 1002 fLastOpened = runid; 992 1003 UpdateRuns(); 1004 1005 fNumEvts[kEventId] = 0; 1006 fNumEvts[kTriggerId] = 0; 993 1007 994 1008 fNumEvts[kCurrent] = 0; … … 1008 1022 if (file->GetRunId()==fMaxRun) 1009 1023 { 1010 //fDimCurrentEvent.Update(e->EventNum);1011 1024 fNumEvts[kCurrent]++; 1025 fNumEvts[kEventId] = e->EventNum; 1026 fNumEvts[kTriggerId] = e->TriggerType; 1012 1027 } 1013 1028 1014 1029 fNumEvts[kTotal]++; 1015 1030 1016 static Time oldt ;1031 static Time oldt(boost::date_time::neg_infin); 1017 1032 Time newt; 1018 1033 if (newt>oldt+boost::posix_time::seconds(1)) … … 1021 1036 oldt = newt; 1022 1037 } 1038 1023 1039 1024 1040 // ===> SignalEvtWritten(runid); … … 1051 1067 fFiles.erase(it); 1052 1068 1069 fLastClosed = file->GetRunId(); 1053 1070 UpdateRuns(); 1071 1072 fDimEvents.Update(fNumEvts); 1054 1073 1055 1074 const bool rc = file->Close(tail); … … 1253 1272 str << "): " << message; 1254 1273 1274 static string last; 1275 if (str.str()==last) 1276 return; 1277 1278 last = str.str(); 1255 1279 fMsg.Update(str, severity); 1256 1280 } … … 1451 1475 Update(fDimStatus, sts); 1452 1476 } 1477 1478 static Time oldt(boost::date_time::neg_infin); 1479 Time newt; 1480 1481 if (newt>oldt+boost::posix_time::seconds(1)) 1482 { 1483 const boost::array<int16_t,42> tmp[4] = 1484 { 1485 Compare(&h, &h.fTempDrs[0]), 1486 Compare(&h, &h.fTempDrs[1]), 1487 Compare(&h, &h.fTempDrs[2]), 1488 Compare(&h, &h.fTempDrs[3]) 1489 }; 1490 1491 vector<int16_t> data; 1492 data.reserve(82); 1493 data.push_back(tmp[0][0]); 1494 data.insert(data.end(), tmp[0].data()+2, tmp[0].data()+42); 1495 data.push_back(tmp[0][1]); 1496 data.insert(data.end(), tmp[0].data()+2, tmp[0].data()+42); 1497 1498 for (int j=0; j<=3; j++) 1499 { 1500 const boost::array<int16_t,42> &ref = tmp[j]; 1501 1502 // Gloabl min 1503 if (ref[40]<data[0]) 1504 data[0] = ref[40]; 1505 1506 // Global max 1507 if (ref[41]>data[40]) 1508 data[40] = ref[41]; 1509 1510 for (int i=0; i<40; i++) 1511 { 1512 // min per board 1513 if (ref[i]<data[i+1]) 1514 data[i+1] = ref[i]; 1515 1516 // max per board 1517 if (ref[i]>data[i+41]) 1518 data[i+41] = ref[i]; 1519 } 1520 } 1521 1522 vector<float> deg(82); 1523 for (int i=0; i<82; i++) 1524 deg[i] = data[i]/16.; 1525 fDimTemperature.Update(deg); 1526 } 1527 1528 1453 1529 1454 1530 /*
Note:
See TracChangeset
for help on using the changeset viewer.