M ET E K
M ic r o R a i n R a d a r M R R - 2
42
10.2010 Valid for MRR Service Version ≥ 5.2.0.9
7.1
Communication-, Data-, and Error-Service (CDES)
7.1.1 Communication Service
This service is needed for the communication between the control program
user interface (CPUI) and the control port of the MRR-2
, which
is implemented
as a serial interface. With CDES the system settings of the MRR-2 can be re-
trieved and any changes entered by the user are translated to the correspond-
ing commands and transmitted to the MRR-2. (Factory setting of the serial port
of the MRR-2 is 57600 baud, 8 bit, no parity, XON/XOFF handshake protocol.)
7.1.2 Data Recording
The second function of CDES is the recording of the “averaged” or “instanta-
neous” measured data of the MRR-2. The data is ASCII formatted, so that it is
directly readable.
CDES creates one file each day, whose name is constructed from the actual
month, the day (2 characters each) and an additional extension. The boundary
between two days is defined as 0:00 (selected time zone including UTC). The
file name extension is
.MRR
.
All files of a month are stored in a separate directory which will be created au-
tomatically if it is not already existing. The names of the directories are con-
structed from the actual year (4 digits) and the respective month (2 digits).
The path names for the data registration and the port settings may be changed
with the MS registry editor regedit.exe at the key
HKEY_LOCAL_MACHINE\
System\
CurrentControlSet\
Services\
MrrSrvc\
Parameters
The variables of this key are shown with their default settings. Change the un-
derlined values, if necessary :
Port
REG_SZ
COM1
BaudRate
REG_DWORD
57600
AveragedDataFile
REG_EXPAND_SZ
%MetekRoot%\ActData\Data%s
AveragedDataPath
REG_EXPAND_SZ
%MetekRoot%\Data
InstantaneousDataFile REG_EXPAND_SZ
%MetekRoot%\ActData\InstData%s
InstantaneousDataPath REG_EXPAND_SZ
%MetekRoot%\InstData
The common root directory is defined by the environmental variable