- Timestamp:
- Jan 26, 2009, 3:38:35 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnchelp.html
r1519 r1541 74 74 </p> 75 75 <p> 76 All configuration files for running BNC on Unix/Linux/Mac systems are saved in directory ${HOME}/.config/BKG. The default configuration file name there is 'BKG_NTRIP_Client' with suffix '.conf'. 77 </p> 78 <p> 79 On Windows systems all configurations for running BNC are saved in register HKEY_CURRENT_USER/Software/BKG. The default configuration register name there is 'BKG_NTRIP_Client. 80 </p> 81 <p> 82 The default 'BKG_NTRIP_Client' can be changed. The contents of configuration files/registers can easily be edited. Some options can be changed on-the-fly. See annexed 'Configuration Example' for a complete set of saved configuration options. 76 As a default, configuration files for running BNC on Unix/Linux/Mac systems are saved in directory '${HOME}/.config/BKG'. On Windows systems, they are typically saved in directory 'C:/Documents and Settings/Username/.config/BKG'. The default configuration file name is 'BNC.ini'.</p> 77 <p> 78 The default file name 'BNC.ini' can be changed and the file contents can easily be edited. On graphic systems it is possible to Drag & Drop a configuration file icon to start BNC. Some configuration options can be changed on-the-fly. See annexed 'Configuration Example' for a complete set of configuration options. 83 79 </p> 84 80 <p> … … 159 155 Use smaller font size if the BNC main window exceeds the size of your screen. 160 156 </li> 161 <li> save selected options in configuration file resp. Windows register.<br>157 <li> save selected options in configuration file.<br> 162 158 When using 'Save & Activate Options' while BNC is already processing data, some configuration options become immediately effective on-the-fly without interrupting uninvolved threads. See annexed section 'Configuration Example' for a list of on-the-fly changeable configuration options. 163 </li>164 <li> remove all options from configuration file/register on disk.165 159 </li> 166 160 <li> quit the BNC program. … … 215 209 <p><a name="genconf"><h4>3.4.3 Reread Configuration - optional</h4></p> 216 210 <p> 217 When operating BNC online in 'no window' mode (command line option -nw), some configuration options can nevertheless be changed on-the-fly without interrupting the running process. For that you force the program to reread parts of its configuration in pre-defined intervals from the disk. Select '1 min', '1 hour', or '1 day' to let BNC reread on-the-fly changeable configuration options every full minute, hour, or day. This lets in between edited options become effective without interrupting uninvolved threads. See annexed section 'Configuration Example' for a Unix/Linux/Macconfiguration file example and a list of on-the-fly changeable options.211 When operating BNC online in 'no window' mode (command line option -nw), some configuration options can nevertheless be changed on-the-fly without interrupting the running process. For that you force the program to reread parts of its configuration in pre-defined intervals from the disk. Select '1 min', '1 hour', or '1 day' to let BNC reread on-the-fly changeable configuration options every full minute, hour, or day. This lets in between edited options become effective without interrupting uninvolved threads. See annexed section 'Configuration Example' for a configuration file example and a list of on-the-fly changeable options. 218 212 </p> 219 213 … … 557 551 </p> 558 552 <p> 559 When selecting the serial communication options listed below, make sure that you pick those confi ured to the serial connected device.553 When selecting the serial communication options listed below, make sure that you pick those configured to the serial connected device. 560 554 </p> 561 555 … … 838 832 <u>Window mode:</u> Hit 'Save & Activate Options' while BNC is in window mode and already processing data to let changes of your streams selection immediately become effective. 839 833 <p> 840 <u>No window mode:</u> When operating BNC online in 'no window' mode (command line option -nw), you force BNC to reread its 'mountPoints' configuration option from disk at pre-defined intervals. Select '1 min', '1 hour', or '1 day' as 'Reread configuration' option to reread the 'mountPoints' option every full minute, hour, or day. This lets a 'mountPoints' option edited in between in the configuration file or Windows register become effective without terminating uninvolved threads. See annexed section 'Configuration Example' for a Unix/Linux/Macconfiguration file example and a list of other on-the-fly changeable options.834 <u>No window mode:</u> When operating BNC online in 'no window' mode (command line option -nw), you force BNC to reread its 'mountPoints' configuration option from disk at pre-defined intervals. Select '1 min', '1 hour', or '1 day' as 'Reread configuration' option to reread the 'mountPoints' option every full minute, hour, or day. This lets a 'mountPoints' option edited in between in the configuration file become effective without terminating uninvolved threads. See annexed section 'Configuration Example' for a configuration file example and a list of other on-the-fly changeable options. 841 835 </p> 842 836 … … 853 847 <p><a name="cmd"><h4>3.15. Command Line Options</h4></p> 854 848 <p> 855 Command line options are available to run BNC in 'no window' mode or let it read data from a file in offline mode. BNC will then use processing options from the configuration file (Unix/Linux/Mac) or from the Windows register. Note that the self-explaining contents of the configuration file or the Windows register can easily be edited. It is possible to introduce a specific configuration file/register name instead of using the default name 'BKG_NTRIP_Client'.849 Command line options are available to run BNC in 'no window' mode or let it read data from a file in offline mode. BNC will then use processing options from the configuration file. Note that the self-explaining contents of the configuration file can easily be edited. It is possible to introduce a specific configuration file name instead of using the default name 'BNC.ini'. 856 850 </p> 857 851 858 852 <p><a name="nw"><h4>3.15.1 No Window Mode - optional</h4></p> 859 853 <p> 860 Apart from its regular windows mode, BNC can be started on all systems as a background/batch job with command line option '-nw'. BNC will then run in 'no window' mode, using processing options from its configuration file /registeron disk. Terminate BNC using Windows Task Manager when running it in 'no window' mode on Windows systems.854 Apart from its regular windows mode, BNC can be started on all systems as a background/batch job with command line option '-nw'. BNC will then run in 'no window' mode, using processing options from its configuration file on disk. Terminate BNC using Windows Task Manager when running it in 'no window' mode on Windows systems. 861 855 </p> 862 856 <p> … … 871 865 <p> 872 866 <ul> 873 <li>'--file <<u>inputFile </u>>' to enter the full path to an input file containing data in RTCM Version 2.x, or Version 3.x, or RTIGS/SOC format.</li>867 <li>'--file <<u>inputFileName</u>>' to enter the full path to an input file containing data in RTCM Version 2.x, or Version 3.x, or RTIGS/SOC format.</li> 874 868 <li>'--format <<u>format</u>>' to enter one of the file format describing strings 'RTCM_2', 'RTCM_3' or 'RTIGS'.</li> 875 869 <li>'--date YYYY-MM-DD' to enter a date for the first epoch.</li> … … 881 875 </p> 882 876 <p> 883 Note that it is necessary to define a date and time for the first epoch because RTCM streams do not contain complete time stamps as needed for RINEX. Note further that when running BNC in offline mode, it will use options for file saving, interval, sampling etc. from its configuration file /register.877 Note that it is necessary to define a date and time for the first epoch because RTCM streams do not contain complete time stamps as needed for RINEX. Note further that when running BNC in offline mode, it will use options for file saving, interval, sampling etc. from its configuration file. 884 878 </p> 885 879 886 880 <p><a name="conffile"><h4>3.15.3 Configuration File - optional</h4></p> 887 The default configuration file name on Unix/Linux/Mac systems is 'BKG_NTRIP_Client' with suffix '.conf'. On Windows systems the configuration is saved in register 'BKG_NTRIP_Client'. You may change the configuration file/register name at startup time using the command line option '--conf <<u>confFile</u>>'. This allows to run several BNC jobs in parallel on the same host using differen sets of configuration options.881 The default configuration file name is 'BNC.ini'. You may change this name at startup time using the command line option '--conf <<u>confFileName</u>>'. This allows to run several BNC jobs in parallel on the same host using different sets of configuration options. <u>confFileName</u> stands either for the full path to a configuration file or just for a file name. If you introduce only a filename, the corresponding file will be saved in the current working directory from where BNC is started. 888 882 </p> 889 883 <p> 890 884 Example:<br><br> 891 ./bnc --conf MyConfig 885 ./bnc --conf MyConfig.ini 892 886 </p> 893 887 <p> 894 This leads to a BNC job using configuration file 'MyConfig. conf' or the Windows configuration register 'MyConfig'.888 This leads to a BNC job using configuration file 'MyConfig.ini'. The configuration file will be saved in the current working directory. 895 889 </p> 896 890 … … 981 975 <tr><td>Apr 2008 </td><td>Version 1.5 </td><td>[Add] Handle ephemeris from RTCM Version 3.x streams<br> [Add] Upgrade to Qt Version 4.3.2<br> [Add] Optional RINEX v3 output<br> [Add] SBAS support<br> [Bug] RINEX skeleton download following stream outage<br> [Add] Handle ephemeris from RTIGS streams<br> [Add] Monitor stream failure/recovery and latency<br> [Mod] Redesign of main window<br> [Bug] Freezing of About window on Mac systems<br> [Bug] Fixed problem with PRN 32 in RTCMv2 decoder<br> [Bug] Fix for Trimble 4000SSI receivers in RTCMv2 decoder<br> [Mod] Major revision of input buffer in RTCMv2 decoder</td></tr> 982 976 <tr><td>Dec 2008 </td><td>Version 1.6 </td><td>[Mod] Fill blanc columns in RINEXv3 with 0.000<br> [Add] RTCMv3 decoder for clock and orbit corrections<br>[Add] Check RTCMv3 streams for incoming message types<br> [Add] Decode RTCMv2 message types 3, 20, 21, and 22<br> [Add] Loss of lock and lock time indicator<br> [Bug] Rounding error in RTCMv3 decoder concerning GLONASS height<br> [Mod] Accept GLONASS in RTCMv3 when transmitted first<br> [Add] Leap second 1 January 2009<br> [Add] Offline mode, read data from file<br> [Add] Output antenna descriptor, coordinates and excentricities from RTCMv3<br> [Add] Reconfiguration on-the-fly<br> [Mod] Binary ouput of synchronized observations<br> [Add] Binary output of unsynchronized observations<br> [Bug] Fixed problem with joined RTCMv3 blocks</td></tr> 983 <tr><td>Jan 2009 </td><td>Version 1.7 </td><td>[Mod] NTRIP v1 source-table request<br> [Bug] RINEX navigation file format <br> [Add] Upgrade to Qt Version 4.4.3<br> [Add] Support of NTRIP v2<br> [Add] Rover support via serial port<br> [Add] Show broadcaster table from www.rtcm-ntrip.org<br> [Add] Enable/disable tab widgets<br> [Add] Change default configuration file/register name<br> [ Add] Remove configuration file/register contents</td></tr>977 <tr><td>Jan 2009 </td><td>Version 1.7 </td><td>[Mod] NTRIP v1 source-table request<br> [Bug] RINEX navigation file format <br> [Add] Upgrade to Qt Version 4.4.3<br> [Add] Support of NTRIP v2<br> [Add] Rover support via serial port<br> [Add] Show broadcaster table from www.rtcm-ntrip.org<br> [Add] Enable/disable tab widgets<br> [Add] Change default configuration file/register name<br> [mod] Switch to configuration files in iniFormat</td></tr> 984 978 </table> 985 979 </p> … … 1180 1174 <p><a name="config"><h4>8.4. Configuration Example</h4></p> 1181 1175 <p> 1182 The following is an example for the contents of a Unix/Linux/Mac configuration file ${HOME}/.config/BKG/BKG_NTRIP_Client.conf. It enables the retrieval of stream ACOR0 form www.euref-ip.net and FFMJ3 from www.igs-ip.net for the generation of 15 min RINEX files. RINEX files are uploaded to an archive using script 'up2archive' :1176 The following is an example for the contents of a configuration file 'BNC.ini'. It enables the retrieval of stream ACOR0 form www.euref-ip.net and FFMJ3 from www.igs-ip.net for the generation of 15 min RINEX files. RINEX files are uploaded to an archive using script 'up2archive' : 1183 1177 <pre> 1184 1178 [General] … … 1230 1224 </p> 1231 1225 <p> 1232 Note that on Windows systems configuration options are saved in register BKG_NTRIP_Client. 1233 </p> 1234 <p> 1235 Note further that the following configuration options saved on disk can be changed/edited on-the-fly while BNC is already processing data: 1226 Note that the following configuration options saved on disk can be changed/edited on-the-fly while BNC is already processing data: 1236 1227 </p> 1237 1228 <p> -
trunk/BNC/bncwindow.cpp
r1535 r1541 89 89 _actSaveOpt = new QAction(tr("&Save && Activate Options"),this); 90 90 connect(_actSaveOpt, SIGNAL(triggered()), SLOT(slotSaveOptions())); 91 92 _actRemoveOpt = new QAction(tr("&Remove Options"),this);93 connect(_actRemoveOpt, SIGNAL(triggered()), SLOT(slotRemoveOptions()));94 91 95 92 _actQuit = new QAction(tr("&Quit"),this); … … 857 854 } 858 855 859 // Remove Options860 ////////////////////////////////////////////////////////////////////////////861 void bncWindow::slotRemoveOptions() {862 863 int iRet = QMessageBox::question(this, "Remove", "Remove"864 " options from disk?",865 QMessageBox::Yes, QMessageBox::No,866 QMessageBox::NoButton);867 if (iRet == QMessageBox::Yes) {868 bncSettings settings;869 settings.remove("");870 }871 }872 873 856 // Save Options 874 857 //////////////////////////////////////////////////////////////////////////// … … 1110 1093 _menuFile->addAction(_actSaveOpt); 1111 1094 _menuFile->addSeparator(); 1112 _menuFile->addAction(_actRemoveOpt);1113 _menuFile->addSeparator();1114 1095 _menuFile->addAction(_actQuit); 1115 1096 -
trunk/BNC/bncwindow.h
r1507 r1541 68 68 void slotFontSel(); 69 69 void slotSaveOptions(); 70 void slotRemoveOptions();71 70 void slotAddMountPoints(); 72 71 void slotGetData(); … … 92 91 QAction* _actFontSel; 93 92 QAction* _actSaveOpt; 94 QAction* _actRemoveOpt;95 93 QAction* _actQuit; 96 94 QAction* _actGetData;
Note:
See TracChangeset
for help on using the changeset viewer.