• Site Supporter

Philips Respironics System One REMstar Pro file format

This area is for CPAP Mask and CPAP Machine Related Questions used in the treatment of Sleep Apnea.

Philips Respironics System One REMstar Pro file format

Postby rdrd » Mon Sep 20, 2010 8:24 am

I am looking for any information and/or ideas people may have about the file formats of the files created by the Philips Respironics System One REMstar Pro C-Flex+ CPAP machine.

I have recently been diagnosed with Sleep Apnea and have started using a REMstar Pro C-Flex+ machine. I looked into getting the software (Encore) for analyzing the therapy data that the machine records during operation, but found it to be too expensive. I also feel that the software should come with the machine and don't feel that it would be right to pay for it on top of the price of the machine. I found a free program called MyEncore but it requires the Encore software to already be present, apparently because it just visualizes data that Encore has generated after analyzing the raw files created by the machine.

I decided to take a look at the files produced by the machine, so I read the contents of the SD card onto a computer (the SD card used by the machine has a standard UDF filesystem on it). I found the following structure:

/P-Series/<serial number>/properties.txt
/P-Series/<serial number>/p0/0000000001.001
/P-Series/<serial number>/p0/0000000001.002
/P-Series/<serial number>/p0/0000000001.005
/P-Series/<serial number>/p0/0000000002.001
/P-Series/<serial number>/p0/0000000002.002
/P-Series/<serial number>/p0/0000000002.005
/P-Series/<serial number>/p0/...

The content of some of these files is easy to determine:

<serial number>: The letter "P" followed by a 12 digit hex number.

last.txt: Pointer to the <serial number> folder where current records are stored.

propterties.txt: Human readable list of unit specific values: SerialNumber, ModelNumber, ProductType, DataFormat, DataFormatVersion, Family, FamilyVersion, SoftwareVersion, FirstDate, LastDate=, BasicKey, DetailsKey, ErrorKey, PatientFolderNum, PatientFileNum, EquipFileNum, ValidCheck

.001: ?

.002: ?

.005: A series of 1-byte signed integer samples.

Each set of files consists of a .001, a .002 and a .005 file. I presume that each set consists of what the machine considers a therapy session. That is, from usage starts and until it stops or until the Ramp button is pushed.

The main bulk of data is stored in the .005 files. A quick look at these files in a hex editor showed what looked like a 24 byte header followed by a series of 1-byte signed integers. This file can be imported into audio editors such as Audacity using the raw import function and setting the sample size to 1-byte signed integers. The resulting curve shows was looks like breathing patterns, so presumably the samples are from the pressure in the machine.

I have not looked closely at the header data in the .005 files or the data in the .001 and .002 files, but this data looks like it will be much harder to reverse engineer than the sample data in the .005 files. Since the sample data is unencrypted, I don't think any of the other data is encrypted either.

Any feedback and speculation on the contents of these files is welcome. Some questions are:

- Since metrics such as Periodic Breathing and AHI is provided in the user interface, the machine must do some of the analysis of the raw data on board. Is this analysis data also stored on the card and if so, what is the format?

- What, if any, analysis is not performed on board, but by the Encore software?

- Which other data does the machine store on the card?

- What are the algorithms that the machine uses for turning raw sample data into therapy metrics such as Periodic Breathing and AHI?
Posts: 3
Joined: Sun Sep 19, 2010 12:52 pm

Postby Janknitz » Mon Sep 20, 2010 4:57 pm

I don't speak "computer" but from my humble observation:

As far as I know, the ONLY way to access the data on the card is via proprietary software. As it takes quite a bit of time and processing power to download the data into Encore Viewer or Encore Pro software, I can only guess that the analysis is done in the software and not upon data collection.

The machine may have its own chip for processing data, and I think it works with or without the card. So the only thing downloaded to the card is raw data.
Phillips Respironics System One Auto A-flex and Humidifier
Encore Viewer 2.0 Software
Swift FX
Posts: 1163
Joined: Tue Feb 23, 2010 9:05 pm

Postby rdrd » Tue Sep 21, 2010 8:12 pm

Hi there. Thank you for those observations. They are useful.
Posts: 3
Joined: Sun Sep 19, 2010 12:52 pm

Postby junderbr » Tue Oct 26, 2010 5:01 pm

I have used your insights on the structure of the data in the .005 files and started developing a little algorithm to analyze the data and search for respiratory and or leakage events.
Posts: 1
Joined: Mon Oct 25, 2010 10:21 pm

Postby useopenid » Mon Dec 27, 2010 5:52 pm

I just got mine this weekend after my goodknight 420s died; if I can help, let me know! I wrote stuff to decode and gnuplot the goodknight data (though it's not polished); if someone's already decoded the philips data, so much the better!
Posts: 2
Joined: Mon Dec 27, 2010 5:45 pm

look Devilbiss

Postby truckerdad57 » Wed Jan 05, 2011 11:40 am

If being able to view your own CPAP data is important to you look into the Devilbiss line of Intellipap CPAP machines.

They use an algorythm to create alpha-numeric codes you enter into a secure web site and get all of your own data just like the doctor gets. No software no mess.....
(just a truck driver with sleep apnea)
Co-coordinator Truckers for a Cause Chapter of A. W. A. K. E.
Do not substitute information from here for professional medical advise.
Posts: 1100
Joined: Thu May 22, 2008 12:01 am
Location: Batavia, IL
Machine: CPAP tester, you name it I've got 1
Mask: tend to like nasal pillow
Humidifier: YES - must have
Year Diagnosed: 2002

Postby useopenid » Wed Jan 05, 2011 2:22 pm

Actually, I just got the Encore Viewer software for my Respironics, and it is actually everything I want --- it does a nice job of showing you what events happen when.
Posts: 2
Joined: Mon Dec 27, 2010 5:45 pm

  • Site Supporter

Return to CPAP Mask, Machine, & Monitoring Treatment Questions

Who is online

Users browsing this forum: No registered users and 0 guests

  • Site Supporter