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

CMS50 SpO2
#11
RE: CMS50 SpO2
(03-15-2018, 10:13 AM)Crimson Nape Wrote: There is a time issue with the direct SpO2 data import.  The best way to import it in SH version 1.0 is to use the SpO2 file.  You will need to copy the original SpO2 file to another directory. This is due to file permissions set by the SpO2 Assistant program which prohibit data files from being imported from its home directory.

Good luck!!

Thanks for your posting about this - I copied the file elsewhere and was able to import and sync it in SH at long last!  I just received the Contec CMS50F yesterday and the first recorded data (last night) directly from the device was truly squirrelly, recording date/time for 70 hours up through 2 days  into the future.  Bleh.

Looks good now, thanks to your tip.
Post Reply Post Reply
#12
RE: CMS50 SpO2
Is it possible to trim out data from the CMS50F?

I turned it off along with the CPAP this morning, but must have missed the setting, because it continued recording nothing for another 45 minutes until I noticed it and stopped the recording.

Now my SleepyHead charts have a big blank space at the end since they run to the end of the SpO2 data.  I tried using the Contec software to "exclude" the data, but that only masks it internally as far as I can tell, but doesn't actually cut out the data from the file.

Is it possible to edit the datafile to remove that blank section at the end?  Thanks.
Post Reply Post Reply
#13
RE: CMS50 SpO2
It's not easy; the length of a session is embedded near the beginning of the file. It would be a pretty fancy Python program to let you look at the file and decide where you wanted to trim it and then write out the new file...
Post Reply Post Reply
#14
RE: CMS50 SpO2
(08-09-2018, 10:50 AM)pholynyk Wrote: It's not easy; the length of a session is embedded near the beginning of the file. It would be a pretty fancy Python program to let you look at the file and decide where you wanted to trim it and then write out the new file...

That's what I thought; I looked at the file with a hex editor and it's beyond my limited capabilities to do it that way; I was hoping there was an edit choice in the Contec software that would get the job done.

Thanks.
Post Reply Post Reply
#15
RE: CMS50 SpO2
I'm afraid I'm still not understanding how to make this work.  I did import the data from my CMS5037 to SPO2 Assistant, and then saved an *.SPo2 file. I then tried to import it into Sleepyhead; for some reason, the CPAP session (which I had previously imported) reported by Sleepy didn't match what actually happened; I started my CPAP at about 9:47pm; the reported sessions began at 01:48am. So I used the start time recorded by my oximeter, which was the same as the actual start time of my CPAP session.  It looked sort of ok, however, the oximeter data runs MUCH longer than my CPAP data ... I got up just after 5 am this morning.  Check it out: 
[attachment=7921]

Also, it's not clear to me how to use the SP02DateChanger; I opened my SPo2 file using this utility, and the start date/time seemed correct, so I wasn't sure what to change it to, or whether to change it at all ...?
Post Reply Post Reply
#16
RE: CMS50 SpO2
Ok, strike that, I figured it out.  :Smile I was importing directly from my device, not from the SPo2 file... still not sure why the CPAP session times are out of whack; I just imported using the oximeter's clock setting, and adjusted it by 30s or so to match the start time of my CPAP session.
Post Reply Post Reply
#17
RE: CMS50 SpO2
(08-22-2018, 06:09 AM)allanri Wrote: Ok, strike that, I figured it out.  :Smile I was importing directly from my device, not from the SPo2 file... still not sure why the CPAP session times are out of whack; I just imported using the oximeter's clock setting, and adjusted it by 30s or so to match the start time of my CPAP session.

If your PC and CPAP times are set via the Internet's atomic clocks, and are thus accurate and the same, you can use the Options menu for your CMS50 to "Synchronize Time" - this sets it to match your PC, which should be very close to your CPAP.

It's weird, though; you have to have the CMS50 turned on and connected in real time monitoring mode (which means the alarm will ding and drive you crazy unless you mute it) for that option to even be selectable on the menu - and then there's no indication that anything happened.  Dumb programming errors IMHO.
Post Reply Post Reply
#18
RE: CMS50 SpO2
The direct importing does not work correctly with the latest firmware as the device icludes information on clock drift that sleepyhead ignores. importing the SPO2 file is more reliable. As you have found
Post Reply Post Reply
#19
RE: CMS50 SpO2
Quick question: what is “clock drift”?
Post Reply Post Reply
#20
RE: CMS50 SpO2
(08-22-2018, 09:58 AM)allanri Wrote: Quick question: what is “clock drift”?

Clock Drift is the gaining or loss of time compared to actual time.  This is a common occurrence because the oscillation or frequency of the chip used for internal clocks in electronic devices varies or isn't exact.   A chip can be rated for 60Ht (hertz meaning times per second) may have an allowable deviation of +/-1Hz.  This can mean that this chip can oscillate between 59 to 61 times per second. If the firmware is using a 60Hz counting method, then a chip on the minus side would tend to run slow and lose time.  A faster oscillation would likewise gain time.   There is also a rounding error of milliseconds.  The atomic clock measures the wavelength or frequency of Cesium.  This frequency is 9,192,631,770 hertz. Due to rounding errors, we have leap seconds every so many years, which also clock drift.

I hope I have provided the information you requested.
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Huge SpO2 dips at sleep onset (with and without bi-level) THEVGE 19 728 11-29-2024, 10:32 AM
Last Post: robbob2112
  [Equipment] SpO2 Sampling Rate - Apple Watch Elroy 5 192 11-20-2024, 05:27 AM
Last Post: Elroy
Thumbsdown Recent switch to ASV gave me SPO2 drops weuw 10 671 11-03-2024, 02:15 PM
Last Post: SarcasticDave94
  Large SpO2 drop when starting sleep....issue or not? THEVGE 2 222 10-23-2024, 04:38 AM
Last Post: THEVGE
Sad OSCAR SPO2 Import Issue from Vihealth(Checkme O2) MikeVet 2 295 09-26-2024, 06:14 PM
Last Post: Phaleronic
  [Health] Worried about spO2 drops during the day and night... ZeroShun 2 295 09-26-2024, 02:27 PM
Last Post: ZeroShun
  Relation Spo2, apneas, and Leaks don't make sense insomeapnea 6 395 08-26-2024, 09:28 PM
Last Post: Jay51


New Posts   Today's Posts


About Apnea Board

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