Index: /trunk/BNC/upload/bncrtnetuploadcaster.cpp
===================================================================
--- /trunk/BNC/upload/bncrtnetuploadcaster.cpp	(revision 3586)
+++ /trunk/BNC/upload/bncrtnetuploadcaster.cpp	(revision 3587)
@@ -45,4 +45,5 @@
   QString     intr  = settings.value("uploadIntr").toString();
   int         sampl = settings.value("uploadSampl").toInt();
+  _samplOrb = settings.value("uploadSamplOrb").toDouble();
 
   // Raw Output
@@ -161,5 +162,4 @@
   }
   else if (_crdTrafo == "Custom") {
-    bncSettings settings;
     _dx  = settings.value("trafo_dx").toDouble();
     _dy  = settings.value("trafo_dy").toDouble();
@@ -353,9 +353,7 @@
   QByteArray hlpBufferCo;  
 
-  const double ORBIT_RATE = 0.0;
-
   // Orbit and Clock Corrections together
   // ------------------------------------
-  if (ORBIT_RATE == 0.0) {
+  if (_samplOrb == 0.0) {
     if (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) {
       char obuffer[CLOCKORBIT_BUFFERSIZE];
@@ -372,5 +370,5 @@
     if (co.NumberOfGPSSat > 0) {
       char obuffer[CLOCKORBIT_BUFFERSIZE];
-      if (fmod(epoTime.gpssec(), ORBIT_RATE) == 0.0) {
+      if (fmod(epoTime.gpssec(), _samplOrb) == 0.0) {
         int len1 = MakeClockOrbit(&co, COTYPE_GPSORBIT, 0, obuffer, sizeof(obuffer));
         if (len1 > 0) {
@@ -385,5 +383,5 @@
     if (co.NumberOfGLONASSSat > 0) {
       char obuffer[CLOCKORBIT_BUFFERSIZE];
-      if (fmod(epoTime.gpssec(), ORBIT_RATE) == 0.0) {
+      if (fmod(epoTime.gpssec(), _samplOrb) == 0.0) {
         int len1 = MakeClockOrbit(&co, COTYPE_GLONASSORBIT, 0, obuffer, sizeof(obuffer));
         if (len1 > 0) {
Index: /trunk/BNC/upload/bncrtnetuploadcaster.h
===================================================================
--- /trunk/BNC/upload/bncrtnetuploadcaster.h	(revision 3586)
+++ /trunk/BNC/upload/bncrtnetuploadcaster.h	(revision 3587)
@@ -40,4 +40,5 @@
   QString        _crdTrafo;
   bool           _CoM;
+  double         _samplOrb;
   double         _dx;
   double         _dy;
