Index: /trunk/FACT++/gui/FactGui.h
===================================================================
--- /trunk/FACT++/gui/FactGui.h	(revision 11175)
+++ /trunk/FACT++/gui/FactGui.h	(revision 11176)
@@ -1513,4 +1513,16 @@
         fClockCondR14->setValue(sdata.fClockConditioner[6]);
         fClockCondR15->setValue(sdata.fClockConditioner[7]);
+
+        const uint32_t R0  = sdata.fClockConditioner[0];
+        const uint32_t R14 = sdata.fClockConditioner[6];
+        const uint32_t R15 = sdata.fClockConditioner[7];
+
+        const uint32_t Ndiv = (R15&0x1ffff00)<<2;
+        const uint32_t Rdiv = (R14&0x007ff00)>>8;
+        const uint32_t Cdiv = (R0 &0x000ff00)>>8;
+
+        double freq = 40.*Ndiv/(Rdiv*Cdiv);
+
+        fClockCondFreqRes->setValue(freq);
 
         //fClockCondFreq->setEditText("");
Index: /trunk/FACT++/gui/design.ui
===================================================================
--- /trunk/FACT++/gui/design.ui	(revision 11175)
+++ /trunk/FACT++/gui/design.ui	(revision 11176)
@@ -52,5 +52,5 @@
       </property>
       <property name="currentIndex">
-       <number>3</number>
+       <number>0</number>
       </property>
       <property name="documentMode">
@@ -1662,5 +1662,5 @@
                 </spacer>
                </item>
-               <item row="3" column="2" colspan="2">
+               <item row="3" column="1" colspan="2">
                 <widget class="QComboBox" name="fClockCondFreq">
                  <property name="frame">
@@ -1669,5 +1669,5 @@
                 </widget>
                </item>
-               <item row="2" column="2" colspan="3">
+               <item row="2" column="1" colspan="2">
                 <widget class="QLabel" name="label_133">
                  <property name="text">
@@ -1688,4 +1688,30 @@
                  </property>
                 </spacer>
+               </item>
+               <item row="3" column="4">
+                <widget class="QDoubleSpinBox" name="fClockCondFreqRes">
+                 <property name="alignment">
+                  <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+                 </property>
+                 <property name="readOnly">
+                  <bool>true</bool>
+                 </property>
+                 <property name="buttonSymbols">
+                  <enum>QAbstractSpinBox::NoButtons</enum>
+                 </property>
+                 <property name="suffix">
+                  <string> MHz</string>
+                 </property>
+                 <property name="maximum">
+                  <double>10000.000000000000000</double>
+                 </property>
+                </widget>
+               </item>
+               <item row="2" column="4">
+                <widget class="QLabel" name="label_143">
+                 <property name="text">
+                  <string>Calculated rate</string>
+                 </property>
+                </widget>
                </item>
               </layout>
Index: /trunk/FACT++/src/HeadersFTM.h
===================================================================
--- /trunk/FACT++/src/HeadersFTM.h	(revision 11175)
+++ /trunk/FACT++/src/HeadersFTM.h	(revision 11176)
@@ -192,5 +192,5 @@
         uint16_t fDelayTimeMarker;         /// (4ns * x + 8ns) FTM internal programmable delay between trigger descision and time marker output
         uint16_t fDeadTime;                /// (4ns * x + 8ns) FTM internal programmable dead time after trigger decision
-        uint32_t fClockConditioner[8];     // R0, R1, R8, R9, R11, R13, R14, R15
+        uint32_t fClockConditioner[8];     /// R0, R1, R8, R9, R11, R13, R14, R15
         uint16_t fWindowPhysics;           /// (4ns * x + 8ns) At least N (multiplicity) rising edges (trigger signal) within this window
         uint16_t fWindowCalib;             /// (4ns * x + 8ns) At least N (multiplicity) rising edges (trigger signal) within this window
