ExpeditionExpedition Navigation Software


Click Here for Expedition Assistant - AI Chatbot

You are not logged in. Would you like to login or register?

6/20/2026 12:16 am  #1


Flushing the log buffer without restarting Expedition

I'm building a weather model scoring tool that compares forecasts with measured data, reading from Expedition's daily log file while Expedition is running.I can copy and read the file fine, but I'm seeing that data is written in batches; significant amounts of recent logging only appear on disk when I restart Expedition.

So there's a buffer somewhere, either in Expedition itself or in the OS file system cache, holding writes back.

My question: Is there any way to trigger a flush of pending log data to disk without closing Expedition? A menu action, a hotkey, a DLL call, anything?For my use case, near-real-time access is preferable, but even a deterministic flush would be workable. Restarting Expedition mid-race isn't an option.

I'm aware ExpDLL exposes current values via GetExpVar(), but I need historical time-series with timestamps across hours, so file access is the right path - I just need to know how to get the buffered data out without a restart.

Boat: J/99, B&G H5000 → Expedition on Windows 11.

Last edited by blur (6/20/2026 1:19 am)

 

6/20/2026 2:31 pm  #2


Re: Flushing the log buffer without restarting Expedition

It will be a Windows file system things.

Currently there isn't anything in Exp to force a flush.

 

6/21/2026 2:48 pm  #3


Re: Flushing the log buffer without restarting Expedition

There is now a function to flush the log data in the next update.

 

Board footera




Check out RaceData for iOS and Android. Expedition data in the palm of your hand, or on your wrist! RaceData

Interested in advertising here? Over one thousand active navigators and Expedition users visit this forum. Click here to contact the administrator.