Page 31 of 41
Re: SleepyHead Qt v0.8 alpha
Posted: Tue Sep 06, 2011 12:21 am
by Breathe Jimbo
To make sure that any bugs you find are addressed and not overlooked, please report bugs here:
http://sourceforge.net/tracker/?group_i ... id=2089181
Re: SleepyHead Qt v0.8 alpha
Posted: Tue Sep 06, 2011 6:57 pm
by dbrown2
Hello,
I am new to the cpap world. Just diagnosed a week ago. I have been placed on 9cm and I have the System One 550p auto with A Flex machine with the humidifier. I have been using (each day, call me a nerd) your SleepyHead v.8.4 and really enjoy it. I don't write in C, but develop web applications and Flex/Air apps. I am sure you have put in a lot time on this app. Do you mind telling me who you are reading the data files? From the looks of them they are hex. Am I correct?
On a side note: Since the Aug 30th to Sept 5th. My AHI has been the following:
6.05, 7.09, 10.43, 6.07, 4.59, 3.01, 7.04
And my Leak has been as high as 60.3 and the lowest of 26.7 (not sure what that means)
I have read that I need a AHI of less than 5 to be properly treated, is that correct?
David
Re: SleepyHead Qt v0.8 alpha
Posted: Tue Sep 06, 2011 7:32 pm
by jedimark
dbrown2 wrote:Hello,
I am new to the cpap world. Just diagnosed a week ago. I have been placed on 9cm and I have the System One 550p auto with A Flex machine with the humidifier. I have been using (each day, call me a nerd) your SleepyHead v.8.4 and really enjoy it. I don't write in C, but develop web applications and Flex/Air apps. I am sure you have put in a lot time on this app. Do you mind telling me who you are reading the data files? From the looks of them they are hex. Am I correct?
On a side note: Since the Aug 30th to Sept 5th. My AHI has been the following:
6.05, 7.09, 10.43, 6.07, 4.59, 3.01, 7.04
And my Leak has been as high as 60.3 and the lowest of 26.7 (not sure what that means)
I have read that I need a AHI of less than 5 to be properly treated, is that correct?
David
Hi David, The PRS1 records its data in a binary format.
In the docs directory of the source code (available from the git repository at sourceforge), there is a file called "PRS1 Data Format.odt" where I have documented it.
Mike Hoolehan (cpapdork), myself, and several others around this forum were responsible for breaking the format open..
It takes a while to get a good handle on things.. Regularly tracking your progress and getting Leaks under control is the key. Some masks types are more prone to leakage than others. The trick is to get the leak min and max values as close as possible, with a nice "flat" line..
The best target to aim for is an AHI of obviously zero, however this is fantasy for quite a few of us. Under 5 is generally good, and most doctors are satisfied with their patients achieving this.
I'm not really the best source for advice on what the numbers actually mean, I just write the software.. There are plenty of others on this forum have way more experience mastering CPAP usage and interpreting the numbers. I'm still struggling to get my stats under control myself. :-}
Re: SleepyHead Qt v0.8 alpha
Posted: Tue Sep 06, 2011 7:40 pm
by Bookbear
dbrown2 wrote:Hello,
I am new to the cpap world. ...
On a side note: Since the Aug 30th to Sept 5th. My AHI has been the following:
6.05, 7.09, 10.43, 6.07, 4.59, 3.01, 7.04
And my Leak has been as high as 60.3 and the lowest of 26.7 (not sure what that means)
I have read that I need a AHI of less than 5 to be properly treated, is that correct?
Yes, 5 or under is considered 'adequately treated' (the assumption being that nearly everyone has at least a few apneas during any given night).
Each mask has a stated 'vent rate' or 'vent flow', so depending on your mask, leaks of 26.7 might be normal and 60 way too high. Excessive leaks negate the treatment your machine is striving to provide, but every machine can cope with the normal and average leak (vent) rate. The manual that came with your mask will list the normal vent rate at a given pressure. Anything a bit over that is OK, but excessive leak numbers will lead to higher AHI's. So will mouth breathing, unless you have a full face mask.
Getting the mask right (comfortable, low leaks) is ESSENTIAL to good cpap therapy. Imho, it is the single most important thing, and also the most difficult to pin down. With only a a few nights under your belt, it's hard to make a judgement, but it looks as if you might have leak issues or mouth breathing issues. Get that under control, and your AHI numbers may come down.
You might also need a higher (or, ironically, a lower) pressure. You have a good auto machine, but it sounds as if they have set it up as a straight cpap at 9cm/H2O. 9 is at the low end of the usual pressure range, so you probably don't need a lower pressure. Once the leaks are under control, you might consider switching to apap mode and setting the lower pressure to 9 and the upper pressure at 20 for a week or so, and see where your 90% pressure is. Make that number your new minimum pressure and watch that for a week or so. Always give any changes you make at least a week so you can see trends rather than just one or two night's data.
Remember too that position can strongly affect apneas. Nearly all patients have more apneas on their backs than on their sides.
Finally, it will help others trying to give help if you post your equipment in your signature. You can do this through the user control panel at the top left of the screen.
Good luck!
Re: SleepyHead Qt v0.8 alpha
Posted: Wed Sep 07, 2011 7:25 pm
by Otter
I just noticed that SH is adding 10 seconds to all events, not just the hypopneas. I was a bit alarmed at the cluster of 25 second CAs from last night until I realized what was going on.
Re: SleepyHead Qt v0.8 alpha
Posted: Wed Sep 07, 2011 7:49 pm
by jedimark
Otter wrote:I just noticed that SH is adding 10 seconds to all events, not just the hypopneas. I was a bit alarmed at the cluster of 25 second CAs from last night until I realized what was going on.
It's just the hypopneas that were out? I thought it was doing it to all of them on resmed?
Re: SleepyHead Qt v0.8 alpha
Posted: Thu Sep 08, 2011 1:27 am
by Otter
jedimark wrote:It's just the hypopneas that were out? I thought it was doing it to all of them on resmed?
Yeah, just the hypopneas. That's what's so wonky about how the S9 logs stuff. For hypopneas, it logs time over the 10 second limit. For both OA and CA, it logs total time, including the first 10 seconds.
Re: SleepyHead Qt v0.8 alpha
Posted: Thu Sep 08, 2011 1:41 am
by jedimark
Otter wrote:jedimark wrote:It's just the hypopneas that were out? I thought it was doing it to all of them on resmed?
Yeah, just the hypopneas. That's what's so wonky about how the S9 logs stuff. For hypopneas, it logs time over the 10 second limit. For both OA and CA, it logs total time, including the first 10 seconds.
Righto.. I shall change it in the source to just do the Hyponeas.
Re: SleepyHead Qt v0.8 alpha
Posted: Fri Sep 09, 2011 10:12 am
by ClayL
I downloaded Sleepyhead today (v0.8.4 Build date Sep 4 2011 16:19:27). I am running Win7 Home Premium 64 bit.
I just got my new REMstar Auto A Flex System One machine and ran EncorePro to look at the first nights data. It worked fine.
In Sleepyhead when I try to import data from the SD card I get a message saying " Couldn't find any machine data at this location". I have tried pointing to the the top level folder - P-series, middle level -P04067931D879 and the bottom level folder - p0 .
The SD works okay with Encore Pro and I can see files in the p0 folder.
Am I doing something un-intelligent?
Re: SleepyHead Qt v0.8 alpha
Posted: Fri Sep 09, 2011 11:46 am
by archangle
ClayL wrote:I have tried pointing to the the top level folder - P-series, middle level -P04067931D879 and the bottom level folder - p0 .
Point to the SD card itself. i.e. the parent of the P-series folder.
Re: SleepyHead Qt v0.8 alpha
Posted: Fri Sep 09, 2011 3:42 pm
by ClayL
Thanks! It works now.
Re: SleepyHead Qt v0.8 alpha
Posted: Fri Sep 09, 2011 8:31 pm
by jedimark
Ugh.. I've got to fix this.. It works fine on Linux.
That is so annoying.. I think it has something to do with Qt messing up with the "/" path seperator. It's supposed to convert the windows "\" chars automatically.
The native file browser on windows is dumb. I had to change to it, because Qt's pretty one is broken on two platforms.
Re: SleepyHead Qt v0.8 alpha
Posted: Sat Sep 10, 2011 1:01 am
by ThomasMcKean
Ermmmm....
I am a bit lost here? Is this program reporting centrals or hypopnias in accurately? What is with the additional 10?
Re: SleepyHead Qt v0.8 alpha
Posted: Sat Sep 10, 2011 3:22 am
by jedimark
ThomasMcKean wrote:Ermmmm....
I am a bit lost here? Is this program reporting centrals or hypopnias in accurately? What is with the additional 10?
I'm just listening to what's being said here..
Whatever the case, ResMed S9 EDF data is definitely reporting some hypopneas under 10s in duration.
Whether or not it's subtracting 10, we don't know for sure.. If any one has some more solid data, it would be very appreciated..
Edit: Only hypopneas are being adjusted.
Re: SleepyHead Qt v0.8 alpha
Posted: Sat Sep 10, 2011 12:42 pm
by archangle
jedimark wrote:Ugh.. I've got to fix this.. It works fine on Linux.
That is so annoying.. I think it has something to do with Qt messing up with the "/" path seperator. It's supposed to convert the windows "\" chars automatically.
The native file browser on windows is dumb. I had to change to it, because Qt's pretty one is broken on two platforms.
For what it's worth, I've noticed this:
1) Go into the parent directory of P-series. You'll see P-series in the list.
2) Do NOT highlight P-series
3) Click "Select Folder".
This will successfully read the data from the card.