How to keep S9 high resolution data on SD card

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
Sia
Posts: 20
Joined: Sat Jun 29, 2013 3:32 am

How to keep S9 high resolution data on SD card

Post by Sia » Tue Apr 22, 2014 4:40 pm

Hi all,
is there a way to keep the high resolution data on the SD card? From what the Dr told me, the S9 keeps deleting that data after a week (or was it a month?).
Considering that these cards can go up to 2 GB, there should be plenty of space.

I understand that I would need to copy the high res files on a weekly (monthly?) basis, but at least they would still be there for the Dr to review.

Or mark those files as read only, so the S9 would (hopefully) not overwrite/erase them.

I know I am late to the round, so I am sure somebody has thought about this. I just can't find it.

Thanks!

User avatar
chunkyfrog
Posts: 34390
Joined: Mon Jul 12, 2010 5:10 pm
Location: Nebraska--I am sworn to keep the secret of this paradise.

Re: How to keep S9 high resolution data on SD card

Post by chunkyfrog » Tue Apr 22, 2014 5:05 pm

Most people will save the data in their computer, renaming the file so it will not be over-written.
ResMed seems to have no stake in our desire for long-term detailed data.

_________________
Mask: AirFit™ P10 For Her Nasal Pillow CPAP Mask with Headgear
Additional Comments: Airsense 10 Autoset for Her

Juanefny
Posts: 64
Joined: Tue Nov 17, 2009 1:32 pm

Re: How to keep S9 high resolution data on SD card

Post by Juanefny » Tue Apr 22, 2014 5:10 pm

chunkyfrog wrote:Most people will save the data in their computer, renaming the file so it will not be over-written.
ResMed seems to have no stake in our desire for long-term detailed data.
How often does Resmed write over the data?

_________________
Machine: ResMed AirSense™ 10 AutoSet™ CPAP Machine with HumidAir™ Heated Humidifier
Mask: ResMed AirTouch™ F20 Mask with Headgear + 2 Replacement Cushions Bundle
Additional Comments: S10 AirCurve (AutoASV); Pressures: Max PS: 14, Min PS: 6, Max EPAP: 14, Min EPAP: 10

User avatar
Pugsy
Posts: 64014
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: How to keep S9 high resolution data on SD card

Post by Pugsy » Tue Apr 22, 2014 5:19 pm

The S9 will spit out a write protected SD card. And it has to be in the S9 all night to get any detailed data files. If you make the least little change to the SD card contents the S9 will spit it out.
I don't know of any easy way to do what you are wanting to do. You would need to build a mirror copy of the SD card and keep adding the new files to it and then put it all on a SD card and take it to the doctor.

Most doctors don't even bother with the detailed graphs and data...and if they did they would want to see current data and not detailed data that is months old. If they look at anything it will be last week's data.
Docs look mainly for overall trends and patterns and rarely put a single night under the microscope.

You would of course have the old reports available on the software on your computer...easily printed off...put to SD card or if you have a laptop take the laptop with you.
How often does Resmed write over the data?
7 days for part of it and 30 days for the rest of it...detailed only. I don't remember exactly which is 7 days and which is 30 days. Give me a little bit to go find that information.

Summary usage data...AHI averages, hours of use, 95% leak averages, pressures...don't get overwritten though.
Nothing that the DME uses for insurance compliance gets over written. Only some of the daily detailed graphs.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

If you want to try the Eclipse mask and want a special promo code to get a little off the price...send me a private message.

User avatar
Pugsy
Posts: 64014
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: How to keep S9 high resolution data on SD card

Post by Pugsy » Tue Apr 22, 2014 5:23 pm

Juanefny wrote:How often does Resmed write over the data?
Found this in my notes. I think it is accurate.
There are 3 groups of data recorded by the S9, summary, detail, and high resolution.
Summary is compliance data and is the basic info on hours of use, pressure setting, and numbers and types of events.
High resolution data is the flow and mask pressure data which is recorded 25 times per second. The high res mask pressure data is not shown in Resscan or Sleepyhead, but it is on the card.
Detail data is recorded once every 2 seconds and is all the other data, including pressure setting of the S9.
Summary data is kept for 365 days on the card, detail data for 30 days, and high res for 7 days. Only the summary data is stored in the machine memory. Detail and high res data are recorded only on the SD card, so if no card is present no data is recorded. The data is recorded in "round robin" fashion, i.e., the oldest day's data is overwritten by the newest day's data.

The summary data is written from the machine to the card whenever the card is reinserted into the machine.

If you want to record all your data into Resscan or Sleepyhead, or want to simply keep a backup copy on your computer, you must download data at least once every 7 days.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

If you want to try the Eclipse mask and want a special promo code to get a little off the price...send me a private message.

Sia
Posts: 20
Joined: Sat Jun 29, 2013 3:32 am

Re: How to keep S9 high resolution data on SD card

Post by Sia » Tue Apr 22, 2014 10:37 pm

Hi,
thanks for the detailed info!!

Yes, I am backing up the data every week. Simply a full copy of all the files/folders of that week.
I just wanted to find out if it is known which folders/files actually are round robined.

I would love to find a way to keep all the data so the Dr can look at it at once without handing him an SD card for each week.

If the file(s) where the data is stored is known, one could maybe append the saved data from last week. Maybe even a scheduled batch file which would do that every week automatically.

In this case the Dr actually needs and wants to see the old data, to see the progress. A heart failure is the issue here, with water accumulating in the lungs preventing proper oxygenation. So the amount ot Lasix and other medication need to be "tuned" and monitored over a long period of time.

Anyhow, as mentioned, I had hoped this was discussed/solved already by the wise elders of this fine board.

Maybe I have to get a dozen or so SD cards and label them and play disc jockey.

It would have been great for all and in general to be able to view/review all data and not let the machne dump it for no reason.
I just wish I'd understands the inner workings of this all.
Thanks again!

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: How to keep S9 high resolution data on SD card

Post by Jay Aitchsee » Wed Apr 23, 2014 6:40 am

Sia, I think the best bet is for you to download ResScan and then download your data into it. This will preserve it for as long as you like and your Doctor will likely be familiar with the format. If you have it on a laptop, you can take it with you, as somebody said above, and review all your historical data with your Doctor in his office. Or, you can use ResScan to produce custom reports of your historical data which you can take with. Additionally, you will have all the data files on your computer if you want to copy them and try to use them in another machine. ResScan does have import and export capabilities, but I think it's limited to Summary Data only. A problem with copying data to an SD card you are using, I think, is that the S9 seems to be very particular about the format of data on the card and will not accept a card that is not formatted as expected, at least that seems to be the experience of users on the forum.
Pugsy can send you the link to download ResScan by PM.

_________________
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
billbolton
Posts: 2266
Joined: Wed Jun 07, 2006 7:46 pm
Location: Sydney, Australia

Re: How to keep S9 high resolution data on SD card

Post by billbolton » Wed Apr 23, 2014 8:53 pm

Sia wrote: I would love to find a way to keep all the data so the Dr can look at it at once without handing him an SD card for each week.
Basically, you are only fooling yourself if you think any clinician is likely to look any of at your high res raw data, let alone detailed raw data, unless there is a extremely specific reason to do so (that is, much more specific than your example case). Even if there was a strong enough case, they'd only look at very recent data

Printed reports from ResScan (et al) on a weekly or monthly basis would be more than adequate to satisfy the clinical need you have described.

Cheers,

Bill

_________________
MachineMask
Additional Comments: Airmini, Medistrom Pilot 24, CMS 60C Pulse Oximeter, ResScan 6

Sia
Posts: 20
Joined: Sat Jun 29, 2013 3:32 am

Re: How to keep S9 high resolution data on SD card

Post by Sia » Thu Apr 24, 2014 3:43 am

Bill, sad to see what experiences you had with your Drs to come to such a statement.

Our Dr is really thorough, he takes his time and showed me the difference of the breathing patterns.
And some reflow/reflexes and the dips in the O2 levels resulting from those disturbances (with a little delay).
But he could do that only for the few last days.
I had noted a night where I had issues, but when I went there a few weeks later, we were unable to look into them because of this data erasing issue.

Whether 30 days or a week, this erasure should not happen.

User avatar
Pugsy
Posts: 64014
Joined: Thu May 14, 2009 9:31 am
Location: Missouri, USA

Re: How to keep S9 high resolution data on SD card

Post by Pugsy » Thu Apr 24, 2014 7:27 am

Once your data files are loaded into the software those detailed graphs are there to stay. Those don't get erased.
It's only the files on the SD card that gets erased or written over.
That's why we say download at least once a week and all your data graphs will always be available.

I don't know why you weren't able to see the old reports in detail but you should have been able to see it. In ResScan I can still see all my old detailed graphs...and with this machine that I am now using that means back to the first of January. With my other S9...that would be over a year of use and I can still see the very first night's detailed data with either ResScan or SleepyHead.

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Additional Comments: Mask Bleep Eclipse https://bleepsleep.com/the-eclipse/
I may have to RISE but I refuse to SHINE.

If you want to try the Eclipse mask and want a special promo code to get a little off the price...send me a private message.

User avatar
robysue
Posts: 7520
Joined: Sat Sep 18, 2010 2:30 pm
Location: Buffalo, NY
Contact:

Re: How to keep S9 high resolution data on SD card

Post by robysue » Thu Apr 24, 2014 7:50 am

Sia wrote:Our Dr is really thorough, he takes his time and showed me the difference of the breathing patterns.
And some reflow/reflexes and the dips in the O2 levels resulting from those disturbances (with a little delay).
But he could do that only for the few last days.
I had noted a night where I had issues, but when I went there a few weeks later, we were unable to look into them because of this data erasing issue.

Whether 30 days or a week, this erasure should not happen.
Sia,

Resmed made a really stupid programming choice when they decided to have the machine simply overwrite the old wave flow every 7 days and the other detailed data every 30 days. It's not like the data card is anywhere close to being filled at that point.

But because Resmed made this decision, there's really not any good way around the problem. You will need to download the data at least once a week if you want to have access to all the wave flow data.

As for how to get that data to your doctor. My first inclination is to ask: Is your doctor aware of SleepyHead and is he willing to trust SleepyHead? If so, then you could save the contents of the SD card once a week to a folder on your computer and the provide the doc with a CD or SD card that has all the backed up raw data. I'd suggest putting each week's data into its own folder named with the date of the download. And keep all the backup data folders in one easy to find folder. It would still be a pain in the you-know-where for the doc's office to download the data since they'd have to download each week's data into SleepyHead one week at a time. But that would allow your doc to zoom in on wave form data if he is so inclined.

SleepyHead can read the raw data from any location on a computer, including either a CD or an SD card. ResScan, however, will only read the data from an SD card and will only read the SD card data if there is only ONE set of data on the card.

(As an aside, while PR machines don't overwrite all the detailed data on the card, PR has made different stupid programming decisions, including the fact that Encore will only download one or two night's worth of wave form data even though all the wave form data is on the card.)

_________________
Machine: DreamStation BiPAP® Auto Machine
Mask: Swift™ FX Nasal Pillow CPAP Mask with Headgear
Additional Comments: PR System DreamStation and Humidifier. Max IPAP = 9, Min EPAP=4, Rise time setting = 3, minPS = 3, maxPS=5

Sia
Posts: 20
Joined: Sat Jun 29, 2013 3:32 am

Re: How to keep S9 high resolution data on SD card

Post by Sia » Thu Apr 24, 2014 3:40 pm

The detailed data is indeed available on my PC, at least as long as I used ResScan to read it.
But I found no way to export it to a laptop.
I tried several programs with which one can migrate stuff from one PC to the other, too.
Problem with that is that the laptop is in W7 but my PC is Windoze XP and transfers fail (Registry error or so).

A batch file that would zip the existing files/folders from the SD card into a new folder (enumerated with year and week) onto the same SD card could do the trick.

On a weekly basis I could remove the SD card from the S9, put it in a PC, invoke that "ResQue" batch file.

The batch file would generate a folder "NAME_yyww" i.e. JaneDoe_1404 and put the stuff from last week zipped into that folder (and maybe back it up onto the PC, too?).

Another batch file (runs on Drs' PC) would zip the existing week into a temporary folder on the SD card.
Then it would offer to unzip a folder depending on existing folders.

Would that work?

User avatar
Jay Aitchsee
Posts: 2936
Joined: Sun May 22, 2011 12:47 pm
Location: Southwest Florida

Re: How to keep S9 high resolution data on SD card

Post by Jay Aitchsee » Thu Apr 24, 2014 4:23 pm

Why not just load ResScan onto the laptop? Then maybe you could swap the data files back and forth by copy and paste?

_________________
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
Last edited by Jay Aitchsee on Fri Apr 25, 2014 4:56 am, edited 1 time in total.

Sia
Posts: 20
Joined: Sat Jun 29, 2013 3:32 am

Re: How to keep S9 high resolution data on SD card

Post by Sia » Thu Apr 24, 2014 7:05 pm

With the other method the Dr can review the updated stuff whenever he needs to.
He actually prefers doing that, in his downtime. I sometimes drop off just the card.

We had been discussing sending him a copy of the card on a weekly basis. But that is a hassle.

I was thinking to email him the zipped weekly files, but his staff cannot do that (they prepare the Sd cards/download etc.).

Unfortunately the modem does not transmit all data, that was another thought we entertained.

Also, I would need to get/use a laptop just for this purpose, I have a desktop already.

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

Re: How to keep S9 high resolution data on SD card

Post by jedimark » Thu Apr 24, 2014 9:37 pm

Just a note on this subject for anyone running SleepyHead, it automatically creates an SD card backup for S9 machines under the machine folder in profiles.

For instance, my VPAP data is stored under
/Users/mark/Dropbox/SleepyHeadData/Profiles/MarkVPAP/ResMed_23131xxxxxx/Backup

(For most people, SleepyHeadData will be located inside your Documents folder)

With Newer builds (I can't remember if I started this in 0.9.3 or later) the only real difference between this and the SD card format is it puts the DATALOG EDF files under a subfolder with 4 digit year - these can be easily moved back to the DATAFOLDER directory when needed for ResScan/whatever.

If the compression option is turned on (which is not by default) these might be stored in .gz format, which is the standard GZIP compression format. Easily uncompressed with "gunzip *.edf.gz" in a terminal. (Not entirely sure how to on windows.. winrar/winzip/etc should handle them though)

SleepyHead also creates regular backup of the STR.edf file in a subfolder called STR_Backup.. It keeps the most recent STR.edf in the root of the Backup folder. (So you pretty much don't need to worry about this folder unless you want to access really old data)

SleepyHead can import directly from this backup folder without any changes, so if you need to start fresh, create a new profile and point the importer at this backup folder.

If you keep your own backups, or are short on space this "Backup" folder is safe to delete and there is an option in preferences to turn it off.. (Backups for S9 are on by default)

_________________
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