Page 2 of 14

Re: SleepyHead for Windows (System One only) mini-version.

Posted: Fri May 27, 2011 10:45 pm
by Pugsy
I couldn't get the files to download at first. I was thinking I needed to go to the files first like we do with Onkor.
They download if I just click on the whole drive the SD card is in from the MyComputer window showing the drives.
Pretty simple. I tried the latest version just a while ago and I do see the pressure pulse thing. Seems to be working fine.

Is this just for Windows users?

Re: SleepyHead for Windows (System One only) mini-version.

Posted: Fri May 27, 2011 11:01 pm
by jedimark
Yet another windows build pushed to sourceforge, build #1427

Get your fresh copy here:
http://sourceforge.net/projects/sleepyh ... e/download

Fixes a pretty major memory leak.
Enhances screenshot capabilities (new key shortcut: Shift-F12) it now allows you to select a filename. Use the keypress for now to get around the "Menubar still showing" bug.
Toggle fullscreen with F11
F5 and F6 keys now select/open the Summary & Daily tabs.
Improved PRS1 import performance yet again, reducing memory footprint.
Other fixes and minor changes that I forgot about.

Linux and Mac users (and advanced windows users too) can access source via Git repository, and keep up to date as the action happens.

Code: Select all

git clone git://sleepyhead.git.sourceforge.net/gitroot/sleepyhead/sleepyhead 
You will need the cross platform Code::Blocks IDE and wx development libraries to build a copy from source-code.

Mac users may have to tweak Code::Blocks build settings.. I'm not a mac user, and I'm not entirely up on mac's build process.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sat May 28, 2011 12:34 am
by robysue
jedimark,

I just downloaded build #1427 a few minutes ago after playing with the earlier build a bit today. I'm impressed!

For alpha-ware this is actually working pretty good. Not saying all the bugs are out, because I'm sure they're not. But it really does work quite well on my Eee PC netbook where I keep my data. Haven't been brave enough to slog through trying to build the thing on a mac yet and I don't think I'll have the time anytime soon either.

Some things I noticed with my S1 BiPAP Auto data:

First, I have to go through a crazy mouse-click and drag in a non-intuitive spot to get the wave form to show. Anybody else have this problem? Or does the wave flow show up as soon as you click on the day? The sleep flags and the leak data show up as soon as I click on a day in the calendar.

Two, on the Sleep Flags table, the OA tick marks are showing up as CYAN on a light green background which makes them almost impossible to see. In some future build, maybe the color could be changed?

Three, the events that show up in EncoreViewer and the events that show up in Sleepyhead seem to correspond really closely with each other. I think I did notice an RE in Encore that may have been displayed as an UOE in Sleepyhead. If you want me to track it down and provide a screen shot, I'll try.

Fourth, I know you're still working on the BiPAP stuff. And I can't see the pressure data or the Time@pressure data for my Auto BiPAP yet, but that's not a surprise since you said it's not done yet. I mention it because In one post you said:
EDIT: Bipap is only partly supported. I access to need a full data set for testing.
I'd be happy to provide you with as much of my data as you'd like to have. If you want it, PM me with the best way of getting it to you.

Fifth, a wish-list kind of thing, but I'll mention it anyway: I recently had to have my PR BiPAP Auto swapped out for a brand new one under warranty issues. The current build does not seem to properly download data from both machines. The obvious work around is to have two "SleepApp" folders in the Documents directory---one for each machine. And then rename the folder for the machine you want to look at SleepApp before starting Sleepyhead. It works, but as you can imagine, it is awkward.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sat May 28, 2011 2:27 am
by jedimark
Cool Robysue.
Glad it sorta works..

1. I've noticed it. I think this one is bipap related.
2. Noted. Thankyou. I'll darken/improve the cyan a bit.. Eventually there will be colour themes. My original choices were influenced by what I saw in Encore reports.. I would love the CSR/PB green to be alpha blended, but unfortunately this is a current shortcoming of wxWidgets library, turning that feature on makes it run like a two legged dog. I'll try and move all the colors to the XML layout file as soon as I get around to it. That way someone clever and colour coordinated can edit them without having to touch the code.. And they can share the layout file. (I'll adopt the best choices as defaults)
3. That's awesome.. That's why I put the U0E in there. I'm fairly certain of RERA being correct, but I have been wrong on plenty of occasions before
4. ...still working on it.. It'd be great if you could send that data.
5. Multiple machine support is there underneath.. in fact both machines are imported.. to check: in your SleepApp folder, you will see a profile directory, under that, a folder with your username, and under that you should see two directories with
random number filenames) - What I haven't implmented yet is a way to switch between them. Maybe a simple Machine menu will do the trick?

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sat May 28, 2011 7:30 am
by jedimark
I got which green you meant wrong.. I should read slower. I have improved this in the source code. I also pushed the Green CSR span behind the waveform overlays too.

Multiple machine support is done now via menu. It remembers the last machine you had selected.

I'll upload a fresh build once I've got a few other bugs fixed and awesome things done..

I'm setting up a development mailing list for any techie types who wishes to track stuff as it happens, and generally follow (and influence) development. I'll post another note here when it's ready.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 11:03 am
by robysue
jedimark wrote:Cool Robysue.
Glad it sorta works..

1. I've noticed it. I think this one is bipap related.
In the new build you sent me by email, the wave form data now shows up when I click on the day. No crazy mouse click & drag is needed anymore.
2. Noted. Thankyou. I'll darken/improve the cyan a bit..
The newer, darker cyan has improved this a lot---those OA ticks now stand out against the light green bar they're on. It's also nice that you are eventually planning on adding color.
4. ...still working on it.. It'd be great if you could send that data.
I'm glad my data was useful for you.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 12:16 pm
by Omni10871
When I try to Import SD I get an "unhandled exception occurred" error with options to abort retry or ignore. I am using a: PR System One REMstar Auto CPAP Machine with A-Flex. The SD card says software version 1.2, I don't know how to look up the actual software on the CPAP itself or how to update it if necessary.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 1:33 pm
by Sparky223
Ok this is weird. On my Encore Pro 2. I have no leak data recorded. I see on this I have a leak of 28.

I take it back I have little leak data recorded on Encore. Not near the 28 recorded on this software.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 2:36 pm
by robysue
Sparky223 wrote:Ok this is weird. On my Encore Pro 2. I have no leak data recorded. I see on this I have a leak of 28.

I take it back I have little leak data recorded on Encore. Not near the 28 recorded on this software.
Encore Pro is often set up to only show the UNINTENTIONAL leak rate. The Sleepyhead software shows the TOTAL leak rate, which is the sum of the INTENTIONAL leak rate built into the mask for your pressure setting and the UNINTENTIONAL leak rate.

Check your mask's user guide to find out what the intentional leak rate at your pressure is. If it's near 28 (give or take 5 cm), then Sleephead's data is showing little or no UNINTENTIONAL leaking.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 2:54 pm
by Breathe Jimbo
Would you be able to make this software read data from ResMed machines? It would be really nice if you could make this software read data from the machines of multiple vendors. I'd be willing to test future versions with my S9 data, as I suspect many others would.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 5:24 pm
by archangle
I've got an M series machine, so I think I can't use the program for now.

However, let me throw out a "Bravo!" for doing this.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 5:29 pm
by GumbyCT
archangle wrote:I've got an M series machine, so I think I can't use the program for now.

However, let me throw out a "Bravo!" for doing this.
It would be great if he could get the older machines to work with this SleepHead SW later. Hooraah!!

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 7:04 pm
by jedimark
I have a ResMed S9 data, and the format is understood.. And the backend is designed for any type of data recording machine (not just CPAP) It's just a matter of time.. I've left that one to Troy, and he isn't blessed with as much spare time as me.

I would like to get my hands on some M-Series data to compare the differences between it and System One.

I have released a new build, number 1959.. Fixing a lot of bugs. Adds some new control improvements.. and other stuff.

Direct Link:
http://sourceforge.net/projects/sleepyh ... e/download

robysue.. the one I sent you had a glitch in machine select. I've fixed that now in this build.

Anyone upgrading to this new version will need to go into my documents, and trash the SleepApp folder yet again, and reimport. (I haven't gotten around to writing the code to do this for you yet.. this is alpha after all

The date selectors in summary tab don't work yet.. I left them there in case anyone felt like commenting on how best to select the date range in summary view.. I'm not sure on what's easiest here.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 7:18 pm
by jedimark
robysue wrote:
Sparky223 wrote:Ok this is weird. On my Encore Pro 2. I have no leak data recorded. I see on this I have a leak of 28.

I take it back I have little leak data recorded on Encore. Not near the 28 recorded on this software.
Encore Pro is often set up to only show the UNINTENTIONAL leak rate. The Sleepyhead software shows the TOTAL leak rate, which is the sum of the INTENTIONAL leak rate built into the mask for your pressure setting and the UNINTENTIONAL leak rate.

Check your mask's user guide to find out what the intentional leak rate at your pressure is. If it's near 28 (give or take 5 cm), then Sleephead's data is showing little or no UNINTENTIONAL leaking.
Thanks robysue.. You explained that way better then I could. (even to myself

I could lessen this confusion a little bit by subtracting the mean from the leak rate, but this won't help anyone who genuinely leaks a lot.

The main reason I kept it at the total, was because I could never match Encore's other leak reporting method exactly.

I'll leave it for now, but would welcome any ideas on this issue.

Re: SleepyHead: Free open-source software for the PR System One.

Posted: Sun May 29, 2011 7:24 pm
by GumbyCT
Error msg Not a valid Win32 App....Using Win7 Ultimate 64