Changeset 1507 in ntrip
- Timestamp:
- Jan 19, 2009, 4:24:53 PM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnchelp.html
r1473 r1507 74 74 </p> 75 75 <p> 76 All options for running BNC on Unix/Linux/Mac systems are saved in file ${HOME}/.config/BKG/BKG_NTRIP_Client.conf, see annexed 'Configuration File ' example. On Windows systems options are saved in register BKG_NTRIP_Client. The self-explaining contents of the configuration file or the Windows register can easily be edited. Some options can be changed on-the-fly.76 All options for running BNC on Unix/Linux/Mac systems are saved in file ${HOME}/.config/BKG/BKG_NTRIP_Client.conf, see annexed 'Configuration File Example'. On Windows systems options are saved in register BKG_NTRIP_Client. The self-explaining contents of the configuration file or the Windows register can easily be edited. Some options can be changed on-the-fly. 77 77 </p> 78 78 <p> … … 142 142 3.15.1. <a href=#nw>No Window Mode</a><br> 143 143 3.15.2. <a href=#post>Offline Mode</a><br> 144 3.15.3. <a href=#conffile>Configuration File</a><br> 144 145 </p> 145 146 … … 149 150 The 'File' button lets you 150 151 <ul> 151 <li> 152 select an appropriate font.<br> 152 <li> select an appropriate font.<br> 153 153 Use smaller font size if the BNC main window exceeds the size of your screen. 154 154 </li> 155 155 <li> save selected options in configuration file resp. Windows register.<br> 156 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 File' for a list of on-the-fly changeable configuration options. 157 </li> 158 <li> 159 quit the BNC program. 156 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 File Example' for a list of on-the-fly changeable configuration options. 157 </li> 158 <li> remove all options from configuration file/register on disk. 159 </li> 160 <li> quit the BNC program. 160 161 </li> 161 162 </ul> … … 208 209 <p><a name="genconf"><h4>3.4.3 Reread Configuration - optional</h4></p> 209 210 <p> 210 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. 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 File ' for a Unix/Linux/Mac configuration 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. 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 File Example' for a Unix/Linux/Mac configuration file example and a list of on-the-fly changeable options. 211 212 </p> 212 213 … … 831 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. 832 833 <p> 833 <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 in 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 File ' for a Unix/Linux/Mac configuration 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 in 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 File Example' for a Unix/Linux/Mac configuration file example and a list of other on-the-fly changeable options. 834 835 </p> 835 836 … … 864 865 <p> 865 866 <ul> 866 <li>'--file <<u> file</u>>' to enter the full path to an input <u>file</u>containing data in RTCM Version 2.x, or Version 3.x, or RTIGS/SOC format.</li>867 <li>'--format <<u>format</u>>' to enter one of the file <u>format</u>describing strings 'RTCM_2', 'RTCM_3' or 'RTIGS'.</li>867 <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> 868 <li>'--format <<u>format</u>>' to enter one of the file format describing strings 'RTCM_2', 'RTCM_3' or 'RTIGS'.</li> 868 869 <li>'--date YYYY-MM-DD' to enter a date for the first epoch.</li> 869 870 <li>'--time HH:MM:SS' to enter a time for the first epoch.</li> … … 875 876 <p> 876 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. 878 </p> 879 880 <p><a name="conffile"><h4>3.15.3 Configuration File - optional</h4></p> 881 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 string at startup time using the command line option '--conf <<u>confFile</u>>'. 882 </p> 883 <p> 884 Example:<br><br> 885 ./bnc --conf myConf 886 </p> 887 <p> 888 This leads to a configuration file 'myConf.conf' and a Windows register 'myConf'. 877 889 </p> 878 890 … … 954 966 8.3. <a href=#rtigs>RTIGS</a><br> 955 967 8.3.1 <a href=#soc>SOC</a><br> 956 8.4. <a href=#config>Configuration File </a><br>968 8.4. <a href=#config>Configuration File Example</a><br> 957 969 8.5. <a href=#links>Links</a><br> 958 970 </p> … … 1165 1177 <p> 1166 1178 </p> 1167 <p><a name="config"><h4>8.4. Configuration File </h4></p>1179 <p><a name="config"><h4>8.4. Configuration File Example</h4></p> 1168 1180 <p> 1169 1181 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' : -
trunk/BNC/bncwindow.cpp
r1504 r1507 89 89 connect(_actSaveOpt, SIGNAL(triggered()), SLOT(slotSaveOptions())); 90 90 91 _actRe setOpt = new QAction(tr("&ResetOptions"),this);92 connect(_actRe setOpt, SIGNAL(triggered()), SLOT(slotResetOptions()));91 _actRemoveOpt = new QAction(tr("&Remove Options"),this); 92 connect(_actRemoveOpt, SIGNAL(triggered()), SLOT(slotRemoveOptions())); 93 93 94 94 _actQuit = new QAction(tr("&Quit"),this); … … 856 856 } 857 857 858 // Reset Options 859 //////////////////////////////////////////////////////////////////////////// 860 void bncWindow::slotResetOptions() { 861 int iRet = QMessageBox::question(this, "Reset", "Remove all options from" 862 " configuration file/register" 863 " saved on disk?", 858 // Remove Options 859 //////////////////////////////////////////////////////////////////////////// 860 void bncWindow::slotRemoveOptions() { 861 int iRet = QMessageBox::question(this, "Remove", "Remove all options from" 862 " configuration file/register on disk?", 864 863 QMessageBox::Yes, QMessageBox::No, 865 864 QMessageBox::NoButton); … … 1109 1108 _menuFile->addAction(_actSaveOpt); 1110 1109 _menuFile->addSeparator(); 1111 _menuFile->addAction(_actRe setOpt);1110 _menuFile->addAction(_actRemoveOpt); 1112 1111 _menuFile->addSeparator(); 1113 1112 _menuFile->addAction(_actQuit); -
trunk/BNC/bncwindow.h
r1487 r1507 68 68 void slotFontSel(); 69 69 void slotSaveOptions(); 70 void slotRe setOptions();70 void slotRemoveOptions(); 71 71 void slotAddMountPoints(); 72 72 void slotGetData(); … … 92 92 QAction* _actFontSel; 93 93 QAction* _actSaveOpt; 94 QAction* _actRe setOpt;94 QAction* _actRemoveOpt; 95 95 QAction* _actQuit; 96 96 QAction* _actGetData;
Note:
See TracChangeset
for help on using the changeset viewer.