08.06.2013 Views

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

Bernese GPS Software Version 5.0 - Bernese GNSS Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table 18.3: Keywords for starting the menu in special modes.<br />

18.9 Technical Details<br />

Keyword Description<br />

INP FILE NAME Name of the program input file to be read by the menu<br />

OUT FILE NAME Name of the program output file to be written by the menu<br />

MODUS Execution mode of menu (INTERACTIVE)<br />

If the menu is started with two arguments it normally runs in the<br />

non-interactive mode.<br />

RUN BPE Name of the input file for starting a BPE (${U}/PAN/RUNBPE.INP), see<br />

Section 19.8.2<br />

RESETCPU Name of the CPU-control file to be reset, see Section 19.4<br />

PRINT PID Prints the system process ID of the menu program to the error output<br />

18.9.4 Running the Menu in Special Modes<br />

The menu may either be started in interactive mode (see Section 18.2) or in non-interactive<br />

mode. In non-interactive mode the menu needs a menu command file as an additional<br />

(second) argument:<br />

$XQ/menu.sh $U/PAN/MENU.INP $U/WORK/MENUTASK.INP for UNIX platforms<br />

%XQ%\menu %U%\PAN\MENU.INP %U%\WORK\MENUTASK.INP for Windows platforms<br />

This way of starting the menu is used, e.g., when starting the BPE from the command<br />

line (see Section 19.8.2) or to run the menu in a BPE user-script (see Section 19.6.3). The<br />

auxiliary input file MENUTASK.INP contains information on how the menu shall be started<br />

and what it shall do. The file has to be created manually or with an user-script. The location<br />

and the filename may be defined by the user.<br />

The information in the file MENUTASK.INP is keyword-annotated using the same notation as<br />

in usual panel files. The keywords for special modes of the menu are listed in Table 18.3. In<br />

addition to these keywords it is possible to overwrite the values of any keyword in the input<br />

files MENU.INP, MENU EXT.INP, MENU PGM.INP, and MENU VAR.INP, allowing to modify the<br />

entire configuration of the menu. In the non-interactive start of the BPE, e.g., the active<br />

campaign and session are overwritten by the start script.<br />

The keyword MODUS allows to start the menu in interactive mode, an option which is,<br />

e.g., used in the script RUN<strong>GPS</strong> for starting programs which are not available through the<br />

menu. The script defines the input file name (keyword INP FILE NAME), and the path to the<br />

executables (by overwriting the value of the option “Default program path to the executables”<br />

in panel MENU PGM.INP, ”Menu>Configure>Program names”) using the user’s input.<br />

18.9.5 The MENUAUX-Mechanism<br />

The menu program does not access <strong>Bernese</strong> data files directly in order to avoid the duplication<br />

of file formats in different reading and writing routines (in Fortran and in C++). To<br />

access data files a special mechanism is implemented using the Fortran program MENUAUX.<br />

This allows, e.g., to display selection lists that are generated from input files such as, for<br />

example, station names for datum definition extracted from binary <strong>Bernese</strong> observation files<br />

or from normal equation files. In principle any specialized action may be performed using<br />

this mechanism.<br />

<strong>Bernese</strong> <strong>GPS</strong> <strong>Software</strong> <strong>Version</strong> <strong>5.0</strong> Page 377

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!