Index: /trunk/FACT++/gui/MainWindow.cc
===================================================================
--- /trunk/FACT++/gui/MainWindow.cc	(revision 11110)
+++ /trunk/FACT++/gui/MainWindow.cc	(revision 11111)
@@ -148,4 +148,64 @@
 }
 
+void MainWindow::slot_fFadStartRun_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/START_RUN");
+}
+
+void MainWindow::slot_fFadStopRun_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/STOP_RUN");
+}
+
+void MainWindow::slot_fFadSingleTrigger_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/SEND_SINGLE_TRIGGER");
+}
+
+void MainWindow::slot_fFadTriggerLineOn_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/ENABLE_TRIGGER", uint8_t(true));
+}
+
+void MainWindow::slot_fFadTriggerLineOff_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/ENABLE_TRIGGER", uint8_t(false));
+}
+
+void MainWindow::slot_fFadContTriggerOn_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/CONTINOUS_TRIGGER_ON");
+}
+
+void MainWindow::slot_fFadContTriggerOff_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/CONTINOUS_TRIGGER_OFF");
+}
+
+void MainWindow::slot_fFadStart_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/START");
+}
+
+void MainWindow::slot_fFadStop_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/STOP");
+}
+
+void MainWindow::slot_fFadAbort_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/ABORT");
+}
+
+void MainWindow::slot_fFadConnect_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/CONNECT");
+}
+
+void MainWindow::slot_fFadDisconnect_clicked()
+{
+    Dim::SendCommand("FAD_CONTROL/DISCONNECT");
+}
+
 void MainWindow::SetTriggerSequence()
 {
Index: /trunk/FACT++/gui/MainWindow.h
===================================================================
--- /trunk/FACT++/gui/MainWindow.h	(revision 11110)
+++ /trunk/FACT++/gui/MainWindow.h	(revision 11111)
@@ -45,4 +45,18 @@
     void on_fTabWidget_tabCloseRequested(int which);
     virtual void on_fTabWidget_currentChanged(int) { }
+
+    // Tab: FAD
+    void slot_fFadStartRun_clicked();
+    void slot_fFadStopRun_clicked();
+    void slot_fFadSingleTrigger_clicked();
+    void slot_fFadTriggerLineOn_clicked();
+    void slot_fFadTriggerLineOff_clicked();
+    void slot_fFadContTriggerOn_clicked();
+    void slot_fFadContTriggerOff_clicked();
+    void slot_fFadStart_clicked();
+    void slot_fFadStop_clicked();
+    void slot_fFadAbort_clicked();
+    void slot_fFadConnect_clicked();
+    void slot_fFadDisconnect_clicked();
 
     // Tab: FTM
Index: /trunk/FACT++/gui/design.ui
===================================================================
--- /trunk/FACT++/gui/design.ui	(revision 11110)
+++ /trunk/FACT++/gui/design.ui	(revision 11111)
@@ -52,5 +52,5 @@
       </property>
       <property name="currentIndex">
-       <number>0</number>
+       <number>3</number>
       </property>
       <property name="documentMode">
@@ -3081,11 +3081,11 @@
              <rect>
               <x>10</x>
-              <y>330</y>
-              <width>201</width>
-              <height>172</height>
+              <y>250</y>
+              <width>247</width>
+              <height>256</height>
              </rect>
             </property>
             <layout class="QGridLayout" name="gridLayout_37">
-             <item row="0" column="0">
+             <item row="1" column="0">
               <widget class="QPushButton" name="fFadLedPllLck">
                <property name="enabled">
@@ -3125,5 +3125,5 @@
               </widget>
              </item>
-             <item row="1" column="0">
+             <item row="2" column="0">
               <widget class="QPushButton" name="fFadLedDenable">
                <property name="enabled">
@@ -3163,5 +3163,5 @@
               </widget>
              </item>
-             <item row="2" column="0">
+             <item row="3" column="0">
               <widget class="QPushButton" name="fFadLedDwrite">
                <property name="enabled">
@@ -3201,5 +3201,5 @@
               </widget>
              </item>
-             <item row="3" column="0">
+             <item row="4" column="0">
               <widget class="QPushButton" name="fFadLedDcmLocked">
                <property name="enabled">
@@ -3239,5 +3239,5 @@
               </widget>
              </item>
-             <item row="4" column="0">
+             <item row="5" column="0">
               <widget class="QPushButton" name="fFadLedDcmReady">
                <property name="enabled">
@@ -3277,5 +3277,5 @@
               </widget>
              </item>
-             <item row="5" column="0">
+             <item row="6" column="0">
               <widget class="QPushButton" name="fFadLedSpiSclk">
                <property name="enabled">
@@ -3315,5 +3315,5 @@
               </widget>
              </item>
-             <item row="0" column="3">
+             <item row="1" column="3">
               <widget class="QLabel" name="label_92">
                <property name="text">
@@ -3322,5 +3322,5 @@
               </widget>
              </item>
-             <item row="1" column="3">
+             <item row="2" column="3">
               <widget class="QLabel" name="label_93">
                <property name="text">
@@ -3329,5 +3329,5 @@
               </widget>
              </item>
-             <item row="2" column="3">
+             <item row="3" column="3">
               <widget class="QLabel" name="label_94">
                <property name="text">
@@ -3336,5 +3336,5 @@
               </widget>
              </item>
-             <item row="3" column="3">
+             <item row="4" column="3">
               <widget class="QLabel" name="label_95">
                <property name="text">
@@ -3343,5 +3343,5 @@
               </widget>
              </item>
-             <item row="4" column="3">
+             <item row="5" column="3">
               <widget class="QLabel" name="label_96">
                <property name="text">
@@ -3350,5 +3350,5 @@
               </widget>
              </item>
-             <item row="5" column="3">
+             <item row="6" column="3">
               <widget class="QLabel" name="label_97">
                <property name="text">
@@ -3357,5 +3357,5 @@
               </widget>
              </item>
-             <item row="0" column="1">
+             <item row="1" column="1">
               <widget class="QPushButton" name="fFadPllLockOn">
                <property name="text">
@@ -3364,5 +3364,5 @@
               </widget>
              </item>
-             <item row="0" column="2">
+             <item row="1" column="2">
               <widget class="QPushButton" name="fFadPllLockOff">
                <property name="text">
@@ -3371,5 +3371,5 @@
               </widget>
              </item>
-             <item row="1" column="1">
+             <item row="2" column="1">
               <widget class="QPushButton" name="fFadDrsOn">
                <property name="text">
@@ -3378,5 +3378,5 @@
               </widget>
              </item>
-             <item row="2" column="1">
+             <item row="3" column="1">
               <widget class="QPushButton" name="fFadWriteOn">
                <property name="text">
@@ -3385,5 +3385,5 @@
               </widget>
              </item>
-             <item row="3" column="1">
+             <item row="4" column="1">
               <widget class="QPushButton" name="pushButton_8">
                <property name="text">
@@ -3392,5 +3392,5 @@
               </widget>
              </item>
-             <item row="4" column="1">
+             <item row="5" column="1">
               <widget class="QPushButton" name="pushButton_9">
                <property name="text">
@@ -3399,5 +3399,5 @@
               </widget>
              </item>
-             <item row="5" column="1">
+             <item row="6" column="1">
               <widget class="QPushButton" name="pushButton_10">
                <property name="text">
@@ -3406,5 +3406,5 @@
               </widget>
              </item>
-             <item row="1" column="2">
+             <item row="2" column="2">
               <widget class="QPushButton" name="fFadDrsOff">
                <property name="text">
@@ -3413,5 +3413,5 @@
               </widget>
              </item>
-             <item row="2" column="2">
+             <item row="3" column="2">
               <widget class="QPushButton" name="fFadWriteOff">
                <property name="text">
@@ -3420,5 +3420,5 @@
               </widget>
              </item>
-             <item row="3" column="2">
+             <item row="4" column="2">
               <widget class="QPushButton" name="pushButton_13">
                <property name="text">
@@ -3427,5 +3427,5 @@
               </widget>
              </item>
-             <item row="4" column="2">
+             <item row="5" column="2">
               <widget class="QPushButton" name="pushButton_14">
                <property name="text">
@@ -3434,6 +3434,62 @@
               </widget>
              </item>
-             <item row="5" column="2">
+             <item row="6" column="2">
               <widget class="QPushButton" name="pushButton_15">
+               <property name="text">
+                <string>off</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="1">
+              <widget class="QPushButton" name="fFadStartRun">
+               <property name="text">
+                <string>Start</string>
+               </property>
+              </widget>
+             </item>
+             <item row="0" column="2">
+              <widget class="QPushButton" name="fFadStopRun">
+               <property name="text">
+                <string>Stop</string>
+               </property>
+              </widget>
+             </item>
+             <item row="7" column="2">
+              <widget class="QPushButton" name="fFadTriggerLineOff">
+               <property name="text">
+                <string>off</string>
+               </property>
+              </widget>
+             </item>
+             <item row="7" column="3">
+              <widget class="QLabel" name="label_134">
+               <property name="text">
+                <string>Trigger line</string>
+               </property>
+              </widget>
+             </item>
+             <item row="8" column="3">
+              <widget class="QLabel" name="label_106">
+               <property name="text">
+                <string>Continous trigger</string>
+               </property>
+              </widget>
+             </item>
+             <item row="7" column="1">
+              <widget class="QPushButton" name="fFadTriggerLineOn">
+               <property name="text">
+                <string>on</string>
+               </property>
+              </widget>
+             </item>
+             <item row="8" column="1">
+              <widget class="QPushButton" name="fFadContTriggerOn">
+               <property name="text">
+                <string>on</string>
+               </property>
+              </widget>
+             </item>
+             <item row="8" column="2">
+              <widget class="QPushButton" name="fFadTriggerLineOn_3">
                <property name="text">
                 <string>off</string>
@@ -3447,5 +3503,5 @@
              <rect>
               <x>10</x>
-              <y>30</y>
+              <y>20</y>
               <width>281</width>
               <height>234</height>
@@ -4202,6 +4258,6 @@
             <property name="geometry">
              <rect>
-              <x>20</x>
-              <y>10</y>
+              <x>10</x>
+              <y>0</y>
               <width>57</width>
               <height>15</height>
@@ -4210,17 +4266,4 @@
             <property name="text">
              <string>FAD </string>
-            </property>
-           </widget>
-           <widget class="QLabel" name="label_106">
-            <property name="geometry">
-             <rect>
-              <x>30</x>
-              <y>300</y>
-              <width>91</width>
-              <height>16</height>
-             </rect>
-            </property>
-            <property name="text">
-             <string>FAD status</string>
             </property>
            </widget>
@@ -4538,4 +4581,82 @@
             <property name="text">
              <string>Event builder</string>
+            </property>
+           </widget>
+           <widget class="QPushButton" name="fFadSingleTrigger">
+            <property name="geometry">
+             <rect>
+              <x>680</x>
+              <y>230</y>
+              <width>94</width>
+              <height>24</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Trigger</string>
+            </property>
+           </widget>
+           <widget class="QPushButton" name="fFadStart">
+            <property name="geometry">
+             <rect>
+              <x>580</x>
+              <y>170</y>
+              <width>94</width>
+              <height>24</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Start</string>
+            </property>
+           </widget>
+           <widget class="QPushButton" name="fFadStop">
+            <property name="geometry">
+             <rect>
+              <x>680</x>
+              <y>170</y>
+              <width>94</width>
+              <height>24</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Stop</string>
+            </property>
+           </widget>
+           <widget class="QPushButton" name="fFadAbort">
+            <property name="geometry">
+             <rect>
+              <x>780</x>
+              <y>170</y>
+              <width>94</width>
+              <height>24</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Abort</string>
+            </property>
+           </widget>
+           <widget class="QPushButton" name="fFadConnect">
+            <property name="geometry">
+             <rect>
+              <x>620</x>
+              <y>200</y>
+              <width>94</width>
+              <height>24</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Connect</string>
+            </property>
+           </widget>
+           <widget class="QPushButton" name="fFadDisconnect">
+            <property name="geometry">
+             <rect>
+              <x>740</x>
+              <y>200</y>
+              <width>94</width>
+              <height>24</height>
+             </rect>
+            </property>
+            <property name="text">
+             <string>Disconnect</string>
             </property>
            </widget>
