Index: /trunk/BNS/bns.cpp
===================================================================
--- /trunk/BNS/bns.cpp	(revision 1101)
+++ /trunk/BNS/bns.cpp	(revision 1102)
@@ -384,6 +384,6 @@
             if (sd) {
               QString outLine;
-              processSatellite(oldEph, _caster.at(ic)->crdTrafo(), ep, GPSweek,
-                               GPSweeks, prn, xx, sd, outLine);
+              processSatellite(oldEph, ic, _caster.at(ic)->crdTrafo(), ep, 
+                               GPSweek, GPSweeks, prn, xx, sd, outLine);
               _caster.at(ic)->printAscii(outLine);
             }
@@ -407,6 +407,6 @@
 // 
 ////////////////////////////////////////////////////////////////////////////
-void t_bns::processSatellite(int oldEph, bool trafo, t_eph* ep, int GPSweek, 
-                             double GPSweeks, const QString& prn, 
+void t_bns::processSatellite(int oldEph, int iCaster, bool trafo, t_eph* ep, 
+                             int GPSweek, double GPSweeks, const QString& prn, 
                              const ColumnVector& xx, 
                              struct ClockOrbit::SatData* sd,
@@ -444,5 +444,5 @@
                   ep->IOD(), dClk, rsw(1), rsw(2), rsw(3));
 
-  if (!oldEph) {
+  if (!oldEph && iCaster == 0) {
     if (_rnx) {
       _rnx->write(GPSweek, GPSweeks, prn, xx);
Index: /trunk/BNS/bns.h
===================================================================
--- /trunk/BNS/bns.h	(revision 1101)
+++ /trunk/BNS/bns.h	(revision 1102)
@@ -59,6 +59,6 @@
   void openCaster();
   void readEpoch();
-  void processSatellite(int oldEph, bool trafo, t_eph* ep, int GPSweek, 
-                        double GPSweeks, const QString& prn, 
+  void processSatellite(int oldEph, int iCaster, bool trafo, t_eph* ep, 
+                        int GPSweek, double GPSweeks, const QString& prn, 
                         const ColumnVector& xx, struct ClockOrbit::SatData* sd,
                         QString& outLine);
