Index: trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
===================================================================
--- trunk/BNC/src/RTCM3/RTCM3Decoder.cpp	(revision 8472)
+++ trunk/BNC/src/RTCM3/RTCM3Decoder.cpp	(revision 8476)
@@ -1071,4 +1071,12 @@
     GETFLOATSIGNM(eph._z_pos, 27, 1.0 / (double )(1 << 11))
     GETFLOATSIGNM(eph._z_acceleration, 5, 1.0 / (double )(1 << 30))
+
+    eph._xv(1) = eph._x_pos * 1.e3;
+    eph._xv(2) = eph._y_pos * 1.e3;
+    eph._xv(3) = eph._z_pos * 1.e3;
+    eph._xv(4) = eph._x_velocity * 1.e3;
+    eph._xv(5) = eph._y_velocity * 1.e3;
+    eph._xv(6) = eph._z_velocity * 1.e3;
+
     GETBITS(eph._P3, 1)    /* P3 */
     GETFLOATSIGNM(eph._gamma, 11, 1.0 / (double )(1 << 30) / (double )(1 << 10))
@@ -1094,11 +1102,4 @@
     eph._tt = eph._TOC;
 
-    eph._xv(1) = eph._x_pos * 1.e3;
-    eph._xv(2) = eph._y_pos * 1.e3;
-    eph._xv(3) = eph._z_pos * 1.e3;
-    eph._xv(4) = eph._x_velocity * 1.e3;
-    eph._xv(5) = eph._y_velocity * 1.e3;
-    eph._xv(6) = eph._z_velocity * 1.e3;
-
     GLOFreq[sv - 1] = 100 + eph._frequency_number ; /* store frequency for other users (MSM) */
     _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(eph._frequency_number, 2, 'f', 0);
@@ -1128,5 +1129,5 @@
     GETBITS(i, 4)
     eph._prn.set('J', i);
-    
+
     GETBITS(i, 16)
     i <<= 4;
