SleepyHead –How to Purge future Dates?

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

SleepyHead –How to Purge future Dates?

Post by Jay Aitchsee » Mon Sep 29, 2014 8:52 am

Version 0.9.6 Broken Gl for Windows

I entered a note at a future date as reminder. Now, Sleepyhead defaults to that date for the Daily View and to that date as the ending date for all selections except custom in the Overview.

I tried erasing the note and purging the data for that date (data>advanced>purge current selected day) and closing SleepyHead. That didn't work, the date remains emboldened in the calendar and the defaults remain after restarting.

Any other suggestions that might work and leave my data intact? Worst case, I guess, is that I have to wait for the date (Dec. 30) to pass or for a new release, whichever comes first.

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video

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

Re: SleepyHead –How to Purge future Dates?

Post by jedimark » Mon Sep 29, 2014 9:08 am

Jay Aitchsee wrote:Version 0.9.6 Broken Gl for Windows

I entered a note at a future date as reminder. Now, Sleepyhead defaults to that date for the Daily View and to that date as the ending date for all selections except custom in the Overview.

I tried erasing the note and purging the data for that date (data>advanced>purge current selected day) and closing SleepyHead. That didn't work, the date remains emboldened in the calendar and the defaults remain after restarting.

Any other suggestions that might work and leave my data intact? Worst case, I guess, is that I have to wait for the date (Dec. 30) to pass or for a new release, whichever comes first.
Yeah.. noticed that happening...

It's just jumping ahead to the most recent Day record, which happens to contain a journal object...

I'll change it so it jumps to the most recent CPAP/Oximetery record instead.

_________________
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
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: SleepyHead –How to Purge future Dates?

Post by Jay Aitchsee » Mon Sep 29, 2014 9:38 am

Hey Mark, thanks for the reply.
I got it. Since I just entered this future date recently, I just deleted the last couple records and reread my SD card, seems to be fine.
Jay

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: S9 Auto, P10 mask, P=7.0, EPR3, ResScan 5.3, SleepyHead V1.B2, Windows 10, ZEO, CMS50F, Infrared Video

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

Re: SleepyHead –How to Purge future Dates?

Post by jedimark » Mon Sep 29, 2014 8:14 pm

Jay Aitchsee wrote:Hey Mark, thanks for the reply.
I got it. Since I just entered this future date recently, I just deleted the last couple records and reread my SD card, seems to be fine.
Jay
Yup, I was gonna suggest doing that, but figured you wanted to keep your notes.

Anyway, I did add a change for this behaviour in the source.. now it defaults to the last CPAP/Oximetery day instead of the last overall day, which makes much more sense.

I'm getting closer to make an updated build, but I've still got to redo the Records box, which temporarily got removed in recent rework.
The rest is hunting down some stability issues affecting Windows platform builds..

_________________
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

reeta
Posts: 1
Joined: Tue Sep 30, 2014 2:56 am

Re: SleepyHead –How to Purge future Dates?

Post by reeta » Tue Sep 30, 2014 2:59 am

What's in question for me is how this test for narcolepsy is going to be relevant in the context of testing for drivers to maintain their CDL licenses. Been reading quite a bit about that coming into play.