Index: /trunk/BNC/bncrawfile.cpp
===================================================================
--- /trunk/BNC/bncrawfile.cpp	(revision 3543)
+++ /trunk/BNC/bncrawfile.cpp	(revision 3544)
@@ -55,5 +55,4 @@
   _fileName   = fileName; expandEnvVar(_fileName);
   _format     = "unset";
-  _staID      = staID;
   _inpFile    = 0;
   _outFile    = 0;
@@ -73,4 +72,5 @@
   // ---------------------
   else {    
+    _staID = staID;
     QDate currDate = currentDateAndTimeGPS().date();
     _currentFileName = _fileName + "_" + currDate.toString("yyMMdd");
