7
8.5
A
CCESSING
“
LOG
”
FILES
Log files are stored at the same place as the setup.ini file.
9 DATA FORMAT
The data is sent to the specified FTP server as semi-colon separated CSV files. The file name uploaded consists of a sequence of
characters as follows <series of characters>_<serial number>_<timestamp>.csv. Example:
359804080450847_24_23LC024_20200515115152.csv.
The fields are:
•
typ
: The type of the record, specified by a number:
o
100 for information (radar configuration, clock synchronization, etc.)
o
001 for a measurement,
o
20x for environmental measurement
201 for battery voltage measurement.
•
date and time [UTC]
•
speed [km/h]
•
length [m]
•
range [m]
: Target range (taken perpendicularly to the speed), not used in this version.
•
notes
: Additional information with format KEY = VALUE
Notes:
•
The field separator is “;”.
•
The decimal separator is “,”.
•
Spacing is done with spaces, not tabs
•
The time is in UTC.
•
The speed in in km/h.
•
The length is in m (and is fixed).
•
The line termination is <CR><LF>.
•
Environmental measurement with type "2xx" (currently only the non-operational battery monitoring) should appear
periodically (about every 1 hour).
•
Direction and sign:
o
Positive speeds correspond to targets approaching the detector by its business end.
o
Negative speeds are targets moving in the opposite direction (receding in the radar field of view).
•
The "notes" field has the following format: KEY [= VALUE].
•
The serial number has currently 7 characters, but it would be more future proof to decode it as generic string than a
fixed length one.
TMA-3B3/TMS-SA data example:
typ;date and time [UTC];speed [km/h];length [m];range [m];notes
100; 2019/01/24 16:20:03,120; ; ; ; Serial Number = 1234567
100; 2019/01/24 16:20:03,120; ; ; ; 0x31 = ****************
100; 2019/01/24 16:20:03,120; ; ; ; 0x33 = ****************
100; 2019/01/24 16:20:03,120; ; ; ; 0x35 = ****************
100; 2019/01/24 16:20:03,120; ; ; ; 0x37 = ****************
100; 2019/01/24 16:20:03,120; ; ; ; 0x44 = 0000 0000 0000 0000 0000 0000 0000 0000
100; 2019/01/24 16:20:03,120; ; ; ; 0x2B = 0000 0000 0000 0000 0000 0000 0000 0000
100; 2019/01/24 16:20:03,120; ; ; ; 0xBB = 0000 0000 0000 0000 0000 0000 0000 0000
100; 2019/01/24 16:20:03,120; ; ; ; 0xE1 = 0000 0000 0000 0000 0000 0000 0000 0000
001; 2019/01/24 16:21:03,440; +014,0; 001,8
001; 2019/01/24 16:22:03,990; -016,0; 001,8
001; 2019/01/24 16:24:04,550; +017,0; 001,8
001; 2019/01/24 16:30:02,480; +012,0; 001,8
001; 2019/01/24 16:35:03,020; +014,0; 001,8
201; 2019/01/24 16:40:03,260; ; ; ; Battery voltage = 12,3 V
001; 2019/01/24 16:45:03,570; +014,0; 001,8
001; 2019/01/24 16:50:04,130; +018,0; 001,8
001; 2019/01/24 16:52:05,020; +016,0; 001,8