System
Recording series of tests
262 A0534-30.0 HBM: public MGCplus
. . . Recording format
Reading a recorded file
To be able to read and interpret the data in the file, you must be familiar with
the internal format of the file. The data is recorded in a binary file structured
as follows:
The following header data items come before the actual data area:
S File ID (4‐byte LONG) // currently = 6001
S Number of channels (4‐byte LONG)
S Length of a data line (i.e. one measured value for all channels/signals) in
bytes (4‐byte LONG)
S Number of data lines (i.e. measured values/channel) in the file (4‐byte
LONG)
S The data format used to save measured values (4‐byte LONG)
S Sampling rate used to acquire measured values (4‐byte LONG)
S Size of the header area in bytes (4‐byte LONG) // currently = 512
S Reserved (4‐byte LONG)
Then the following items for each channel:
S Channel number (4‐byte LONG)
S Scaling information: Measuring range MR (4‐byte FLOAT)
S Scaling information: Offset (zero offset) OS (4‐byte FLOAT)
S Unit (4‐byte CHARACTER)
S Signal mask (4‐byte LONG)
The signal mask indicates how many values will appear in the data line per
channel:
S Bit 0 set: GROSS signal
S Bit 1 set: NET signal
S Bit 2 set: Peak value 1
S Bit 3 set: Peak value 2
This means that a maximum of 4 consecutive values can be displayed for
each individual channel.