Index: trunk/BNC/bncpppthread.cpp
===================================================================
--- trunk/BNC/bncpppthread.cpp	(revision 2028)
+++ trunk/BNC/bncpppthread.cpp	(revision 2029)
@@ -40,4 +40,5 @@
 
 #include <iomanip>
+#include <newmatio.h>
 
 #include "bncpppthread.h"
@@ -185,5 +186,10 @@
                               ColumnVector& xc, ColumnVector& vv) {
 
-  return success;
+  if (_eph.contains(prn)) {
+    _eph.value(prn)->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data());
+    return success;
+  }
+
+  return failure;
 }
 
@@ -204,5 +210,6 @@
 
     if (getSatPos(_data->tt, prn, xc, vv) == success) {
-
+      cout << _data->tt.timestr(1) << " " << prn.toAscii().data() << " "
+           << setprecision(3) << xc.t();
     }
   }
