- Timestamp:
- Apr 28, 2017, 6:20:37 PM (8 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bnccaster.cpp
r7854 r8119 207 207 !settings.value("outPort").toString().isEmpty() ) { 208 208 emit( newMessage(QString("%1: Old epoch %2 thrown away") 209 210 209 .arg(staID.data()).arg(string(obs._time).c_str()) 210 .toAscii(), true) ); 211 211 } 212 212 } … … 454 454 // (Re-) Start the configuration timer 455 455 // ----------------------------------- 456 if (settings.value("onTheFlyInterval").toString() == "no") { 457 return; 458 } 459 456 460 int ms = 0; 457 458 461 if (_confInterval != -1) { 459 462 ms = 1000 * _confInterval; … … 462 465 QTime currTime = currentDateAndTimeGPS().time(); 463 466 QTime nextShotTime; 464 465 467 if (settings.value("onTheFlyInterval").toString() == "1 min") { 466 _confInterval = 60;467 nextShotTime = QTime(currTime.hour(), currTime.minute()+1, 0);468 _confInterval = 60; 469 nextShotTime = QTime(currTime.hour(), currTime.minute()+1, 0); 468 470 } 469 471 else if (settings.value("onTheFlyInterval").toString() == "5 min") { -
trunk/BNC/src/bncmain.cpp
r8084 r8119 95 95 " logFile {Logfile, full path [character string]}\n" 96 96 " rnxAppend {Append files [integer number: 0=no,2=yes]}\n" 97 " onTheFlyInterval {Configuration reload interval [character string: 1 day|1 hour|5 min|1 min]}\n"97 " onTheFlyInterval {Configuration reload interval [character string: no|1 day|1 hour|5 min|1 min]}\n" 98 98 " autoStart {Auto start [integer number: 0=no,2=yes]}\n" 99 99 " rawOutFile {Raw output file, full path [character string]}\n" -
trunk/BNC/src/bncsettings.cpp
r8090 r8119 80 80 setValue_p("logFile", ""); 81 81 setValue_p("rnxAppend", "0"); 82 setValue_p("onTheFlyInterval", " 1 day");82 setValue_p("onTheFlyInterval", "no"); 83 83 setValue_p("autoStart", "0"); 84 84 setValue_p("rawOutFile", ""); -
trunk/BNC/src/bncwindow.cpp
r8099 r8119 187 187 _onTheFlyComboBox = new QComboBox(); 188 188 _onTheFlyComboBox->setEditable(false); 189 _onTheFlyComboBox->addItems(QString(" 1 day,1 hour,5 min,1 min").split(","));189 _onTheFlyComboBox->addItems(QString("no,1 day,1 hour,5 min,1 min").split(",")); 190 190 int ii = _onTheFlyComboBox->findText(settings.value("onTheFlyInterval").toString()); 191 191 if (ii != -1) { … … 1255 1255 _logFileLineEdit->setWhatsThis(tr("<p>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.</p><p>The logfile name will automatically be extended by a string '_YYMMDD' carrying the current date. <i>[key: logFile]</i></p>")); 1256 1256 _rnxAppendCheckBox->setWhatsThis(tr("<p>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.</p><p>Tick 'Append files' to continue with existing files and keep what has been recorded so far. <i>[key: rnxAppend]</i></p>")); 1257 _onTheFlyComboBox->setWhatsThis(tr("<p>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. <p></p>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.</p><p>Note that when operating BNC in window mode, on-the-fly changeable configuration options become effective immediately via button 'Save & Reread Configuration'. <i>[key: onTheFlyInterval]</i></p>"));1257 _onTheFlyComboBox->setWhatsThis(tr("<p>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. <p></p>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.</p><p>Note that when operating BNC in window mode, on-the-fly changeable configuration options become effective immediately via button 'Save & Reread Configuration'. <i>[key: onTheFlyInterval]</i></p>")); 1258 1258 _autoStartCheckBox->setWhatsThis(tr("<p>Tick 'Auto start' for auto-start of BNC at startup time in window mode with preassigned processing options. <i>[key: autoStart]</i></p>")); 1259 1259 _rawOutFileLineEdit->setWhatsThis(tr("<p>Save all data coming in through various streams in the received order and format in one file.</p><p>This option is primarily meant for debugging purposes. <i>[key: rawOutFile]</i></p>"));
Note:
See TracChangeset
for help on using the changeset viewer.