Philips Respironics System One REMstar Pro file format

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
builta
Posts: 365
Joined: Wed Feb 18, 2009 6:13 pm
Location: Michigan

Re: Philips Respironics System One REMstar Pro file format

Post by builta » Sun Apr 10, 2011 1:03 pm

BryanC wrote:
builta wrote:Hi,

I tried uploading and looking at the output about a month ago but, unfortunately at the time, it did not provide a meaningful output for me. you see, I am using a "PR System One BiPAP Auto" and the routines were set up for an APAP.

My question is, has the web site been updated to deal with BiPAP Auto or is it still only working for CPAP and CPAP Auto?


Cheers
ohh, that i couldn't tell ya, you'll have to wait for cpapdork to reply.... BUT, is there any way you could email me a bunch of your files? I have the PRS1 CPAP Flex+ Pro (I believe? only had it about a month, but I know it's not a BiPap)... I'm sure yours has a lot of data I haven't got 'details' for yet, and it would help me figure out how to support the BiPap machines too...
If you can, I need the 001, 002, and 005 files (and, if there are others? (003, 004, 007, etc.) for each? (at this point, i don't know!))
bac512@users.sourceforge.net
Hi,

A month's worth of files on it's way.

Cheers

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: Encore Pro, Backup-M Series BiPAP Auto. Set as ABiPAP 15I/9E AHI 0.2. Normally operates @ 12I/9E 1987 OSA diagnosis
If your never go off on a tangent, you are doomed to live your life going around in circles.

garfin
Posts: 2
Joined: Wed Apr 13, 2011 1:33 am

Re: Philips Respironics System One REMstar Pro file format

Post by garfin » Wed Apr 13, 2011 1:38 am

Hi cpapdork/bryanc

i've got over a years worth of data on my SD , but uploading with a max of 50 files at a time is a bit of an effort ...

Also if it helps , i have a couple of weeks data , and the associated Encore Pro report that matches , as processed by my 'specialist' if that may help identify some of those 'unknown events' PM me an email and i can send them through...

Regards GarFin.

_________________
Mask: Zest Nasal CPAP Mask with Headgear

User avatar
builta
Posts: 365
Joined: Wed Feb 18, 2009 6:13 pm
Location: Michigan

Re: Philips Respironics System One REMstar Pro file format

Post by builta » Wed Apr 13, 2011 3:18 am

garfin wrote:Hi cpapdork/bryanc

i've got over a years worth of data on my SD , but uploading with a max of 50 files at a time is a bit of an effort ...

Also if it helps , i have a couple of weeks data , and the associated Encore Pro report that matches , as processed by my 'specialist' if that may help identify some of those 'unknown events' PM me an email and i can send them through...

Regards GarFin.
Hi. You can use a program like winzip to condense all the files into one and hen send just the zipped file. That's what I did.

Cheers

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: Encore Pro, Backup-M Series BiPAP Auto. Set as ABiPAP 15I/9E AHI 0.2. Normally operates @ 12I/9E 1987 OSA diagnosis
Last edited by builta on Thu Apr 14, 2011 7:12 pm, edited 1 time in total.
If your never go off on a tangent, you are doomed to live your life going around in circles.

garfin
Posts: 2
Joined: Wed Apr 13, 2011 1:33 am

Re: Philips Respironics System One REMstar Pro file format

Post by garfin » Thu Apr 14, 2011 3:26 pm

builta wrote: Hi. You can use a program like winzip to condense tall the files into one and hen send just the zipped file. That's what I did.

Cheers
Thanks, but i was referring to uploading into cpapdork's project.. http://www.hoolehan.com/onkor/

BryanC, you should have my Encore report and dataset in yr email by now ... I have a futher 1year+ of data if you want it , just no corresponding Encore Report.

_________________
Mask: Zest Nasal CPAP Mask with Headgear

cpapdork
Posts: 103
Joined: Sat Nov 27, 2010 7:57 am
Contact:

Re: Philips Respironics System One REMstar Pro file format

Post by cpapdork » Fri Apr 15, 2011 6:41 am

builta wrote:My question is, has the web site been updated to deal with BiPAP Auto or is it still only working for CPAP and CPAP Auto?
No update for supporing BiPAP machines. I don't have a BiPAP machine so I can't get at the data files. If you're willing, you can send me a batch of files and I will post on the Onkor wiki. If one of us has some time, we can take a look to see if the formats are similar and if they can be supported in onkor.
Image

cpapdork
Posts: 103
Joined: Sat Nov 27, 2010 7:57 am
Contact:

Re: Philips Respironics System One REMstar Pro file format

Post by cpapdork » Fri Apr 15, 2011 6:48 am

garfin wrote: weeks data , and the associated Encore Pro report that matches , as processed by my 'specialist' if that may help identify some of those 'unknown events' PM me an email and i can send them through...
Yes! Having the data and some known reports of that data is particularly valuable. It lets us "check" our results.

I think some of you are sending data to me and/or BryanC. Just an FYI, we're not specifically working together (at least not as far as I know). However, BryanC, maybe even if we work separately, we could agree to post "sanitized" datasets on the Onkor wiki so that anyone (and everyone) can benefit from these data. Or we could put it on an independent (non-onkor) site if you like as well.

We've all got the same goal I think, so it would be great to share info as much as possible.
Image

BryanC
Posts: 35
Joined: Tue Apr 05, 2011 5:41 pm

Re: Philips Respironics System One REMstar Pro file format

Post by BryanC » Fri Apr 15, 2011 10:00 am

cpapdork wrote:
garfin wrote: weeks data , and the associated Encore Pro report that matches , as processed by my 'specialist' if that may help identify some of those 'unknown events' PM me an email and i can send them through...
Yes! Having the data and some known reports of that data is particularly valuable. It lets us "check" our results.

I think some of you are sending data to me and/or BryanC. Just an FYI, we're not specifically working together (at least not as far as I know). However, BryanC, maybe even if we work separately, we could agree to post "sanitized" datasets on the Onkor wiki so that anyone (and everyone) can benefit from these data. Or we could put it on an independent (non-onkor) site if you like as well.

We've all got the same goal I think, so it would be great to share info as much as possible.
yeah, absolutely. we've all got the same goal, and the more we all know, the quicker we'll be able to figure more out.... and since I have no site, using the onkor site is fine by me.

I donno if you've looked yet or not at the properties file, but in it I see BASICKEY, DETAILSKEY, ERRORKEY, and VALIDCHECK. I don't really know what they'd be used for, since all the data appears to be unencrypted, but maybe they're used for checksums?

I've noticed(or so it appears with my not-so-advanced processing of the files) I find a lot with errors in them. Like one I was looking at yesterday, all the data was there, but one of the records had all 0's for the header.... If you're removing these from your datasets, you should at least keep them in a separate directory, for error checking later.... (I found this because my program reads the header, then the data, then adds the record length to the start position to find the next record... and with it all 0's in the header... it just kept reloading that record! )
and FYI, in file 002, donno if you've gotten the Bipap files yet, but it seems 'event' 3 is

0x03 BIPRESSURE [16bit TIME], [8bit PRESSURE_LOW1],[8bit PRESSURE_HIGH1]

_________________
Mask

cpapdork
Posts: 103
Joined: Sat Nov 27, 2010 7:57 am
Contact:

Re: Philips Respironics System One REMstar Pro file format

Post by cpapdork » Sat Apr 16, 2011 5:08 am

Thanks everyone, especially Sleepy, for your help with leak info. I've updated the onkor website (http://www.hoolehan.com/onkor/) to include a plot of Leak (in liters per minute) as well as annotations for Large Leaks.
Image

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: Philips Respironics System One REMstar Pro file format

Post by jedimark » Sat Apr 16, 2011 7:00 am

Hi..

Question regarding Leaks.. Has anyone figured out how to actually interpret that byte?

When I subtract 17/18 from it, my leak graphs visually match Encore, and my leak averages mostly adds up. Though Something doesn't feel right about doing that. I've tried subtracting the average to get a neater plot. Looks good, but then the average doesn't look right. Divide by ten doesn't work either.

Can anyone clue me in it?

As for CSR, the first of the CSR data fields is definitely 16bit. both data values subtract from current time.. I have a visual & time match with Encore in the sleep flags plot and the waveform overlay.

Regarding my theory on the 16bit time delta.. It doesn't really matter which way it's handled, as it's capped at an 8bit value of 2 minutes. I've always felt "claustrophobic" using 8bit time deltas in embedded projects, hence why I'm so anal about it.

Apart from leaks, the only other thing I can't figure out is why the VSNORE indice value is so high.. Mine doesn't add up, even though the sleep flags match encore perfectly (using combined 0x0D & (0x11 data field2>0) vsnore events) Perhaps Encore uses this >0 vsnore value as a time duration, and I calculate this like % of night in CSR?

By the way, 0x0D VSNORE events are the only ones that change pressure.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

BryanC
Posts: 35
Joined: Tue Apr 05, 2011 5:41 pm

Re: Philips Respironics System One REMstar Pro file format

Post by BryanC » Sat Apr 16, 2011 10:13 am

jedimark wrote:Hi..

Question regarding Leaks.. Has anyone figured out how to actually interpret that byte?

When I subtract 17/18 from it, my leak graphs visually match Encore, and my leak averages mostly adds up. Though Something doesn't feel right about doing that. I've tried subtracting the average to get a neater plot. Looks good, but then the average doesn't look right. Divide by ten doesn't work either.

Can anyone clue me in it?

As for CSR, the first of the CSR data fields is definitely 16bit. both data values subtract from current time.. I have a visual & time match with Encore in the sleep flags plot and the waveform overlay.

Regarding my theory on the 16bit time delta.. It doesn't really matter which way it's handled, as it's capped at an 8bit value of 2 minutes. I've always felt "claustrophobic" using 8bit time deltas in embedded projects, hence why I'm so anal about it.

Apart from leaks, the only other thing I can't figure out is why the VSNORE indice value is so high.. Mine doesn't add up, even though the sleep flags match encore perfectly (using combined 0x0D & (0x11 data field2>0) vsnore events) Perhaps Encore uses this >0 vsnore value as a time duration, and I calculate this like % of night in CSR?

By the way, 0x0D VSNORE events are the only ones that change pressure.
from what I've seen, my leak graph matches encore's exactly, with no modifications.... I mean, apart from my graphs not being the same length as encore's...

as for the VSNORE, how are your %'s coming out? maybe encore only adds it against the normal breathing time- all events? (or + all enets?) maybe only the 0x0D events count towards the total?

as for CSR, I can see where that could be longer than the 120 seconds, much longer, requiring 2 bytes, but have you seen it longer? or does it report it too every 2 minutes?
I GUESS it's possible, if it only reports that items at the END of their run that they (OA, CA, CSR, VS, etc.) could need 2 bytes....

_________________
Mask

User avatar
SleepyCPAP
Posts: 333
Joined: Wed Dec 08, 2010 6:01 am

Re: Philips Respironics System One REMstar Pro file format

Post by SleepyCPAP » Sat Apr 16, 2011 8:25 pm

jedimark wrote:
When I subtract 17/18 from it, my leak graphs visually match Encore, and my leak averages mostly adds up.
Do you have Encore set to show total leak? Or is it taking off something as a base vent rate first?

I ask because the graphs and numbers match for me, and mine is set for total leak. The only difference was a .3 rounding on Average Leak, but I think that's because Respironics throws out about six minutes on the machine and in the software (or seems to...) so datasets are more complete in the 002 file.

BryanC wrote:
as for CSR, I can see where that could be longer than the 120 seconds, much longer, requiring 2 bytes, but have you seen it longer?
I have had periodic breathing (the CSR type of waxing and waning) for longer than 2 minutes, I'll look and see one of those nights and see how it gets recorded.

-- SleepyCPAP

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: Use OSCAR. Combine AlaxoStent with VAuto for perfect 0.0 AHI at PS 3.6 over 4cm EPAP
-- SleepyCPAP
Sleep study in 2010 (11cm CPAP). Pillows (Swift FX>TAP PAP >Bleep). PRS1 “Pro” 450/460 until recall, now Aircurve 10 VAuto. Tape mouth. Palatal Prolapse solved by AlaxoStent & VAuto EPAP 4cm, PS 3.6cm = 0.0 AHI

User avatar
builta
Posts: 365
Joined: Wed Feb 18, 2009 6:13 pm
Location: Michigan

Re: Philips Respironics System One REMstar Pro file format

Post by builta » Sat Apr 16, 2011 9:36 pm

Hi,

In trying some experiments on PRS1 xPAPs I found something that you may need to be aware of. If a blank SD card (or one that has been wiped after review- ref our kindly DMEs) or a card from a different PRS1 machine is inserted the PRS1 xPAPs will load a condensed data file set that contains all the daily data (minus wave form data) in a single file set.

In the Machine ID folder you will get three folders and files of potential interest:

1. In the directory you will find a binary "sync" file like "222e1d79-732a-46ff-a049-ad2d8eb54d47.sync"
2. In directory p0 you will get a "0000000001.001" and a "0000000xxx.002" where xxx = a number equal to the number of data sets recorded?
3. In directory e your will get a "000.004.uploaded"

These files when mixed with other normal files could cause confusion unless you understand and treat them separately and as condensed multi-day files.

Cheers

_________________
Mask: Quattro™ FX Full Face CPAP Mask with Headgear
Additional Comments: Encore Pro, Backup-M Series BiPAP Auto. Set as ABiPAP 15I/9E AHI 0.2. Normally operates @ 12I/9E 1987 OSA diagnosis
Last edited by builta on Sat Apr 16, 2011 10:24 pm, edited 1 time in total.
If your never go off on a tangent, you are doomed to live your life going around in circles.

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: Philips Respironics System One REMstar Pro file format

Post by jedimark » Sat Apr 16, 2011 10:20 pm

As for any leak settings in EncorePro, I haven't seen them. I'll have a look through the menus. My minimum leak value=15, the maximum=48, and weighted average=20.15. Yet encore reports my leaks as 0.7 - there must be some baseline calc I am missing.

I've noticed Encore uses a rounding function that rounds up when >=.4, not >=.5 like most people expect.

Encore reports my VSNORE index around 10.3, mine calculations come out to 3.89.. I have just been taking the count of vsnore events in a time period and dividing by TotalTime in hours. Even when adding both types together it doesn't work out to 10.3 - once again I'm missing something.

I was wrong about 0x0D VSNORE events being included in Encores sleepflags.. But they are the VSNORE event shown in Encore's waveform overlay.
My CSR events start and end at exactly the same time as shown in Encores WaveFormReport. I have noticed sometimes CSR areas can overlap.

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: Philips Respironics System One REMstar Pro file format

Post by jedimark » Mon Apr 18, 2011 5:48 pm

Well, found the leak setting in Encore.. It shows two methods.. so my initial calcs were right. Wish I knew that sooner.

I have a suspicion the other method Encore uses for leak display subtracts the 7 day leak average value from each sample (and crops below zero)
There is some good clues in the Encores "calculations" screen.

Still haven't figured out the vsnore calc thing..

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: CMS50D+/F Oximeter, S9 VPAP Auto/Adapt, PRS1 Auto, Intellipap Auto, SleepyHead :)
Author of the free, cross platform, open-source sleep tracking software SleepyHead.
Download http://sleepyhead.jedimark.net
Source Code http://gitlab.com/sleepyhead/sleepyhead-code

BryanC
Posts: 35
Joined: Tue Apr 05, 2011 5:41 pm

Re: Philips Respironics System One REMstar Pro file format

Post by BryanC » Thu Apr 21, 2011 9:28 pm

I'm having issues with the events and breathing patterns. seems no matter how I adjust them, (specifically dealing with Central Apneas in this case) there doesn't seem to be a standard way to add or subtract the CA event's value, it doesn't consistently match up with the beginning or end of the event. sometimes it'll even completely miss the 'apparent' apnea. and, I would think it was just scaling it wrong maybe, but one will match, then next won't, maybe a few, then another will, etc.... has anyone come up with some method that seems to work ALL the time?

_________________
Mask