SleepyHead Qt v0.8 alpha

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
jedimark
Posts: 1300
Joined: Fri Feb 18, 2011 12:45 am
Location: Bundaberg, Australia
Contact:

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Sat Sep 10, 2011 10:25 pm

I have no idea why people click on P-Series in the first place.. Add one little convenience, and it becomes a standard.. :}

I just added some basic printing support to SleepyHead. Just a test overview report for now. It's not in it's right place yet.. But I have it putting stuff on paper!

I haven't tested on Windows yet - I'm hoping the "Crashy Snapshots" bug in Qt has been fixed in the recently released version of Qt (4.7.4), as I need this feature to display text in printed graphs.

On Linux & Mac you can also print to PDF.. Windows can also do this if you've got a PDF printer "driver". (I don't know much about them)

The report is made with HTML, and still needs a lot of tweaking as for what to display.. For now it will just be static.. But I do have a neat plan for later on, where you will be able to customize the reports, choosing what graphs to display - to do so you will have to know HTML, and a few simple templating commands. You will be able to share your custom report templates.

_________________
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
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sat Sep 10, 2011 10:47 pm

jedimark wrote:On Linux & Mac you can also print to PDF.. Windows can also do this if you've got a PDF printer "driver". (I don't know much about them)
CutePDF is free and works well for me.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Sun Sep 11, 2011 9:29 am

Hello, I bring fresh goodies.. Well.. For people who don't mind their toys to breaking occasionally..

SleepyHead 0.8.5 alpha preview.

Smaller Binary only (zipped) for those who know what to do with it and already have 0.8.4 (Unzip to your main sleepyhead folder with all the DLL files, replacing the SleepyHead.exe file)
http://sourceforge.net/projects/sleepyh ... p/download (~760KB)

Full version (in zip format) for new users, including DLL's..
http://sourceforge.net/projects/sleepyh ... p/download (~14.5MB)

Whats new?

Overview graphs actually moved to overview tab..
Added a 2 or 3 extra overview graphs that were sorely needed (pressure & leak overview, and a % PB graph for PRS1 users)
New File->Preferences Profile screen, to make your reports show your information.. (Ignore the silly timezone bit, I couldn't get a list yet.. and it's not really needed it anyway.)
Overview page (only) can print a simple report. I tried arch's suggestion above of the free cutepdf software, and it does indeed work.. So, yes, you can make it print to PDF.
Second stage of importing is now multithreaded.. Meaning If you have a dual or quad core cpu, the last bit of importing is a little faster.

Some silly bugs were fixed that I can't remember anything about..
Some new ones were very likely introduced.. It's a fact of life in software development. :}

I _think_ I have worked my way around the openGL qt font crash.. It can only happen during print, so if it crashes when you click the print button, well, that's why..

It will automatically clean up your previous SleepApp machine data, and needs to reimport due to a new summary caching system.
ResMed users, I hope your regularly making a backup copy up your cards to a folder! Your precious waveform data will go bye byes when it gets older than 7 days otherwise.

You may want to make sure multithreading in view menu before importing if the cleanup actually works for once. If this works consistently, it will be permanently turned on for people with multicore cpus. (And I'll speed up the first parts too)

It _should_ in theory keep your journal entries.. (No promises, I've been ignoring the journal feature while working on the other stuff)

Well, that's all for now.. If your not feeling super brave, it may be an idea for wait until there's some reports of success.

Good Luck..

/Mark

_________________
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
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sun Sep 11, 2011 12:58 pm

Looks good. I had to go through the "crash warning-OK" dialog 4 or 5 times, then "Delete old data -yes" twice. After that it works fine.

Thanks.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sun Sep 11, 2011 1:17 pm

Longer term thoughts. Mostly minor tweaks.

1) I wonder if there's a better way to scale the leak graph. As I move from day to day, due to autoscaling, bad days look good and good days look bad. The leak goes from 25 to 60, but it mostly looks nice and smooth.

On a day where I had a few big leaks, the graph is mostly smooth with just a few peaks. On a day where I had no leak problems, the line varies all over the graph vertically and looks bad, but the leak only goes between 25 and 30.

2) Overview looks good. Is "Session time" going to come back?

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

User avatar
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sun Sep 11, 2011 1:22 pm

Printing doesn't work for me.

No printers are shown in the print dialog other than "add a printer", which gives the message "Windows can't open "add printer" The local print spooler service is not running. Please restart the spooler or restart the machine."

Going into the Find Printer dialog only shows "networked" printers, and all mine are USB connected.

I'll tinker with my machine and print spooler setting later when I can reboot.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

fiberfan
Posts: 262
Joined: Sat Feb 13, 2010 2:50 pm
Location: UT

Re: SleepyHead Qt v0.8 alpha

Post by fiberfan » Sun Sep 11, 2011 2:27 pm

archangle wrote:Longer term thoughts. Mostly minor tweaks.

1) I wonder if there's a better way to scale the leak graph. As I move from day to day, due to autoscaling, bad days look good and good days look bad. The leak goes from 25 to 60, but it mostly looks nice and smooth.

On a day where I had a few big leaks, the graph is mostly smooth with just a few peaks. On a day where I had no leak problems, the line varies all over the graph vertically and looks bad, but the leak only goes between 25 and 30.
One of the few things I like better in ResScan is the leak graph. The line above which a leak will impact therapy is red and that line is always on the graph. Obviously that won't work for other machines. For Sleepyhead, perhaps a user setting of the lowest max to use for the vertical axis on the graph would allow more reasonable scaling when moving though days.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: ResScan 3.14 and SleepyHead software.
So many ideas, so much fiber, so little time - http://fiberfan.blogspot.com/

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Sun Sep 11, 2011 9:31 pm

archangle wrote:Looks good. I had to go through the "crash warning-OK" dialog 4 or 5 times, then "Delete old data -yes" twice. After that it works fine.

Thanks.
Okay.. Weird..

_________________
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: SleepyHead Qt v0.8 alpha

Post by jedimark » Sun Sep 11, 2011 9:36 pm

fiberfan wrote:
archangle wrote:Longer term thoughts. Mostly minor tweaks.

1) I wonder if there's a better way to scale the leak graph. As I move from day to day, due to autoscaling, bad days look good and good days look bad. The leak goes from 25 to 60, but it mostly looks nice and smooth.

On a day where I had a few big leaks, the graph is mostly smooth with just a few peaks. On a day where I had no leak problems, the line varies all over the graph vertically and looks bad, but the leak only goes between 25 and 30.
One of the few things I like better in ResScan is the leak graph. The line above which a leak will impact therapy is red and that line is always on the graph. Obviously that won't work for other machines. For Sleepyhead, perhaps a user setting of the lowest max to use for the vertical axis on the graph would allow more reasonable scaling when moving though days.

I would like to improve this.. The tricky part is how to present the option..

Maybe this might be a reasonable first step: double clicking on the yaxis could alternate between autoscaling and a reasonable preset for each graph?

_________________
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: SleepyHead Qt v0.8 alpha

Post by jedimark » Sun Sep 11, 2011 9:38 pm

archangle wrote:Printing doesn't work for me.

No printers are shown in the print dialog other than "add a printer", which gives the message "Windows can't open "add printer" The local print spooler service is not running. Please restart the spooler or restart the machine."

Going into the Find Printer dialog only shows "networked" printers, and all mine are USB connected.

I'll tinker with my machine and print spooler setting later when I can reboot.
What OS is this? (You've probably told me 20 times already, I forget so damn fast, and 32 pages is scary to go through.. :} )

_________________
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: SleepyHead Qt v0.8 alpha

Post by jedimark » Sun Sep 11, 2011 9:43 pm

archangle wrote:2) Overview looks good. Is "Session time" going to come back?
Which ones this again? The usage "barchart" that shows when the sessions start and end for each day?

That's coming back soon. I have to rewrite it for the new graphing engine.

the selection time showing in the status bar is something else I miss. it's coming back too when I get around to it.

_________________
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
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sun Sep 11, 2011 9:57 pm

jedimark wrote:What OS is this? (You've probably told me 20 times already, I forget so damn fast, and 32 pages is scary to go through.. :} )
Vista 32 bit. I haven't reloaded the OS in a few years, so it's got windows rot pretty bad, so there's a good chance it's me. I can normally print to my printers, though.
jedimark wrote:Which ones this again? The usage "barchart" that shows when the sessions start and end for each day?
This one:

Image

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

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

Re: SleepyHead Qt v0.8 alpha

Post by jedimark » Sun Sep 11, 2011 10:51 pm

archangle wrote:
jedimark wrote:What OS is this? (You've probably told me 20 times already, I forget so damn fast, and 32 pages is scary to go through.. :} )
Vista 32 bit. I haven't reloaded the OS in a few years, so it's got windows rot pretty bad, so there's a good chance it's me. I can normally print to my printers, though.
Well, it's working on my Vista box with CutePDF.. so quite possible you need to do some updates or something.. I'm impressed you managed to keep windows running that long with needing a reinstall.

We are both thinking of the same graph then.. Hopefully when I reimplement it my head will be clearer this time..

_________________
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
archangle
Posts: 9293
Joined: Sun Mar 27, 2011 11:55 am

Re: SleepyHead Qt v0.8 alpha

Post by archangle » Sun Sep 11, 2011 11:13 pm

jedimark wrote:I'm impressed you managed to keep windows running that long with needing a reinstall.
Me, too. Actually, despite the complaints, I have found Vista to be somewhat less bad than previous versions. I REALLY need to do a reinstall, but it's such a pain to get everything else installed again. I'm considering a new PC because it's going to be so much work to redo the old one.

_________________
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Also SleepyHead, PRS1 Auto, Respironics Auto M series, Legacy Auto, and Legacy Plus
Please enter your equipment in your profile so we can help you.
Click here for information on the most common alternative to CPAP.
If it's midnight and a DME tells you it's dark outside, go and check for yourself.

Useful Links.

fiberfan
Posts: 262
Joined: Sat Feb 13, 2010 2:50 pm
Location: UT

Re: SleepyHead Qt v0.8 alpha

Post by fiberfan » Sun Sep 11, 2011 11:53 pm

jedimark wrote:Maybe this might be a reasonable first step: double clicking on the yaxis could alternate between autoscaling and a reasonable preset for each graph?
I like the switch idea though I am not sure the other graphs need it, it would be great for the leak graph.

_________________
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: ResScan 3.14 and SleepyHead software.
So many ideas, so much fiber, so little time - http://fiberfan.blogspot.com/