Changeset 11225
- Timestamp:
- 06/30/11 20:55:02 (13 years ago)
- Location:
- trunk/FACT++
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/gui/FactGui.h
r11223 r11225 391 391 DimStampedInfo fDimFadDNA; 392 392 DimStampedInfo fDimFadTemperature; 393 DimStampedInfo fDimFadRefClock; 393 394 DimStampedInfo fDimFadStatus; 394 395 DimStampedInfo fDimFadStatistics; … … 980 981 handleFadToolTip(d.time, fFadTempMin, ptr+1); 981 982 handleFadToolTip(d.time, fFadTempMax, ptr+41); 983 } 984 985 void handleFadRefClock(const DimData &d) 986 { 987 if (d.size()==0) 988 { 989 fFadRefClockMin->setEnabled(false); 990 fFadRefClockMax->setEnabled(false); 991 SetLedColor(fFadLedRefClock, kLedGray, d.time); 992 return; 993 } 994 995 if (!CheckSize(d, 42*sizeof(uint32_t))) 996 return; 997 998 const uint32_t *ptr = d.ptr<uint32_t>(); 999 1000 fFadRefClockMin->setEnabled(true); 1001 fFadRefClockMax->setEnabled(true); 1002 1003 fFadRefClockMin->setValue(ptr[0]*2.048); 1004 fFadRefClockMax->setValue(ptr[1]*2.048); 1005 1006 const int64_t diff = int64_t(ptr[1]) - int64_t(ptr[0]); 1007 1008 SetLedColor(fFadLedRefClock, abs(diff)>3?kLedRed:kLedGreen, d.time); 1009 1010 handleFadToolTip(d.time, fFadLedRefClock, ptr+2); 982 1011 } 983 1012 … … 2072 2101 if (getInfo()==&fDimFadTemperature) 2073 2102 return PostInfoHandler(&FactGui::handleFadTemperature); 2103 2104 if (getInfo()==&fDimFadRefClock) 2105 return PostInfoHandler(&FactGui::handleFadRefClock); 2074 2106 2075 2107 if (getInfo()==&fDimFadStatus) … … 2516 2548 fDimFadDNA ("FAD_CONTROL/DNA", (void*)NULL, 0, this), 2517 2549 fDimFadTemperature ("FAD_CONTROL/TEMPERATURE", (void*)NULL, 0, this), 2550 fDimFadRefClock ("FAD_CONTROL/REFERENCE_CLOCK", (void*)NULL, 0, this), 2518 2551 fDimFadStatus ("FAD_CONTROL/STATUS", (void*)NULL, 0, this), 2519 2552 fDimFadStatistics ("FAD_CONTROL/STATISTICS", (void*)NULL, 0, this) -
trunk/FACT++/gui/design.ui
r11222 r11225 3558 3558 <item row="6" column="1"> 3559 3559 <widget class="QPushButton" name="pushButton_8"> 3560 <property name="enabled"> 3561 <bool>false</bool> 3562 </property> 3560 3563 <property name="text"> 3561 3564 <string>on</string> … … 3565 3568 <item row="6" column="2"> 3566 3569 <widget class="QPushButton" name="pushButton_13"> 3570 <property name="enabled"> 3571 <bool>false</bool> 3572 </property> 3567 3573 <property name="text"> 3568 3574 <string>off</string> … … 3572 3578 <item row="7" column="2"> 3573 3579 <widget class="QPushButton" name="pushButton_14"> 3580 <property name="enabled"> 3581 <bool>false</bool> 3582 </property> 3574 3583 <property name="text"> 3575 3584 <string>off</string> … … 3579 3588 <item row="7" column="1"> 3580 3589 <widget class="QPushButton" name="pushButton_9"> 3590 <property name="enabled"> 3591 <bool>false</bool> 3592 </property> 3581 3593 <property name="text"> 3582 3594 <string>on</string> … … 3586 3598 <item row="8" column="1"> 3587 3599 <widget class="QPushButton" name="pushButton_10"> 3600 <property name="enabled"> 3601 <bool>false</bool> 3602 </property> 3588 3603 <property name="text"> 3589 3604 <string>on</string> … … 3593 3608 <item row="8" column="2"> 3594 3609 <widget class="QPushButton" name="pushButton_15"> 3610 <property name="enabled"> 3611 <bool>false</bool> 3612 </property> 3595 3613 <property name="text"> 3596 3614 <string>off</string> … … 3735 3753 <item row="9" column="1"> 3736 3754 <widget class="QPushButton" name="fFadStartRun"> 3755 <property name="enabled"> 3756 <bool>false</bool> 3757 </property> 3737 3758 <property name="text"> 3738 3759 <string>Start</string> … … 3742 3763 <item row="9" column="2"> 3743 3764 <widget class="QPushButton" name="fFadStopRun"> 3765 <property name="enabled"> 3766 <bool>false</bool> 3767 </property> 3744 3768 <property name="text"> 3745 3769 <string>Stop</string> … … 3849 3873 </widget> 3850 3874 </item> 3851 <item row="4" column="1"> 3852 <widget class="QPushButton" name="fStatusDNSLed_4"> 3875 <item row="2" column="0"> 3876 <widget class="QLabel" name="label_99"> 3877 <property name="text"> 3878 <string>Prescaler</string> 3879 </property> 3880 </widget> 3881 </item> 3882 <item row="3" column="0"> 3883 <widget class="QLabel" name="label_100"> 3884 <property name="text"> 3885 <string>Region of interest</string> 3886 </property> 3887 </widget> 3888 </item> 3889 <item row="0" column="0"> 3890 <widget class="QLabel" name="label_102"> 3891 <property name="toolTip"> 3892 <string>This is<br>a tool tip</string> 3893 </property> 3894 <property name="text"> 3895 <string>Version</string> 3896 </property> 3897 </widget> 3898 </item> 3899 <item row="0" column="1"> 3900 <widget class="QPushButton" name="fFadLedFwVersion"> 3853 3901 <property name="enabled"> 3854 3902 <bool>true</bool> … … 3887 3935 </widget> 3888 3936 </item> 3889 <item row="2" column="0"> 3890 <widget class="QLabel" name="label_99"> 3891 <property name="text"> 3892 <string>Prescaler</string> 3893 </property> 3894 </widget> 3895 </item> 3896 <item row="3" column="0"> 3897 <widget class="QLabel" name="label_100"> 3898 <property name="text"> 3899 <string>Region of interest</string> 3900 </property> 3901 </widget> 3902 </item> 3903 <item row="4" column="0"> 3904 <widget class="QLabel" name="label_101"> 3905 <property name="text"> 3906 <string>Reference clock</string> 3907 </property> 3908 </widget> 3909 </item> 3910 <item row="0" column="0"> 3911 <widget class="QLabel" name="label_102"> 3912 <property name="toolTip"> 3913 <string>This is<br>a tool tip</string> 3914 </property> 3915 <property name="text"> 3916 <string>Version</string> 3917 </property> 3918 </widget> 3919 </item> 3920 <item row="0" column="1"> 3921 <widget class="QPushButton" name="fFadLedFwVersion"> 3937 <item row="2" column="2"> 3938 <widget class="QSpinBox" name="spinBox"> 3939 <property name="enabled"> 3940 <bool>false</bool> 3941 </property> 3942 <property name="alignment"> 3943 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3944 </property> 3945 <property name="readOnly"> 3946 <bool>true</bool> 3947 </property> 3948 <property name="buttonSymbols"> 3949 <enum>QAbstractSpinBox::NoButtons</enum> 3950 </property> 3951 </widget> 3952 </item> 3953 <item row="3" column="2"> 3954 <widget class="QSpinBox" name="spinBox_2"> 3955 <property name="enabled"> 3956 <bool>false</bool> 3957 </property> 3958 <property name="alignment"> 3959 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3960 </property> 3961 <property name="readOnly"> 3962 <bool>true</bool> 3963 </property> 3964 <property name="buttonSymbols"> 3965 <enum>QAbstractSpinBox::NoButtons</enum> 3966 </property> 3967 </widget> 3968 </item> 3969 <item row="0" column="2"> 3970 <widget class="QDoubleSpinBox" name="fFadFwVersion"> 3971 <property name="alignment"> 3972 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3973 </property> 3974 <property name="readOnly"> 3975 <bool>true</bool> 3976 </property> 3977 <property name="buttonSymbols"> 3978 <enum>QAbstractSpinBox::NoButtons</enum> 3979 </property> 3980 <property name="prefix"> 3981 <string>V</string> 3982 </property> 3983 </widget> 3984 </item> 3985 <item row="2" column="3"> 3986 <widget class="QSpinBox" name="spinBox_18"> 3987 <property name="enabled"> 3988 <bool>false</bool> 3989 </property> 3990 <property name="alignment"> 3991 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3992 </property> 3993 </widget> 3994 </item> 3995 <item row="3" column="3"> 3996 <widget class="QSpinBox" name="fFadRoiCmd"> 3997 <property name="alignment"> 3998 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3999 </property> 4000 <property name="maximum"> 4001 <number>1024</number> 4002 </property> 4003 </widget> 4004 </item> 4005 <item row="1" column="0"> 4006 <widget class="QLabel" name="label_145"> 4007 <property name="text"> 4008 <string>Run Number</string> 4009 </property> 4010 </widget> 4011 </item> 4012 <item row="1" column="2"> 4013 <widget class="QSpinBox" name="fFadRunNumber"> 4014 <property name="alignment"> 4015 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4016 </property> 4017 <property name="readOnly"> 4018 <bool>true</bool> 4019 </property> 4020 <property name="buttonSymbols"> 4021 <enum>QAbstractSpinBox::NoButtons</enum> 4022 </property> 4023 <property name="maximum"> 4024 <number>2147483647</number> 4025 </property> 4026 </widget> 4027 </item> 4028 <item row="1" column="1"> 4029 <widget class="QPushButton" name="fFadLedRunNumber"> 3922 4030 <property name="enabled"> 3923 4031 <bool>true</bool> … … 3956 4064 </widget> 3957 4065 </item> 3958 <item row="5" column="0"> 3959 <widget class="QLabel" name="label_103"> 3960 <property name="text"> 3961 <string> -- underflow</string> 3962 </property> 3963 </widget> 3964 </item> 3965 <item row="2" column="2"> 3966 <widget class="QSpinBox" name="spinBox"> 3967 <property name="enabled"> 3968 <bool>false</bool> 3969 </property> 4066 <item row="1" column="3"> 4067 <widget class="QSpinBox" name="fFadRunNumberCmd"> 3970 4068 <property name="alignment"> 3971 4069 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 3972 4070 </property> 4071 <property name="maximum"> 4072 <number>2147483647</number> 4073 </property> 4074 </widget> 4075 </item> 4076 <item row="4" column="1"> 4077 <spacer name="verticalSpacer_26"> 4078 <property name="orientation"> 4079 <enum>Qt::Vertical</enum> 4080 </property> 4081 <property name="sizeType"> 4082 <enum>QSizePolicy::Fixed</enum> 4083 </property> 4084 <property name="sizeHint" stdset="0"> 4085 <size> 4086 <width>20</width> 4087 <height>10</height> 4088 </size> 4089 </property> 4090 </spacer> 4091 </item> 4092 <item row="5" column="2"> 4093 <widget class="QLabel" name="label_128"> 4094 <property name="text"> 4095 <string>Min</string> 4096 </property> 4097 <property name="alignment"> 4098 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 4099 </property> 4100 </widget> 4101 </item> 4102 <item row="5" column="3"> 4103 <widget class="QLabel" name="label_129"> 4104 <property name="text"> 4105 <string>Max</string> 4106 </property> 4107 <property name="alignment"> 4108 <set>Qt::AlignBottom|Qt::AlignHCenter</set> 4109 </property> 4110 </widget> 4111 </item> 4112 <item row="6" column="2"> 4113 <widget class="QDoubleSpinBox" name="fFadTempMin"> 4114 <property name="alignment"> 4115 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4116 </property> 3973 4117 <property name="readOnly"> 3974 4118 <bool>true</bool> … … 3977 4121 <enum>QAbstractSpinBox::NoButtons</enum> 3978 4122 </property> 3979 </widget>3980 </item>3981 <item row="3" column="2">3982 < widget class="QSpinBox" name="spinBox_2">3983 <property name="enabled">3984 <bool>false</bool>3985 </property>4123 <property name="suffix"> 4124 <string>°C</string> 4125 </property> 4126 </widget> 4127 </item> 4128 <item row="6" column="3"> 4129 <widget class="QDoubleSpinBox" name="fFadTempMax"> 3986 4130 <property name="alignment"> 3987 4131 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 3993 4137 <enum>QAbstractSpinBox::NoButtons</enum> 3994 4138 </property> 3995 </widget> 3996 </item> 3997 <item row="0" column="2"> 3998 <widget class="QDoubleSpinBox" name="fFadFwVersion"> 4139 <property name="suffix"> 4140 <string>°C</string> 4141 </property> 4142 </widget> 4143 </item> 4144 <item row="7" column="2"> 4145 <widget class="QDoubleSpinBox" name="fFadRefClockMin"> 4146 <property name="enabled"> 4147 <bool>true</bool> 4148 </property> 3999 4149 <property name="alignment"> 4000 4150 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> … … 4006 4156 <enum>QAbstractSpinBox::NoButtons</enum> 4007 4157 </property> 4008 <property name="prefix"> 4009 <string>V</string> 4010 </property> 4011 </widget> 4012 </item> 4013 <item row="4" column="2"> 4014 <widget class="QSpinBox" name="spinBox_3"> 4015 <property name="enabled"> 4016 <bool>false</bool> 4017 </property> 4158 <property name="suffix"> 4159 <string> MHz</string> 4160 </property> 4161 <property name="decimals"> 4162 <number>3</number> 4163 </property> 4164 <property name="maximum"> 4165 <double>7000.000000000000000</double> 4166 </property> 4167 </widget> 4168 </item> 4169 <item row="7" column="3"> 4170 <widget class="QDoubleSpinBox" name="fFadRefClockMax"> 4018 4171 <property name="alignment"> 4019 4172 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4020 4173 </property> 4021 <property name="readOnly">4022 <bool>true</bool>4023 </property>4024 4174 <property name="buttonSymbols"> 4025 4175 <enum>QAbstractSpinBox::NoButtons</enum> 4026 4176 </property> 4027 </widget> 4028 </item> 4029 <item row="5" column="1"> 4030 <widget class="QPushButton" name="fFadLedRefClockTooLow"> 4177 <property name="suffix"> 4178 <string> MHz</string> 4179 </property> 4180 <property name="decimals"> 4181 <number>3</number> 4182 </property> 4183 <property name="maximum"> 4184 <double>7000.000000000000000</double> 4185 </property> 4186 </widget> 4187 </item> 4188 <item row="6" column="0"> 4189 <widget class="QLabel" name="label_111"> 4190 <property name="text"> 4191 <string>Temperature</string> 4192 </property> 4193 </widget> 4194 </item> 4195 <item row="6" column="1"> 4196 <widget class="QPushButton" name="fFadLedTemp"> 4031 4197 <property name="enabled"> 4032 4198 <bool>true</bool> … … 4065 4231 </widget> 4066 4232 </item> 4067 <item row="2" column="3"> 4068 <widget class="QSpinBox" name="spinBox_18"> 4069 <property name="enabled"> 4070 <bool>false</bool> 4071 </property> 4072 <property name="alignment"> 4073 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4074 </property> 4075 </widget> 4076 </item> 4077 <item row="3" column="3"> 4078 <widget class="QSpinBox" name="fFadRoiCmd"> 4079 <property name="alignment"> 4080 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4081 </property> 4082 <property name="maximum"> 4083 <number>1024</number> 4084 </property> 4085 </widget> 4086 </item> 4087 <item row="4" column="3"> 4088 <widget class="QSpinBox" name="spinBox_20"> 4089 <property name="enabled"> 4090 <bool>false</bool> 4091 </property> 4092 <property name="alignment"> 4093 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4094 </property> 4095 </widget> 4096 </item> 4097 <item row="9" column="0"> 4098 <widget class="QLabel" name="label_111"> 4099 <property name="text"> 4100 <string>Temperature</string> 4101 </property> 4102 </widget> 4103 </item> 4104 <item row="9" column="1"> 4105 <widget class="QPushButton" name="fFadLedTemp"> 4233 <item row="7" column="0"> 4234 <widget class="QLabel" name="label_101"> 4235 <property name="text"> 4236 <string>Reference clock</string> 4237 </property> 4238 </widget> 4239 </item> 4240 <item row="7" column="1"> 4241 <widget class="QPushButton" name="fFadLedRefClock"> 4106 4242 <property name="enabled"> 4107 4243 <bool>true</bool> … … 4140 4276 </widget> 4141 4277 </item> 4142 <item row="9" column="2"> 4143 <widget class="QDoubleSpinBox" name="fFadTempMin"> 4144 <property name="alignment"> 4145 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4146 </property> 4147 <property name="readOnly"> 4148 <bool>true</bool> 4149 </property> 4150 <property name="buttonSymbols"> 4151 <enum>QAbstractSpinBox::NoButtons</enum> 4152 </property> 4153 </widget> 4154 </item> 4155 <item row="9" column="3"> 4156 <widget class="QDoubleSpinBox" name="fFadTempMax"> 4157 <property name="alignment"> 4158 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4159 </property> 4160 <property name="readOnly"> 4161 <bool>true</bool> 4162 </property> 4163 <property name="buttonSymbols"> 4164 <enum>QAbstractSpinBox::NoButtons</enum> 4165 </property> 4166 </widget> 4167 </item> 4168 <item row="8" column="2"> 4169 <widget class="QLabel" name="label_128"> 4170 <property name="text"> 4171 <string>Min</string> 4172 </property> 4173 <property name="alignment"> 4174 <set>Qt::AlignCenter</set> 4175 </property> 4176 </widget> 4177 </item> 4178 <item row="8" column="3"> 4179 <widget class="QLabel" name="label_129"> 4180 <property name="text"> 4181 <string>Max</string> 4182 </property> 4183 <property name="alignment"> 4184 <set>Qt::AlignCenter</set> 4185 </property> 4186 </widget> 4187 </item> 4188 <item row="7" column="1"> 4189 <spacer name="verticalSpacer_26"> 4190 <property name="orientation"> 4191 <enum>Qt::Vertical</enum> 4192 </property> 4193 <property name="sizeType"> 4194 <enum>QSizePolicy::Fixed</enum> 4195 </property> 4196 <property name="sizeHint" stdset="0"> 4197 <size> 4198 <width>20</width> 4199 <height>10</height> 4200 </size> 4201 </property> 4202 </spacer> 4203 </item> 4204 <item row="6" column="0"> 4205 <widget class="QLabel" name="label_92"> 4206 <property name="text"> 4207 <string>PLL lock</string> 4208 </property> 4209 </widget> 4210 </item> 4211 <item row="6" column="1"> 4212 <widget class="QPushButton" name="fFadLedPllLock"> 4278 <item row="8" column="1"> 4279 <widget class="QPushButton" name="fFadLedRefClockTooLow"> 4213 4280 <property name="enabled"> 4214 4281 <bool>true</bool> … … 4247 4314 </widget> 4248 4315 </item> 4249 <item row="1" column="0"> 4250 <widget class="QLabel" name="label_145"> 4251 <property name="text"> 4252 <string>Run Number</string> 4253 </property> 4254 </widget> 4255 </item> 4256 <item row="1" column="2"> 4257 <widget class="QSpinBox" name="fFadRunNumber"> 4258 <property name="alignment"> 4259 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 4260 </property> 4261 <property name="readOnly"> 4262 <bool>true</bool> 4263 </property> 4264 <property name="buttonSymbols"> 4265 <enum>QAbstractSpinBox::NoButtons</enum> 4266 </property> 4267 <property name="maximum"> 4268 <number>2147483647</number> 4269 </property> 4270 </widget> 4271 </item> 4272 <item row="1" column="1"> 4273 <widget class="QPushButton" name="fFadLedRunNumber"> 4316 <item row="8" column="0"> 4317 <widget class="QLabel" name="label_103"> 4318 <property name="text"> 4319 <string> -- underflow</string> 4320 </property> 4321 </widget> 4322 </item> 4323 <item row="9" column="0"> 4324 <widget class="QLabel" name="label_92"> 4325 <property name="text"> 4326 <string>PLL lock</string> 4327 </property> 4328 </widget> 4329 </item> 4330 <item row="9" column="1"> 4331 <widget class="QPushButton" name="fFadLedPllLock"> 4274 4332 <property name="enabled"> 4275 4333 <bool>true</bool> … … 4305 4363 <property name="flat"> 4306 4364 <bool>true</bool> 4307 </property>4308 </widget>4309 </item>4310 <item row="1" column="3">4311 <widget class="QSpinBox" name="fFadRunNumberCmd">4312 <property name="alignment">4313 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>4314 </property>4315 <property name="maximum">4316 <number>2147483647</number>4317 4365 </property> 4318 4366 </widget> … … 5508 5556 <enum>QAbstractSpinBox::NoButtons</enum> 5509 5557 </property> 5558 <property name="currentSection"> 5559 <enum>QDateTimeEdit::HourSection</enum> 5560 </property> 5561 <property name="displayFormat"> 5562 <string>hh:mm:ss</string> 5563 </property> 5564 <property name="calendarPopup"> 5565 <bool>false</bool> 5566 </property> 5567 <property name="timeSpec"> 5568 <enum>Qt::OffsetFromUTC</enum> 5569 </property> 5510 5570 <property name="time"> 5511 5571 <time> … … 5514 5574 <second>0</second> 5515 5575 </time> 5516 </property>5517 <property name="currentSection">5518 <enum>QDateTimeEdit::HourSection</enum>5519 </property>5520 <property name="displayFormat">5521 <string>hh:mm:ss</string>5522 </property>5523 <property name="calendarPopup">5524 <bool>false</bool>5525 </property>5526 <property name="timeSpec">5527 <enum>Qt::OffsetFromUTC</enum>5528 5576 </property> 5529 5577 </widget> … … 5650 5698 <enum>QAbstractSpinBox::NoButtons</enum> 5651 5699 </property> 5700 <property name="currentSection"> 5701 <enum>QDateTimeEdit::HourSection</enum> 5702 </property> 5703 <property name="displayFormat"> 5704 <string>hh:mm:ss</string> 5705 </property> 5706 <property name="calendarPopup"> 5707 <bool>false</bool> 5708 </property> 5709 <property name="timeSpec"> 5710 <enum>Qt::OffsetFromUTC</enum> 5711 </property> 5652 5712 <property name="time"> 5653 5713 <time> … … 5656 5716 <second>0</second> 5657 5717 </time> 5658 </property>5659 <property name="currentSection">5660 <enum>QDateTimeEdit::HourSection</enum>5661 </property>5662 <property name="displayFormat">5663 <string>hh:mm:ss</string>5664 </property>5665 <property name="calendarPopup">5666 <bool>false</bool>5667 </property>5668 <property name="timeSpec">5669 <enum>Qt::OffsetFromUTC</enum>5670 5718 </property> 5671 5719 </widget> -
trunk/FACT++/src/EventBuilderWrapper.h
r11224 r11225 732 732 DimDescribedService fDimDNA; 733 733 DimDescribedService fDimTemperature; 734 DimDescribedService fDimRefClock; 734 735 DimDescribedService fDimStatistics; 735 736 … … 779 780 fDimDNA ("FAD_CONTROL/DNA", "X:40", ""), 780 781 fDimTemperature ("FAD_CONTROL/TEMPERATURE", "F:82", ""), 782 fDimRefClock ("FAD_CONTROL/REFERENCE_CLOCK", "I:42", ""), 781 783 fDimStatistics ("FAD_CONTROL/STATISTICS", "X:8", ""), 782 784 fDebugStream(false), fDebugRead(false) … … 1444 1446 fNumConnected = con; 1445 1447 1446 1447 1448 const FAD::EventHeader old = fVecHeader[id]; 1448 1449 fVecHeader[id] = h; … … 1480 1481 } 1481 1482 1483 // ----------- 1484 1482 1485 static Time oldt(boost::date_time::neg_infin); 1483 1486 Time newt; … … 1486 1489 { 1487 1490 oldt = newt; 1491 1492 // --- RefClock 1493 1494 const boost::array<uint32_t,42> clk = Compare(&h, &h.fFreqRefClock); 1495 Update(fDimRefClock, clk); 1496 1497 // --- Temperatures 1488 1498 1489 1499 const boost::array<int16_t,42> tmp[4] =
Note:
See TracChangeset
for help on using the changeset viewer.