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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

19. <strong>Bernese</strong> Processing Engine (BPE)<br />

BPE CLIENT $BPE/RUNBPE.pm PARAM5<br />

BPE SERVER HOST localhost PARAM6<br />

CAMPAIGN EXAMPLE PARAM7<br />

CAMP DRV $P/ PARAM8<br />

CAMP PTH /home/bernese/<strong>GPS</strong>DATA/ PARAM9<br />

CLIENT ENV $X/EXE/LOAD<strong>GPS</strong>.setvar PCFFIL RNX2SNX.PCF<br />

COMMAND START PID 112<br />

CPU localhost PORT 32776<br />

CPUFIL /home/bernese/<strong>GPS</strong>USER/PAN/CPU.CPU PTH BPELOG /home/bernese/<strong>GPS</strong>DATA/EXAMPLE/BPE/<br />

DAY 23 PTH BPEPRT /home/bernese/<strong>GPS</strong>DATA/EXAMPLE/BPE/<br />

DAYWEEK 4 REQ CPU SLOW<br />

DAYYEAR 143 SCRIPT ORBGEN<br />

DEBUG 1 SESSID 0<br />

EXT BPELOG LOG SESSION 1430<br />

EXT BPEPRT PRT STARTCOUNT 1<br />

<strong>GPS</strong>WEEK 1167 SUB PID 000<br />

MJD 52417 S PTH OPT /home/bernese/<strong>GPS</strong>USER/OPT<br />

MONTH 05 S PTH SCRIPT /home/bernese/<strong>GPS</strong>USER/SCRIPT<br />

NOCLEAN 0 TASKID NN<br />

OPT DIR R2S GEN USER bernese<br />

PARAM1 WAIT FOR 111<br />

PARAM2 YEAR 02<br />

PARAM3 YR 4 2002<br />

PARAM4<br />

3) User-defined Server Variables<br />

Figure 19.9: Server-defined client variables.<br />

The user may define additional variables that are sent to the client together with the general<br />

variables and the standard server variables. Due to compatibility with the previous version<br />

of the BPE the names of the variables defined in process control files must start with “V ”.<br />

There are three ways how to define these variables:<br />

(1) Define the variable directly in the last section of the PCF (see Section 19.5).<br />

(2) Define the variables in ”Menu>BPE>Start BPE process”. The menu program works in such a<br />

way that variables defined in the PCF are displayed and the user may edit the list of<br />

variables arbitrarily. The entered values remain defined until another PCF is edited.<br />

The values entered here have precedence over the values defined in the PCF.<br />

(3) The variables may be defined when starting the BPE in non-interactive mode (see<br />

Section 19.8.2).<br />

Access the variables in user scripts by $$bpe{V xxx}. The user-defined server variables may<br />

be used in panels when preparing the options for the BPE process in the same way as the<br />

user-variables (defined in ”Menu>Configure>Menu variables”). The only difference is that the prefix<br />

“V ” has to be stripped from the variable name. I.e., use $(xxx) for accessing the variable<br />

V xxx in a program panel input field.<br />

19.6.3 Running <strong>Bernese</strong> Programs in User Scripts<br />

The following example shows a very simple script that executes the <strong>Bernese</strong> program<br />

COOVEL. Again the line numbers are not a part of the script:<br />

Page 398 AIUB

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

Saved successfully!

Ooh no, something went wrong!