IEFIS.REC File Format?

Post here anything related to the MGL EFIS systems
Forum rules
Please keep your posts friendly and on topic. No politics or discussions of a controversial nature not related to our favorite subject of flying and avionics. Offending posts may be removed or moderated.
Post Reply
mherweyer@gmail.com
Posts: 7
Joined: Sat Nov 28, 2020 9:40 pm

IEFIS.REC File Format?

Post by mherweyer@gmail.com »

Is there a document that describes the format of the IEFIS.REC file?

I am starting to use the Savvy analysis tools, but they have a limitation of only being to handle a single flight in the IEFIS.REC file, and that defeats the whole purpose of storing a multitude of flights on the IEFIS.REC file from a micro-SD card longevity perspective.

My goal is to write a parser (unless one already exists) that can split a single IEFIS.REC file into multiple .REC files, each with a single flight.

Any guidance is appreciated!
rainier
Site Admin
Posts: 701
Joined: Fri Aug 28, 2020 7:03 pm

Re: IEFIS.REC File Format?

Post by rainier »

The file format is simple: It is exactly the same data as sent through the RS232 backbox data feed (if enabled). The data is in sectors of 512 bytes each (like a disk). The first four bytes is a time stamp (applied at every sector start) and the remaining 508 bytes is the data. You can use the Blackbox datafeed document to interpret the data.
You would start by scanning for the oldest time stamp. That is the oldest sector - start here. The data here may start with the last part of a previous message so just look for the next start of message. Whenever there is a larger gap between time stamps a new flight would have started. Wrap around at the end and continue at the beginning until you processed all sectors.
mherweyer@gmail.com
Posts: 7
Joined: Sat Nov 28, 2020 9:40 pm

Re: IEFIS.REC File Format?

Post by mherweyer@gmail.com »

I wondered if that just might be the case.

Really appreciate the direction!
Linn Walters
Posts: 3
Joined: Sun Sep 12, 2021 12:38 pm

Re: IEFIS.REC File Format?

Post by Linn Walters »

Trying to get my enigma.rec file uploaded to Savvy. Might have found a bug on their website .... they're working on it. Do you have the mapping names for the enigma.rec? I'm anal about not reinventing the wheel!!! :lol:
Still_Learning
Posts: 4
Joined: Sat May 18, 2024 9:43 am

Re: IEFIS.REC File Format?

Post by Still_Learning »

Linn Walters wrote: Fri Oct 27, 2023 12:08 am Trying to get my enigma.rec file uploaded to Savvy. Might have found a bug on their website .... they're working on it. Do you have the mapping names for the enigma.rec? I'm anal about not reinventing the wheel!!! :lol:
Did you come right - I just tried the same and it returned an ERROR.
Cheers
Andrew
Still_Learning
Posts: 4
Joined: Sat May 18, 2024 9:43 am

Re: IEFIS.REC File Format?

Post by Still_Learning »

rainier wrote: Mon Sep 13, 2021 11:32 am The file format is simple: It is exactly the same data as sent through the RS232 backbox data feed (if enabled). The data is in sectors of 512 bytes each (like a disk). The first four bytes is a time stamp (applied at every sector start) and the remaining 508 bytes is the data. You can use the Blackbox datafeed document to interpret the data.
You would start by scanning for the oldest time stamp. That is the oldest sector - start here. The data here may start with the last part of a previous message so just look for the next start of message. Whenever there is a larger gap between time stamps a new flight would have started. Wrap around at the end and continue at the beginning until you processed all sectors.
Hi Rainier
Just checking that the document you refer to here is the MGL EFIS Data Feed document on the MGL website?
I've been trying to process the .FLT and IEFIS.DAT files using this doc, and the only info I can match from the Primary Flight Data message is the day, month and year (the message header matches perfectly)

Would be really great if you could send something my way - end goal is a tool that gives back to the community.

Cheers
Andrew
rainier
Site Admin
Posts: 701
Joined: Fri Aug 28, 2020 7:03 pm

Re: IEFIS.REC File Format?

Post by rainier »

Yes that is the correct document.
Post Reply