Inserting CMS-50 Pulse-Ox Graphs into SleepyHead/OSCAR (rev6-2022)

General Discussion on any topic relating to CPAP and/or Sleep Apnea.
User avatar
STL Mark
Posts: 950
Joined: Thu May 06, 2010 1:37 pm
Location: St. Louis, MO - USA

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by STL Mark » Wed Jul 24, 2013 4:11 pm

jdr999 wrote:
Papit wrote:That's a tough one, jdr. There have been and may still be compatibility issues re. SH and the Mac. Additionally, with the 50F, SpO2 Review (not SpO2 Assistant) is the relevant software to use. If you have a PC around, you could check out your pulse-ox and use of the SpO2 Review software and be sure there are no other hardware or software issues at work here; and also get some initial readings of your oxygen desaturations.
At least in my case (Parallels running XP) only Assistant is able to read my 50F. I also have Review but it won't work. There are newer versions of the software (for newer versions of windows) but I'm still running XP so that may be an issue.. Who knows?
I have Parallels 8 using a Windows 7 VM and am having no problems with Sp02 Review v1.2 reading my CMS-50F. I did have to click the USB icon at the bottom of the Parallels Desktop and selected the CP2102 USB to UART bridge controller device to make the CMS-50F available to Windows 7. I don't have a Windows XP VM setup to test how things would work with that.

_________________
Mask: AirFit™ F10 Full Face Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Machine: S9 VPAP Adapt (eASV) 36037

Mode: ASVAuto, Min EPAP: 4, Max EPAP: 15, Min PS: 3, Max PS: 15, Ramp: Off - Original Titration: 18

User avatar
Papit
Posts: 843
Joined: Sun Dec 18, 2011 4:47 pm
Location: USA CA

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by Papit » Wed Jul 24, 2013 8:57 pm

STL Mark wrote:
jdr999 wrote: At least in my case (Parallels running XP) only Assistant is able to read my 50F. I also have Review but it won't work. There are newer versions of the software (for newer versions of windows) but I'm still running XP so that may be an issue.. Who knows?
I have Parallels 8 using a Windows 7 VM and am having no problems with Sp02 Review v1.2 reading my CMS-50F. I did have to click the USB icon at the bottom of the Parallels Desktop and selected the CP2102 USB to UART bridge controller device to make the CMS-50F available to Windows 7. I don't have a Windows XP VM setup to test how things would work with that.
Nice, STL Mark! That makes me more optimistic that jdr can get 'er done too. I suspect he needs the correct SpO2 version for his 50F firmware and Windows XP. It's been a long time since I had to plow through this firsthand and you just jogged my memory about having selected CP2102 USB to UART bridge controller. Do you recall where you saw the instruction or prompt to do that? Am not sure it's needed if the prompt comes up clearly, but maybe we should insert that as a step in the instruction set sheet for newer PC users to look for it. Can you help on that with an 'insert' in the right place (paragraph no.)? This entire pulse-ox/SpO2/SleepyHead interface is quite a challenge, and can be very time consuming for most, which leads me to believe that many CMS-50 users give up and don't get to see their pulse and oxygen graphs in SH.

_________________
Mask: DreamWear Nasal CPAP Mask with Headgear
Additional Comments: Machine: AirCurve 10 ASV (37043), Software:ResScan 5.7.0.9477, SleepyHead V1.00BETA2, Oximeter:CMS-50i
Machine: AirCurve 10 ASV, Mask: AirFit N30i
PulseOx Data-transfer to OSCAR4-23-12http://tinyurl.com/nzd64gu
Wireless SD Card Data-transfer to OSCAR 8-14-15http://tiny.cc/z1kv8x

User avatar
STL Mark
Posts: 950
Joined: Thu May 06, 2010 1:37 pm
Location: St. Louis, MO - USA

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by STL Mark » Wed Jul 24, 2013 10:09 pm

Papit wrote:Nice, STL Mark! That makes me more optimistic that jdr can get 'er done too. I suspect he needs the correct SpO2 version for his 50F firmware and Windows XP. It's been a long time since I had to plow through this firsthand and you just jogged my memory about having selected CP2102 USB to UART bridge controller. Do you recall where you saw the instruction or prompt to do that? Am not sure it's needed if the prompt comes up clearly, but maybe we should insert that as a step in the instruction set sheet for newer PC users to look for it. Can you help on that with an 'insert' in the right place (paragraph no.)? This entire pulse-ox/SpO2/SleepyHead interface is quite a challenge, and can be very time consuming for most, which leads me to believe that many CMS-50 users give up and don't get to see their pulse and oxygen graphs in SH.
This would only pertain to MAC users running Parallels. So would no be a requirement for all PC users.

At the bottom right of the Parallels Desktop screen is an icon for USB (looks like a USB cable connector). Clicking it after connecting the CMS-50F to the MAC will show you the below screen. If the CP2102 USB to UART bridge controller is not selected with a check mark the user needs to select it to make it available to Windows.

(Click for larger view)
Image

_________________
Mask: AirFit™ F10 Full Face Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Machine: S9 VPAP Adapt (eASV) 36037

Mode: ASVAuto, Min EPAP: 4, Max EPAP: 15, Min PS: 3, Max PS: 15, Ramp: Off - Original Titration: 18

User avatar
Papit
Posts: 843
Joined: Sun Dec 18, 2011 4:47 pm
Location: USA CA

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by Papit » Wed Jul 24, 2013 10:43 pm

Great. Thanks, Mark. I'll work this into the instruction set for Mac users.
Is using Parallels the only way to get the Mac to interface with SpO2 software for CMS-50F users? I also wonder what the story is re. 50FW users?

_________________
Mask: DreamWear Nasal CPAP Mask with Headgear
Additional Comments: Machine: AirCurve 10 ASV (37043), Software:ResScan 5.7.0.9477, SleepyHead V1.00BETA2, Oximeter:CMS-50i
Machine: AirCurve 10 ASV, Mask: AirFit N30i
PulseOx Data-transfer to OSCAR4-23-12http://tinyurl.com/nzd64gu
Wireless SD Card Data-transfer to OSCAR 8-14-15http://tiny.cc/z1kv8x

User avatar
STL Mark
Posts: 950
Joined: Thu May 06, 2010 1:37 pm
Location: St. Louis, MO - USA

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by STL Mark » Wed Jul 24, 2013 10:56 pm

Papit wrote:Great. Thanks, Mark. I'll work this into the instruction set for Mac users.
Is using Parallels the only way to get the Mac to interface with SpO2 software for CMS-50F users? I also wonder what the story is re. 50FW users?
It is the way I use. Parallels allows you to run all PC software on the mac. I've heard rumors of a mac driver for the contac oximeters but I have not been successful in finding a working version.
Many people have dual boot partitions on their hard drive and use the mac hardware with windows software. That may even be easier.

_________________
Mask: AirFit™ F10 Full Face Mask with Headgear
Humidifier: S9™ Series H5i™ Heated Humidifier with Climate Control
Additional Comments: Machine: S9 VPAP Adapt (eASV) 36037

Mode: ASVAuto, Min EPAP: 4, Max EPAP: 15, Min PS: 3, Max PS: 15, Ramp: Off - Original Titration: 18

pbriggs
Posts: 173
Joined: Thu Aug 15, 2013 11:56 am

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by pbriggs » Fri Sep 06, 2013 10:27 am

Well this was more than nice to work through - I have a few additional points ...
For me, none of the software on the website worked, I had to use the CD that came with the CMS-50F (white plastic one). The CD had SPO2 review v1.2. I am running windows 7 64 bit. None of the other software would work for me. Granted I did not play for too long to get it to work, but the newer ones never recognized the device. I will play more with this later to see...

So for a few more points to add to the directions - they were awesome and I am sure it would have taken hours to get this to work without them, just a few adders...

1a. if you did not name the file, then in the file open menu you can click on the “detail view” icon in the upper right of the file open window. This will display the file type, file size, along with the date and time that the file was created. This way you can select the file based on the date and time that it was created.

4. Exit out and restart SleepyHead - I am not sure you need to do this anymore - I will have to try tomorrow to be sure...

5a. If the date and time do not align, then you can fix this. In the daily tab, make sure the “details” tab is selected in the left side menu. If you look down at the bottom of that screen you will see “session information” If you have already imported your xPAP data then you will see two sessions listed. The fist session is the XPAP session and the second is the “Oximetry Sessions”. If you hover over the number of the session, it will show you the name of the oximeter and the total recording time. Clicking on the session number will bring the data back into the “oximetry” tab.

5b. Now that you are back in the oximetry tab. In the lower left hand corner of the screen you will see “Date” with the following format mm/dd/yyyy hh:mm:ss. The time is shown in military time or 24 hour time. So 2:00pm is 14:00. If you want to move the time a few seconds, just type the exact time that you want the data to start. So if you are of, late,f by 3 seconds to align the data, then just add 3 seconds to the number that is already in the seconds spot.

5.b.1 An example. Let’s say I bring in the data into the sleephead, following the previous directions, and when you look at all the data together you see that the oximeter data starts 3 seconds after the xPAP data. You know you started them together so we can adjust the time. Looking at the time in the lower left is says “9/5/2013 22:32:15” We need to take 3 seconds away from the start time, so 15-3=12. We would change the 15 to be 12. Then it would say “9/5/2013 22:32:12”.

5.c. Now that we have adjusted the time, we click on the save icon on the lower right side in sleephead. The software will ask if you want to save this oximetry session. Click yes to save the changes. The screen will then show the “No Oximetry Data” and you can ignore this. Then when you go back to the daily tab you should see the data with the new time.

Is there a way to add files to this site? I would love to put all of this together in a "word" document with screen shots and the like ...
Paul

_________________
Mask: Mirage™ FX Nasal CPAP Mask with Headgear
Additional Comments: 14/10 with REM Sleep Behavior Disorder

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

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jedimark » Fri Sep 06, 2013 5:29 pm

Gosh.. I've been absolutely torturing you guys with SleepyHead's oximetry stuff.

I've just rewritten the CMS50 serial importer, and now direct serial import in SleepyHead for CMS50D+/E/F should work consistently, anyone who uses builds SleepyHead from source code can access this already with the latest commit. It does need a thorough testing.

I need to get some focus and smash some bugs.. and get some updated builds out, especially for Mac users!

_________________
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

roslynr
Posts: 20
Joined: Tue Jun 17, 2008 7:12 pm

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by roslynr » Tue Oct 08, 2013 10:01 am

Wondering why Sleepyhead software doesn't automatically sync the SPO2 date/time; why make the user do this? If the date/start times are beyond a certain threshhold, just report that data can't be linked as is now done now.

_________________
MachineMask

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

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jedimark » Wed Oct 09, 2013 1:23 am

roslynr wrote:Wondering why Sleepyhead software doesn't automatically sync the SPO2 date/time; why make the user do this? If the date/start times are beyond a certain threshhold, just report that data can't be linked as is now done now.
Because CMS50D+ devices don't have a clock, the devices that do do not record seconds or the date.. just hours and minutes, and also CPAP machines clocks tend to drift... and often by a large amount.

The only way to properly sync these devices is to start both Oximeter & CPAP at the same time and use the CPAP time for this.

Import process has been automated in the current source code.. Clicking on the oximetry icon in the right will now automatically start the import process - auto detecting the oximeter/serial port, checking it is on and ready to transmit, waiting for the user to click upload if the Oximeter requires it. (CMS50 D+ models are fully automatic, E & F models require the user to select upload to start transmitting recording data)

At the end of import, SleepyHead now will asks if you remembered to start both devices at the same time, and uses the last CPAP time if yes, and if not, it will use the oximetry provided time if available. Otherwise your left to set your own in the case of a 50D+ (still working on how best to ask that question.. maybe a popup dialog asking for the starting date/time)

The "oximetery" tab will be kept for session editing purposes, but eventually will not be part of the serial import process. (Right now you still have to click the save button after import is complete)

I'm happy to report direct serial importing from CMS50 D+, E & F models all work very well now. SleepyHead also now works great for those just using an oximeter without CPAP machines. Best to have one with a clock for this though (E or F models)

_________________
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
jdr999
Posts: 175
Joined: Wed Mar 06, 2013 12:59 pm
Location: New Jersey

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jdr999 » Wed Oct 09, 2013 5:00 am

jedimark wrote:I'm happy to report direct serial importing from CMS50 D+, E & F models all work very well now. SleepyHead also now works great for those just using an oximeter without CPAP machines. Best to have one with a clock for this though (E or F models)
Hi Mark,

That's awesome to hear!

Does the Mac version also support the 50F? If so, how can I get an updated version? I'm currently running:

SleepyHead v0.9.2-2 (beta)
Build Date: Feb 3 2012 12:56:41
Revision: 27a56ec8bd64edeef9e2cd575badcc43e88c564d

By the way, if you remember I also had trouble with the ResMed oximetry kit. Did you ever have time to look into that?

Thanks again!
Joe

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: ResMed AirCurve 10 ASV, EPAP 8-15 / PS 5-10, Airfit P10, Sleepyhead MAC

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

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jedimark » Wed Oct 09, 2013 6:03 am

jdr999 wrote:
jedimark wrote:I'm happy to report direct serial importing from CMS50 D+, E & F models all work very well now. SleepyHead also now works great for those just using an oximeter without CPAP machines. Best to have one with a clock for this though (E or F models)
Hi Mark,

That's awesome to hear!

Does the Mac version also support the 50F? If so, how can I get an updated version? I'm currently running:

SleepyHead v0.9.2-2 (beta)
Build Date: Feb 3 2012 12:56:41
Revision: 27a56ec8bd64edeef9e2cd575badcc43e88c564d

By the way, if you remember I also had trouble with the ResMed oximetry kit. Did you ever have time to look into that?

Thanks again!
Joe
Mac version works fine with 50F.. I'm am currently trying to get some libary linking issues sorted out at the moment (specifically, trying to get the qextserialport and quazip library to link as a framework on Mac, so Linux and Mac builds are a both lot cleaner and easier to package.)

After that I have a couple of ResMed summary and EPR issues to fix, a bit more translation work, then it's a new build for everyone.

The ResMed Oximeter is importing, the channels display just got left switched off in SleepyHead code.. I will look over that again.. Did I ask you to send me a copy of your S9's SD card with some oximetery data? Can you send me a reminder so I can look at it again.

It's going a little slow because I'm busy focusing on a side project for a little later down the track, the next stage of SleepyHead's core foundation, SleepLib v2.0... it's coming along very nicely.. but I don't want to give away too much yet.. Spoilers....

_________________
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
SleepyCPAP
Posts: 333
Joined: Wed Dec 08, 2010 6:01 am

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by SleepyCPAP » Tue Nov 26, 2013 7:35 am

I'm digging up this thread to ask: do I understand that Sleepyhead on Macs can now import the CMS50 data without having to use Windows software?
(in other words, no Bootcamp or Parallels, etc? Just Sleepyhead.)

If so, I'm going to put one of those Pulse Ox devices on my Christmas wish list. If not, I can wait.

--SleepyCPAP

_________________
Machine: AirCurve™ 10 VAuto BiLevel Machine with HumidAir™ Heated Humidifier
Mask: Bleep DreamPort CPAP Mask Solution
Additional Comments: Use OSCAR. Combine AlaxoStent with VAuto for perfect 0.0 AHI at PS 3.6 over 4cm EPAP
-- SleepyCPAP
Sleep study in 2010 (11cm CPAP). Pillows (Swift FX>TAP PAP >Bleep). PRS1 “Pro” 450/460 until recall, now Aircurve 10 VAuto. Tape mouth. Palatal Prolapse solved by AlaxoStent & VAuto EPAP 4cm, PS 3.6cm = 0.0 AHI

User avatar
jdr999
Posts: 175
Joined: Wed Mar 06, 2013 12:59 pm
Location: New Jersey

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jdr999 » Tue Nov 26, 2013 8:20 am

SleepyCPAP wrote:I'm digging up this thread to ask: do I understand that Sleepyhead on Macs can now import the CMS50 data without having to use Windows software?
(in other words, no Bootcamp or Parallels, etc? Just Sleepyhead.)

If so, I'm going to put one of those Pulse Ox devices on my Christmas wish list. If not, I can wait.

--SleepyCPAP
I'm still unable to import my CMS-50F into SH Mac. It may depend which CMS you are looking at, but mine won't work. Still only Parallels....

_________________
Mask: AirFit™ P10 Nasal Pillow CPAP Mask with Headgear
Additional Comments: ResMed AirCurve 10 ASV, EPAP 8-15 / PS 5-10, Airfit P10, Sleepyhead MAC

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

Re: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jedimark » Fri Nov 29, 2013 10:40 am

jdr999 wrote:
SleepyCPAP wrote:I'm digging up this thread to ask: do I understand that Sleepyhead on Macs can now import the CMS50 data without having to use Windows software?
(in other words, no Bootcamp or Parallels, etc? Just Sleepyhead.)

If so, I'm going to put one of those Pulse Ox devices on my Christmas wish list. If not, I can wait.

--SleepyCPAP
I'm still unable to import my CMS-50F into SH Mac. It may depend which CMS you are looking at, but mine won't work. Still only Parallels....
Does it show up in System Report?

_________________
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: Inserting CMS-50 Pulse-Ox Graphs into SleepyHead (rev3-2013)

Post by jedimark » Fri Nov 29, 2013 10:49 am

SleepyCPAP wrote:I'm digging up this thread to ask: do I understand that Sleepyhead on Macs can now import the CMS50 data without having to use Windows software?
(in other words, no Bootcamp or Parallels, etc? Just Sleepyhead.)

If so, I'm going to put one of those Pulse Ox devices on my Christmas wish list. If not, I can wait.

--SleepyCPAP
Well, my plain old USB connected CMS50F works fine on mac..

You DO need to install the Silicon Labs CP2102 USB to UART Bridge driver though... otherwise SleepyHead can't detect it.
http://www.silabs.com/products/mcu/page ... ivers.aspx

Edit: Just confirmed this on my new MBP running OSX Mavericks.. Even though System Report showed the USB device string correctly, it wouldn't work until I installed the Silicon Labs driver.

Edit Edit: You will have to run one of the "Unstable Builds" (0.9.4) for it to work properly.

_________________
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