16
ii. Understanding .bin files
The .bin file output when opened will display as the following:
Main header (lines 1 to 59)
Pages of 300 measurements (lines 60 to 72, 73 to 85 etc.)
Each page will have a sub header (e.g., lines 61 to 68)
Data block (e.g., lines 69 to 72)
The time span of a page is dependent on the measurement frequency. Each measurement consists of 3 axis
of acceleration, a light measurement, and the button status. In the page header, the battery voltage and the
temperature are recorded as well as some of the basic set-up information.
The time stamp of the page corresponds to the first measurement of the page. The first 300 measurements
block of the hexadecimal data starts on line 69 of the file. This is a sequential stream of 6-byte data blocks,
starting at the timestamp in the page header.
e f
a 12 bits accelerometer x axis (+/- 2048)*
b 12 bits accelerometer y axis (+/- 2048)*
c 12 bits accelerometer z axis (+/- 2048)*
d 10 bits light meter (0-1024)*
e 1 bit button status (1 on / 0 off)
f 1 bit reserved (set to zero)
The GENEActiv device stores raw data to allow all processing to be completed off-line. Calibration data is created in
production and recorded to be applied in post-processing.
Accelerometer x, y & z axis: calibrated measurement = (output*100 - offset) / gain (g)
Light meter: calibrated measurement = output * lux / volts (lux)