How to Read a BMC Luna G3X SD Card
Written by a CPAP user
Your BMC Luna G3X keeps a record of every night on its SD card: when you used it, each breathing event it scored, and readings of pressure and leak for each second of therapy. The screen on the machine shows a summary; the card is where the second-by-second record lives.
What does the Luna G3X save to its SD card?
An index with the machine’s own statistics for each day, an event file with every session and breathing event, and large detail files with a reading of pressure, leak and breathing for every second of therapy. It also writes its current settings, a log of each change to them, and its screen’s language files.
Put a Luna G3X card into a computer or phone and you will not find dated folders. The machine writes its files straight to the top of the card, each named after its serial number:
- The index (.idx) – one record for each day, with the machine’s own statistics: how long you used it, how many sessions there were, the AHI and the rate of each kind of event, and the lowest, highest and average pressure. It also holds the settings the day ended on
- The event file (.evt) – every start and stop of therapy, and every event the machine scored, with the time it began and how long it lasted
- The detail files (.000, .001, .002 and on) – 64 MB each, one record for every second of therapy: the pressure delivered, leak, tidal volume, minute ventilation and respiratory rate, and blood oxygen and pulse when an oximeter is connected
- The settings file (.set) and the log (.log) – the settings as they are now, and a dated record of each change made to them at the machine
- Language files – the machine’s screen in its languages; not therapy data
Nothing on the card opens in a spreadsheet or a text editor: the files are in BMC’s own format, so you need software that understands them.
Which breathing events does the Luna G3X record?
Obstructive apnoeas, central apnoeas, apnoeas it could not classify, hypopnoeas, RERAs and periodic breathing, each with the time it began and how long it lasted. It also writes flow limitation records. The apnoeas and hypopnoeas make up your AHI, the figure the machine works out for each day and stores in its index.
Our guide to AHI explains what the number means. CPAP Analysis does not read the flow limitation records.
How far back does a Luna G3X card go?
About 570 hours of therapy in full detail, which is around two and a half months at seven or eight hours a night. The detail files are a loop: once they are full, the machine starts again at the first one and writes over the oldest nights. The card we studied held 63 detail files.
A night that has been written over is not lost entirely. The index and the event file still hold its sessions, its events and its hours of use. What goes is the second-by-second detail, so there are no pressure or leak charts for that night.
If you want charts for every night, read the card every month or two.
How do I take the SD card out of a Luna G3X?
Wait until therapy has stopped, ideally in the morning once you are up, and take the card out. Read it, then put it back before bed. Your user manual shows where the card slot is on your machine and how the card comes out. Before you put it back, check the machine’s date and time are right.
Why the clock matters: every record on the card is stamped by the machine’s own clock. If the clock has lost its setting, the night is written with a date in the year 2000, and no software can tell which night it really was.
How do I read a Luna G3X card on an iPhone, iPad or Mac?
Put the card in an SD card reader, open CPAP Analysis and import the whole card. On an iPhone 15 or newer use a USB-C reader; on an iPhone 14 or older, a Lightning one. A Mac can use its own SD slot if it has one. The app reads the card on your device, with no account.
- Plug the reader into your device and put the card in the reader.
- Open CPAP Analysis and tap Import Now.
- In the file browser, choose the SD card under Locations and tap Open (click on a Mac). There is no folder to open inside it. The card’s files show greyed out, which is expected: you are choosing the card itself.
The app only reads the card: it never changes or deletes anything on it. For more on readers and the steps, see our guide to reading CPAP data on iPhone. CPAP Analysis is a free download with a 3-day free trial, then a subscription.
On a computer: OSCAR (Open Source CPAP Analysis Reporter) is free desktop software for Windows, macOS and Linux. It reads Luna G3X cards; we compared the card we studied with OSCAR 2.0.1.
What does CPAP Analysis show from a Luna G3X?
Each night’s sessions and hours of use, and each apnoea, hypopnoea, RERA and stretch of periodic breathing on a timeline, with your AHI. For every night the card still holds in full, it also charts pressure, leak, respiratory rate, tidal volume and minute ventilation once a second, and oxygen and pulse when an oximeter was connected.
- Settings – the mode, the lowest and highest pressure, the starting pressure and the ramp time
- Oxygen and pulse – when an oximeter was connected (not yet checked on a real card)
It does not draw the breath-by-breath flow wave, and it does not read the machine’s flow limitation records or its humidifier settings.
Why do some Luna G3X nights import without charts?
Because their second-by-second detail is missing or could not be checked. Nights the loop has written over, and nights recorded on firmware the app has not been checked against, are imported from the machine’s own record, with their sessions, events and hours of use, but no pressure or leak charts.
A night dated before 2001 is left out altogether. It was recorded while the machine’s clock was unset, and its real date is not on the card.
Before a night is charted, its detail is checked against the hours of use the machine recorded. If the detail holds less, the night is imported without charts. If it holds more, something has been misread, and the night is left out.
How does CPAP Analysis know its numbers are right?
The Luna G3X writes its own statistics for each day in its index, apart from the events and the detail files. On the card we studied, those figures agreed with what the app read: hours of use, sessions and the rate of each kind of event. OSCAR’s reading of the same card agreed on every night that could be compared.
Across the card’s 78 nights, the app read 595.5 hours and an AHI of 2.70, against the machine’s own 596.1 hours and 2.69.
Which Luna machines does CPAP Analysis read?
Of the Luna range, only the Luna G3X. CPAP Analysis reads a machine once it has been checked against a real card from it, and the Luna G3X has been. The app also reads the BMC G2S A20, which writes its card in an older format and has its own page.
Other Luna models, the Luna G3 among them, are not read, and neither are the RESmart and Resvent’s iBreeze. Not every machine sold under the G3X name writes its card the same way, so the app looks at the card’s index to see which machine wrote it. If it is one the app has not been checked against, the app says so and imports nothing.
The supported machines page lists every machine the app reads and where the others stand.
Can I open the Luna G3X’s files myself?
No. They are binary files in BMC’s own format, so a text editor or spreadsheet shows nothing you can read. To see your nights you need an app that knows the format: CPAP Analysis on an iPhone, iPad or Mac, or OSCAR on a computer.
If you copy the card to a computer as a backup, copy every file: the index, the event file and the detail files all belong together.