Index: /trunk/BNC/bncfigureppp.cpp
===================================================================
--- /trunk/BNC/bncfigureppp.cpp	(revision 2144)
+++ /trunk/BNC/bncfigureppp.cpp	(revision 2145)
@@ -61,5 +61,5 @@
 // 
 ////////////////////////////////////////////////////////////////////////////
-void bncFigurePPP::slotNewPosition(const bncTime& time, const double* xyz) {
+void bncFigurePPP::slotNewPosition(bncTime time, double x, double y, double z){
 
   const static int MAXNUMPOS = 1000;
@@ -70,9 +70,16 @@
 
   newPos->time   = time;
-  newPos->xyz[0] = xyz[0];
-  newPos->xyz[1] = xyz[1];
-  newPos->xyz[2] = xyz[2];
+  newPos->xyz[0] = x;
+  newPos->xyz[1] = y;
+  newPos->xyz[2] = z;
 
   _pos.push_back(newPos);
+
+  //// beg test
+  cout << newPos->time.timestr(1) << " "
+       << newPos->xyz[0]          << " "
+       << newPos->xyz[1]          << " "
+       << newPos->xyz[2]          << endl;
+  //// end test
 
   if (_pos.size() > MAXNUMPOS) {
@@ -87,4 +94,6 @@
 ////////////////////////////////////////////////////////////////////////////
 void bncFigurePPP::paintEvent(QPaintEvent *) {
+
+  cout << "paintEvent" << endl;
 
   int xMin =   0;
Index: /trunk/BNC/bncfigureppp.h
===================================================================
--- /trunk/BNC/bncfigureppp.h	(revision 2144)
+++ /trunk/BNC/bncfigureppp.h	(revision 2145)
@@ -36,5 +36,5 @@
 
  public slots:
-  void slotNewPosition(const bncTime& time, const double* xyz);
+  void slotNewPosition(bncTime time, double x, double y, double z);
 
  protected:
Index: /trunk/BNC/bncgetthread.cpp
===================================================================
--- /trunk/BNC/bncgetthread.cpp	(revision 2144)
+++ /trunk/BNC/bncgetthread.cpp	(revision 2145)
@@ -289,6 +289,6 @@
     _PPPclient = new bncPPPclient(_staID);
     qRegisterMetaType<bncTime>("bncTime");
-    connect(_PPPclient, SIGNAL(newPosition(const bncTime&, const double*)), 
-            this, SIGNAL(newPosition(const bncTime&, const double*)));
+    connect(_PPPclient, SIGNAL(newPosition(bncTime, double, double, double)), 
+            this, SIGNAL(newPosition(bncTime, double, double, double)));
   }
 
Index: /trunk/BNC/bncgetthread.h
===================================================================
--- /trunk/BNC/bncgetthread.h	(revision 2144)
+++ /trunk/BNC/bncgetthread.h	(revision 2145)
@@ -82,5 +82,5 @@
    void newMessage(QByteArray msg, bool showOnScreen);
    void getThreadFinished(QByteArray staID);
-   void newPosition(const bncTime& time, const double*);
+   void newPosition(bncTime time, double x, double y, double z);
 
  protected:
Index: /trunk/BNC/bncpppclient.cpp
===================================================================
--- /trunk/BNC/bncpppclient.cpp	(revision 2144)
+++ /trunk/BNC/bncpppclient.cpp	(revision 2145)
@@ -334,10 +334,6 @@
   // ---------------
   if (_model->update(_epoData) == success) {
-    double xyz[3];
-    xyz[0] = _model->x();
-    xyz[1] = _model->y();
-    xyz[2] = _model->z();
-    emit newPosition(_model->time(), xyz);    
-  }
-}
-
+    emit newPosition(_model->time(), _model->x(), _model->y(), _model->z());
+  }
+}
+
Index: /trunk/BNC/bncpppclient.h
===================================================================
--- /trunk/BNC/bncpppclient.h	(revision 2144)
+++ /trunk/BNC/bncpppclient.h	(revision 2145)
@@ -93,5 +93,5 @@
 
  signals:
-   void newPosition(const bncTime& time, const double*);
+  void newPosition(bncTime time, double x, double y, double z);
 
  private:
Index: /trunk/BNC/bncwindow.cpp
===================================================================
--- /trunk/BNC/bncwindow.cpp	(revision 2144)
+++ /trunk/BNC/bncwindow.cpp	(revision 2145)
@@ -1222,8 +1222,11 @@
         connect(thread, SIGNAL(newLatency(QByteArray, double)),
                 _bncFigureLate, SLOT(slotNewLatency(QByteArray, double)));
-        disconnect(thread, SIGNAL(newPosition(const bncTime&, const double*)),
-                   _bncFigurePPP, SLOT(slotNewPosition(const bncTime&, const double*)));
-        connect(thread, SIGNAL(newPosition(const bncTime&, const double*)),
-                _bncFigurePPP, SLOT(slotNewPosition(const bncTime&, const double*)));
+        disconnect(thread, 
+                   SIGNAL(newPosition(bncTime, double, double, double)),
+                   _bncFigurePPP, 
+                   SLOT(slotNewPosition(bncTime, double, double, double)));
+        connect(thread, SIGNAL(newPosition(bncTime, double, double, double)),
+                _bncFigurePPP, 
+                SLOT(slotNewPosition(bncTime, double, double, double)));
         break;
       }
