Changeset 1541 in ntrip for trunk


Ignore:
Timestamp:
Jan 26, 2009, 3:38:35 PM (16 years ago)
Author:
weber
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnchelp.html

    r1519 r1541  
    7474</p>
    7575<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.
     76As 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>
     78The 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.
    8379</p>
    8480<p>
     
    159155Use smaller font size if the BNC main window exceeds the size of your screen.
    160156</li>
    161 <li> save selected options in configuration file resp. Windows register.<br>
     157<li> save selected options in configuration file.<br>
    162158When 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.
    165159</li>
    166160<li> quit the BNC program.
     
    215209<p><a name="genconf"><h4>3.4.3 Reread Configuration - optional</h4></p>
    216210<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/Mac configuration file example and a list of on-the-fly changeable options.
     211When 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.
    218212</p>
    219213
     
    557551</p>
    558552<p>
    559 When selecting the serial communication options listed below, make sure that you pick those confiured to the serial connected device.
     553When selecting the serial communication options listed below, make sure that you pick those configured to the serial connected device.
    560554</p>
    561555
     
    838832<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.
    839833<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/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 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.
    841835</p>
    842836
     
    853847<p><a name="cmd"><h4>3.15. Command Line Options</h4></p>
    854848<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'.
     849Command 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'.
    856850</p>
    857851
    858852<p><a name="nw"><h4>3.15.1 No Window Mode - optional</h4></p>
    859853<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/register on disk. Terminate BNC using Windows Task Manager when running it in 'no window' mode on Windows systems.
     854Apart 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.
    861855</p>
    862856<p>
     
    871865<p>
    872866<ul>
    873 <li>'--file &#060;<u>inputFile</u>&#062;' 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 &#060;<u>inputFileName</u>&#062;' 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>
    874868<li>'--format &#060;<u>format</u>&#062;' to enter one of the file format describing strings 'RTCM_2', 'RTCM_3' or 'RTIGS'.</li>
    875869<li>'--date YYYY-MM-DD' to enter a date for the first epoch.</li>
     
    881875</p>
    882876<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.
     877Note 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.
    884878</p>
    885879
    886880<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 &#060;<u>confFile</u>&#062;'. This allows to run several BNC jobs in parallel on the same host using differen sets of configuration options.
     881The default configuration file name is 'BNC.ini'. You may change this name at startup time using the command line option '--conf &#060;<u>confFileName</u>&#062;'. 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.
    888882</p>
    889883<p>
    890884Example:<br><br>
    891 ./bnc --conf MyConfig
     885./bnc --conf MyConfig.ini
    892886</p>
    893887<p>
    894 This leads to a BNC job using configuration file 'MyConfig.conf' or the Windows configuration register 'MyConfig'.
     888This leads to a BNC job using configuration file 'MyConfig.ini'. The configuration file will be saved in the current working directory.
    895889</p>
    896890
     
    981975<tr><td>Apr 2008 &nbsp;</td><td>Version 1.5 &nbsp;</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>
    982976<tr><td>Dec 2008 &nbsp;</td><td>Version 1.6 &nbsp;</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 &nbsp;</td><td>Version 1.7 &nbsp;</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 &nbsp;</td><td>Version 1.7 &nbsp;</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>
    984978</table>
    985979</p>
     
    11801174<p><a name="config"><h4>8.4. Configuration Example</h4></p>
    11811175<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' :
     1176The 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' :
    11831177<pre>
    11841178[General]
     
    12301224</p>
    12311225<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:
     1226Note that the following configuration options saved on disk can be changed/edited on-the-fly while BNC is already processing data:
    12361227</p>
    12371228<p>
  • trunk/BNC/bncwindow.cpp

    r1535 r1541  
    8989  _actSaveOpt = new QAction(tr("&Save && Activate Options"),this);
    9090  connect(_actSaveOpt, SIGNAL(triggered()), SLOT(slotSaveOptions()));
    91 
    92   _actRemoveOpt = new QAction(tr("&Remove Options"),this);
    93   connect(_actRemoveOpt, SIGNAL(triggered()), SLOT(slotRemoveOptions()));
    9491
    9592  _actQuit  = new QAction(tr("&Quit"),this);
     
    857854}
    858855
    859 // Remove Options
    860 ////////////////////////////////////////////////////////////////////////////
    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 
    873856// Save Options
    874857////////////////////////////////////////////////////////////////////////////
     
    11101093  _menuFile->addAction(_actSaveOpt);
    11111094  _menuFile->addSeparator();
    1112   _menuFile->addAction(_actRemoveOpt);
    1113   _menuFile->addSeparator();
    11141095  _menuFile->addAction(_actQuit);
    11151096
  • trunk/BNC/bncwindow.h

    r1507 r1541  
    6868    void slotFontSel();
    6969    void slotSaveOptions();
    70     void slotRemoveOptions();
    7170    void slotAddMountPoints();
    7271    void slotGetData();
     
    9291    QAction*   _actFontSel;
    9392    QAction*   _actSaveOpt;
    94     QAction*   _actRemoveOpt;
    9593    QAction*   _actQuit;
    9694    QAction*   _actGetData;
Note: See TracChangeset for help on using the changeset viewer.