Index: /trunk/BNC/test_bnc_qt.cpp
===================================================================
--- /trunk/BNC/test_bnc_qt.cpp	(revision 732)
+++ /trunk/BNC/test_bnc_qt.cpp	(revision 733)
@@ -57,8 +57,8 @@
 
   QTcpSocket socketObs;
-  QTcpSocket socketEph;
+  ////  QTcpSocket socketEph;
 
   QFile obsFile("obs.txt");
-  QFile ephFile("eph.txt");
+  ////  QFile ephFile("eph.txt");
   
   socketObs.connectToHost("127.0.0.1", 1968);
@@ -68,18 +68,18 @@
   }
 
-  socketEph.connectToHost("127.0.0.1", 1969);
-  if (!socketEph.waitForConnected(10000)) {
-    cout << "socketEph: not connected" << endl;
-    exit(1);
-  }
+  ////  socketEph.connectToHost("127.0.0.1", 1969);
+  ////  if (!socketEph.waitForConnected(10000)) {
+  ////    cout << "socketEph: not connected" << endl;
+  ////    exit(1);
+  ////  }
 
   obsFile.open(QIODevice::WriteOnly | QIODevice::Unbuffered);
-  ephFile.open(QIODevice::WriteOnly | QIODevice::Unbuffered);
+  ////  ephFile.open(QIODevice::WriteOnly | QIODevice::Unbuffered);
 
   QTextStream outObs(&obsFile); 
   outObs.setRealNumberNotation(QTextStream::FixedNotation);
 
-  QTextStream outEph(&ephFile);
-  outEph.setRealNumberNotation(QTextStream::FixedNotation);
+  ////  QTextStream outEph(&ephFile);
+  ////  outEph.setRealNumberNotation(QTextStream::FixedNotation);
 
   // Receive Data
@@ -94,8 +94,8 @@
       exit(0);
     }
-    if (socketEph.state() != QAbstractSocket::ConnectedState) {
-      cout << "socketEph: disconnected" << endl;
-      exit(0);
-    }
+    ////  if (socketEph.state() != QAbstractSocket::ConnectedState) {
+    ////    cout << "socketEph: disconnected" << endl;
+    ////    exit(0);
+    ////  }
 
     if ( socketObs.bytesAvailable() ) {
@@ -125,11 +125,11 @@
     }
 
-    if ( socketEph.bytesAvailable() ) {
-      QByteArray eph = socketEph.readAll();
-      outEph << eph.data() << endl;
-    }
-    else {
-      socketEph.waitForReadyRead(1);
-    }
+    ////  if ( socketEph.bytesAvailable() ) {
+    ////    QByteArray eph = socketEph.readAll();
+    ////    outEph << eph.data() << endl;
+    ////  }
+    ////  else {
+    ////    socketEph.waitForReadyRead(1);
+    ////  }
   }
 
