Apnea Board Forum - CPAP | Sleep Apnea
Sleepyhead crashes during import - Printable Version

+- Apnea Board Forum - CPAP | Sleep Apnea (https://www.apneaboard.com/forums)
+-- Forum: Public Area (https://www.apneaboard.com/forums/Forum-Public-Area)
+--- Forum: Software Support Forum (https://www.apneaboard.com/forums/Forum-Software-Support-Forum)
+--- Thread: Sleepyhead crashes during import (/Thread-Sleepyhead-crashes-during-import)



Sleepyhead crashes during import - Roy289 - 03-12-2017

Sleepyhead v1.0.0 Beta -1 crashes during data import routine.

Suspect this may have something to do with large number of Notes.  I routinely update daily status using Notes and have noticed SH has been slowing down during import.

Anyone have similar experience?


RE: Sleepyhead crashes during import - Sleeprider - 03-12-2017

You might rebuild the data and see if it helps. The notes should not affect the import since they are in the SH data, not on the SD card.


RE: Sleepyhead crashes during import - Crimson Nape - 03-12-2017

Unless you're using Linux as your O/S, you might try updating SH to the version: Beta-2.


RE: Sleepyhead crashes during import - Roy289 - 03-12-2017

I use a SD wireless card in my CPAP machine and transfer the data files to a local folder using the FlashPap utility. SH initially loaded ok but when importing last nights data files crashed.

My first thought was corruption of the files perhaps during the wireless transfer. Interestingly this has occurred when DST was taking place. I deleted last nights files and ran FlashPap but this didn't resolve the problem.

Also tried deleting the prior nights data files (which worked yesterday) and then using Flashpap to reload them. This resulted in same crash so know the problem isn't likely the data but something wrong with SH itself or dll etc.


RE: Sleepyhead crashes during import - edfreeman - 03-12-2017

If you've mounted that SD card as a drive on your network, Sleepyhead will also see it and try to import it. Like you, mine was doing that and would either take awhile or crash altogether. I've taken to "Specify Folder" as a solution, selecting the SD card in my card slot where I've already transferred the data.


RE: Sleepyhead crashes during import - Sleepster - 03-12-2017

There's a known issue: SleepyHead appears to crash when importing data, but instead is simply taking a very long time to do so. You just have to walk away and have a cup of coffee or something while you wait. Mornincoffee

<Moderator Note: This thread has been moved here from the main forum, with a redirect.>


RE: Sleepyhead crashes during import - Roy289 - 03-13-2017

Sleepster thanks for moving my thread to software forum as my mistake in posting to main forum.

Update: my import is working fine this morning. Tried deleting the prior 3 nights of data on my local folder (FlashPap directory) which was copied from machine wireless SD card. Next reloaded those dates again using Flashpap utility. Then tried import again and got the same crash.

Eventually did a Rebuild of the Cpap data and this morning everything is back to normal. Rebuild relies on the Backup folder under the Resmed_xxxxxxx directory to be intact. Used the Debug window to track SH and found there were no Events on those three days that were deleting earlier. (used the calendar to select each of the days).

Assume the import routine extracts the Raw SD card data into summaries,events and backup folders under Resmed_xxxxxxxxx part of Profile directory. The only thing unusual was the problem occurred on the night DST took effect Mar 12. I could see the numerous times import was used as each import gave the imported data a unique ID. Still puzzled why this problem occurred.


RE: Sleepyhead crashes during import - edfreeman - 03-13-2017

Mine started when I set up the Flashair card with FlashPap initially. When it set up that folder on the C drive for SH to look at, it continued to look there no matter what. I was trying to use Rescan in parallel which requires an SD card for the data, so the Flashpap folder wasn't going to do. If I had an SD card and the Flashpap created folder available, SH would scan both of them, and that second scan took all the time. Once I mounted the FlashAir card as my X drive, SH found it, too, and would try to scan it. Once I figured it out, deleted the FlashPap created folder, and learned to hit "Specify" and "Ok," updating is easy. I do have to copy the files from the FlashAir card to the SD in my laptop, which is what Flashpap does anyway.


RE: Sleepyhead crashes during import - AlanE - 03-14-2017

Is the time set right on your machine?


RE: Sleepyhead crashes during import - Roy289 - 03-14-2017

AlanE - no the time was off (slow by roughly 20min). I adjusted the time to account for the DST (+1hr) and corrected the lag. So time correct now.
Another problem: The timeline in the graphics doesn't match the actual start and end times which are summarized in daily\details. Appears the scale is shifted by 1hr later. The cursor time matches both the start and end times to the daily\details. This is probably a known bug.

edfreeman - I only use SH and take my raw data via the wireless card using the FlashPap utility. The Raw data is stored in a folder (one folder per day) which contains edf files ( CSL,EVE,BRP,SAD) files with associated .crc. During import this data is transformed to files with extension .001 and contain following info.
Type Details
EVE Event annotation data
BRP High resolution graph data
SAD Pulse oximetry data
PLD Low resolution graph data

In my case the .001 appears to be duplicated many times for Mar 12th perhaps due to my attempt to attempt numerous Imports which all crashed SH. Rebuilding the database fixed the crash problems but source of the problem is unknown. Perhaps data corruption during the wireless transfer.

Thanks everyone for your help