Index: trunk/BNC/bncgetthread.cpp
===================================================================
--- trunk/BNC/bncgetthread.cpp	(revision 2003)
+++ trunk/BNC/bncgetthread.cpp	(revision 2004)
@@ -284,4 +284,10 @@
   // _rawOutFile->open(QIODevice::WriteOnly);
 
+  // Initialize PPP Clinet?
+  // ----------------------
+  bool pppClient = false;
+  if (settings.value("pppMount").toString() == _staID) {
+    pppClient = true;
+  }
 
   // Instantiate the decoder
@@ -291,5 +297,7 @@
     emit(newMessage(_staID + ": Get data in RTCM 2.x format", true));
     _decoder = new RTCM2Decoder(_staID.data());
-    _PPPthread = new bncPPPthread(_staID);
+    if (pppClient) {
+      _PPPthread = new bncPPPthread(_staID);
+    }
   }
   else if (_format.indexOf("RTCM_3") != -1 || _format.indexOf("RTCM3") != -1 ||
@@ -299,10 +307,14 @@
     connect((RTCM3Decoder*) _decoder, SIGNAL(newMessage(QByteArray,bool)), 
             this, SIGNAL(newMessage(QByteArray,bool)));
-    _PPPthread = new bncPPPthread(_staID);
+    if (pppClient) {
+      _PPPthread = new bncPPPthread(_staID);
+    }
   }
   else if (_format.indexOf("RTIGS") != -1) {
     emit(newMessage(_staID + ": Get data in RTIGS format", true));
     _decoder = new RTIGSDecoder();
-    _PPPthread = new bncPPPthread(_staID);
+    if (pppClient) {
+      _PPPthread = new bncPPPthread(_staID);
+    }
   }
   else if (_format.indexOf("GPSS") != -1 || _format.indexOf("BNC") != -1) {
Index: trunk/BNC/bncpppthread.cpp
===================================================================
--- trunk/BNC/bncpppthread.cpp	(revision 2003)
+++ trunk/BNC/bncpppthread.cpp	(revision 2004)
@@ -50,4 +50,5 @@
   _staID         = staID;
   _isToBeDeleted = false;
+  cout << "PPP Client " << _staID.data() << " constructor\n";
 }
 
@@ -58,4 +59,5 @@
     wait();
   }
+  cout << "PPP Client " << _staID.data() << " destructor\n";
 }
 
@@ -92,4 +94,5 @@
 void bncPPPthread::slotNewEpochData(QList<p_obs> obsList) {
   QMutexLocker locker(&_mutex);
+  cout << "PPP Client: new observations " << obsList.size() << endl;
 }
 
@@ -98,4 +101,5 @@
 void bncPPPthread::slotNewEphGPS(gpsephemeris gpseph) {
   QMutexLocker locker(&_mutex);
+  cout << "PPP Client: new ephemeris " << gpseph.satellite << endl;
 }
 
@@ -104,3 +108,4 @@
 void bncPPPthread::slotNewCorrections(QList<QString> corrList) {
   QMutexLocker locker(&_mutex);
+  cout << "PPP Client: new corrections " << corrList.size() << endl;
 }
