Index: /trunk/BNC/src/bnccaster.cpp =================================================================== --- /trunk/BNC/src/bnccaster.cpp (revision 8118) +++ /trunk/BNC/src/bnccaster.cpp (revision 8119) @@ -207,6 +207,6 @@ !settings.value("outPort").toString().isEmpty() ) { emit( newMessage(QString("%1: Old epoch %2 thrown away") - .arg(staID.data()).arg(string(obs._time).c_str()) - .toAscii(), true) ); + .arg(staID.data()).arg(string(obs._time).c_str()) + .toAscii(), true) ); } } @@ -454,6 +454,9 @@ // (Re-) Start the configuration timer // ----------------------------------- + if (settings.value("onTheFlyInterval").toString() == "no") { + return; + } + int ms = 0; - if (_confInterval != -1) { ms = 1000 * _confInterval; @@ -462,8 +465,7 @@ QTime currTime = currentDateAndTimeGPS().time(); QTime nextShotTime; - if (settings.value("onTheFlyInterval").toString() == "1 min") { - _confInterval = 60; - nextShotTime = QTime(currTime.hour(), currTime.minute()+1, 0); + _confInterval = 60; + nextShotTime = QTime(currTime.hour(), currTime.minute()+1, 0); } else if (settings.value("onTheFlyInterval").toString() == "5 min") { Index: /trunk/BNC/src/bncmain.cpp =================================================================== --- /trunk/BNC/src/bncmain.cpp (revision 8118) +++ /trunk/BNC/src/bncmain.cpp (revision 8119) @@ -95,5 +95,5 @@ " logFile {Logfile, full path [character string]}\n" " rnxAppend {Append files [integer number: 0=no,2=yes]}\n" - " onTheFlyInterval {Configuration reload interval [character string: 1 day|1 hour|5 min|1 min]}\n" + " onTheFlyInterval {Configuration reload interval [character string: no|1 day|1 hour|5 min|1 min]}\n" " autoStart {Auto start [integer number: 0=no,2=yes]}\n" " rawOutFile {Raw output file, full path [character string]}\n" Index: /trunk/BNC/src/bncsettings.cpp =================================================================== --- /trunk/BNC/src/bncsettings.cpp (revision 8118) +++ /trunk/BNC/src/bncsettings.cpp (revision 8119) @@ -80,5 +80,5 @@ setValue_p("logFile", ""); setValue_p("rnxAppend", "0"); - setValue_p("onTheFlyInterval", "1 day"); + setValue_p("onTheFlyInterval", "no"); setValue_p("autoStart", "0"); setValue_p("rawOutFile", ""); Index: /trunk/BNC/src/bncwindow.cpp =================================================================== --- /trunk/BNC/src/bncwindow.cpp (revision 8118) +++ /trunk/BNC/src/bncwindow.cpp (revision 8119) @@ -187,5 +187,5 @@ _onTheFlyComboBox = new QComboBox(); _onTheFlyComboBox->setEditable(false); - _onTheFlyComboBox->addItems(QString("1 day,1 hour,5 min,1 min").split(",")); + _onTheFlyComboBox->addItems(QString("no,1 day,1 hour,5 min,1 min").split(",")); int ii = _onTheFlyComboBox->findText(settings.value("onTheFlyInterval").toString()); if (ii != -1) { @@ -1255,5 +1255,5 @@ _logFileLineEdit->setWhatsThis(tr("
Records of BNC's activities are shown in the 'Log' tab on the bottom of this window. They can be saved into a file when a valid path for that is specified in the 'Logfile (full path)' field.
The logfile name will automatically be extended by a string '_YYMMDD' carrying the current date. [key: logFile]
")); _rnxAppendCheckBox->setWhatsThis(tr("When BNC is started, new files are created by default and file content already available under the same name will be overwritten. However, users might want to append already existing files following a regular restart or a crash of BNC or its platform.
Tick 'Append files' to continue with existing files and keep what has been recorded so far. [key: rnxAppend]
")); - _onTheFlyComboBox->setWhatsThis(tr("When operating BNC online in 'no window' mode, some configuration parameters can be changed on-the-fly without interrupting the running process. For that BNC rereads parts of its configuration in pre-defined intervals.
Select '1 min', '5 min', '1 hour', or '1 day' to force BNC to reread its configuration every full minute, five minutes, hour, or day and let in between edited configuration options become effective on-the-fly without terminating uninvolved threads.Note that when operating BNC in window mode, on-the-fly changeable configuration options become effective immediately via button 'Save & Reread Configuration'. [key: onTheFlyInterval]
")); + _onTheFlyComboBox->setWhatsThis(tr("When operating BNC online in 'no window' mode, some configuration parameters can be changed on-the-fly without interrupting the running process. For that BNC rereads parts of its configuration in pre-defined intervals. The default entry is 'no' that means the reread function is switched of.
Select '1 min', '5 min', '1 hour', or '1 day' to force BNC to reread its configuration every full minute, five minutes, hour, or day and let in between edited configuration options become effective on-the-fly without terminating uninvolved threads.Note that when operating BNC in window mode, on-the-fly changeable configuration options become effective immediately via button 'Save & Reread Configuration'. [key: onTheFlyInterval]
")); _autoStartCheckBox->setWhatsThis(tr("Tick 'Auto start' for auto-start of BNC at startup time in window mode with preassigned processing options. [key: autoStart]
")); _rawOutFileLineEdit->setWhatsThis(tr("Save all data coming in through various streams in the received order and format in one file.
This option is primarily meant for debugging purposes. [key: rawOutFile]
"));