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.
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.
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...
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.
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 ...?
RE: CMS50 SpO2
Ok, strike that, I figured it out. : 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.
08-22-2018, 08:52 AM
(This post was last modified: 08-22-2018, 09:00 AM by JimInPT.)
RE: CMS50 SpO2
(08-22-2018, 06:09 AM)allanri Wrote: Ok, strike that, I figured it out. : 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.
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
RE: CMS50 SpO2
Quick question: what is “clock drift”?
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.
|