Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account

New Posts   Today's Posts

CMS50D+ Add date and time to SPO2 file
I would assume that it is common knowledge that the CMS50D+ does not have an internal clock, thus does not write a date and time into the SPO2 file.

This lack of date and time sometimes causes problems when importing the SPO2 files into Sleepyhead.  Sometimes it works, sometimes it puts the Oximetry session on the wrong day, I find this happens more often when the session is started after midnight.

I've tested adding the date and time to the SPO2 file and was able to associate it with the correct Cpap session, previously it would either add it to the day before or the day after.

If someone is having a problem with a SPO2 file not going on the correct day because of the lack of date and time in the file, attach or send me the .spo2 file with the date, and time you would like in it and we can test it out.  This is only for the CMS50D+, and your having problems associating your oximetry session with the correct Cpap session.

After testing and it works then I'll attach the program that I made.
Post Reply Post Reply
Interesting. I just went thru getting cms50d+ data into Sleepy Head. And nowhere was the YEAR specified!!!
Do you still want an SpO2 file ??

Post Reply Post Reply
If you want to test it out, attach or send me one before you import it, that way you don't have duplicate Oximeter sessions for the same day.
Post Reply Post Reply

Hello Adrinef,

I'm having the issue with .SpO2 files from CMS50D+ coming into the wrong date in SleepyHead. Adding date info to the files sounds like a good solution.  Does your offer still stand to test on one of my files and/or provide program?


Additional info:
   - Using SleepyHead-BrokenGL.exe from SleepyHead-1.0.0-beta-2-Snapshot-Win32-OpenGL-20160422
   - Using SpO2 Assistant V3.0.3 to save data from CMS50D+ for import to SleepyHead
   - Using Zeo Sleep Viewer 0.3.1 to read Zeo bedside data and save .CSV files for import to SleepyHead (that works fine).
Post Reply Post Reply
If anyone else wants to use the program to modify the date\time in the SPO2 file, I've attached it.  

Requires .Net Framework 4

Save the zip file. Unzip\Extract  it.
Run it.
After you run the program, click the Select SPO2 file button.  It should show the date and time all 0s.  Date format is Day-month-year.
#of Samples is the number of spo2 samples in the file(read only).

Use the date box and time box to set the new date and time, then click the "Save Date and Time" button and it should write it out to the file.

Make a copy of your Spo2 files before you test it because it writes to the original file and doesn't make a copy.

Attached Files
.zip   SPO2DateChanger.zip (Size: 12.33 KB / Downloads: 19)
Post Reply Post Reply

Possibly Related Threads...
Thread Author Replies Views Last Post
  Can SleepyHead export time series data as CSV? rbookman 5 285 10-16-2017, 03:00 AM
Last Post: TBMx
  Device connection for CMS50D+ in Win 10 qchdrider 0 147 09-24-2017, 10:12 PM
Last Post: qchdrider
Question about CMS50D-BT NSK8700 2 179 09-18-2017, 09:26 PM
Last Post: NSK8700
  Sleepyhead CMS50D+ Import Issues oz02 5 487 09-18-2017, 11:49 AM
Last Post: pholynyk
  Change Time Formate in Sleepyhead? JonnyCPAP 2 219 09-14-2017, 08:20 AM
Last Post: pholynyk
  uploading data from CMS50D+ evrything is failing bigtonio 5 285 08-31-2017, 05:14 PM
Last Post: bigtonio
  file structure not supported woolno 7 293 08-24-2017, 09:21 PM
Last Post: Sleeprider

Forum Jump:

New Posts   Today's Posts

About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.

For any more information, please use our contact form.