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

CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
#11
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
(01-12-2021, 11:53 AM)tungpust Wrote: @sawinglogz

Glad to hear clock drift enhancements are on the radar. Not sure I would want to enter a new clock drift correction every time I do a flash card dump, though. Just a per-profile set  of voluntary occasional  corrections would work best for me (just as described in OP)
...
I imagine for some machines with wifi, the machine clock can be possibly be queried or otherwise observed during download, and compared with computer network walltime. This would be a more automated approach that could easily be done along with each download. But for those of us that hand-carry the card to a computer for download, not having to enter a correction each time is essential.

You're exactly right. The idea would be to expand the underlying data structures for *allow* for a time correction at each import, but not require it.

When OSCAR can connect to a device and determine the clock skew, it can (eventually) automatically record such a correction. When you bother to write a correction down, OSCAR could (eventually) let you record it for that session, and interpolate (if desired) between this correction and the last correction you entered for all intervening sessions.

And following on what Arie said, we want to make it easy to enter an adjustment during the import as well as afterwards, when looking at the data.

As a fun data point: I had left my SleepU in a drawer for about a month. I used it without syncing to my phone. Then when I imported I discovered its clock had drifted by about 7 minutes! I sure wish I could tell OSCAR to adjust the oximetry timestamp for that one session...
Post Reply Post Reply
#12
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
(01-12-2021, 01:24 PM)sawinglogz Wrote:
(01-12-2021, 10:32 AM)A KLERK Wrote: Isn't there a way to trigger all machines for synchronization? I try a cough plus movement...
Think of the motion clap board (right name?) used for the same purpose in movie industry...

But even armed with that knowledge, OSCAR doesn't make it easy for you to correct the relative timestamps for that night.

... not yet, I bet!
And, everything should be related to the PC-clock, which is the only accurate reference.
Arie KLERK: Member of the Dutch Apnea Association staff (https://apneuvereniging.nl) and proud to be the OSCAR Translations Team Coordinator. 
***Please help us: We’re always looking for more translators and language editors***

Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients, but just dedication to AB. 
Post Reply Post Reply
#13
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
(01-12-2021, 10:32 AM)A KLERK Wrote: Isn't there a way to trigger all machines for synchronization? I try a cough plus movement...
Think of the motion clap board (right name?) used for the same purpose in movie industry...

I do use attempts to simultaneously do sharp inhalations as I abruptly do jerks upward with the accelerometer before "wearing" (affixing) it. The sigh and the coincident slight motion is far more accurate.  Startup delays in logging, as well as reaction time variations, come in to play. It occurs to me now to try not starting the oximeter until lying down and ready to sleep. Turn it on as simultaneously as possible with start of a large leak by lifting the mask. There will still be a logging start up lag for SpO2 data, but more nearly constant.
I have no particular qualifications or expertise with respect to the apnea/cpap/sleep related content of my posts beyond my own user experiences and what I've learned from others on this site. Each of us bears the burden of evaluating the validity and applicability of what we read here before acting on it.  

Of my 3 once-needed, helpful, and adjunctive devices I have listed, only the accelerometer remains operative (but now idle). My second CMS50I died, too, of old age and the so-so Dreem 2 needs head-positioning band repair--if, indeed, Dreem even supports use of it now.



 
Post Reply Post Reply
#14
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
I synch the flow graph as follows:

At the beginning of a session I will move my hand in synch with my breath up and down, and then I’ll hold my breath for 5 seconds, and hold my hand still.
Later I can use the timestamp of my IR-camera and the flat flow line in the graph and my hand being still to find out how much the graph needs to be shifted.

I also enter the real (camera) start time of me holding my breath in the note for that day in OSCAR (so I could resync that day when needed). 

I need to resync every few days. It's crazy in this day and age that a device like my Airsense 11 can't keep the correct time.

It would be nice if one wouldn't have to recalculate the shift every time. If one could enter the CPAP time and a source-time, OSCAR could calculate it itself.

I would be really happy if OSCAR would allow for a timeshift per day (forget about the interpolation for now)...


Two questions:

1. If I would let my ensurance company enable Wifi on it, would it keep the correct time?
2. When will OSCAR have this feature to enter a timeshift per night? It is really needed!!
Post Reply Post Reply
#15
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
I'd like to suggest the ability to time-shift to align individual waveforms on the daily report page. I noticed my wellue oximeter stats (spo2, pulse, motion) did not align with the Resmed Air 10. Ends up the CPAP time was off, and therefore correcting the CPAP time reduced the misalignment but my older readings are still misaligned.

I can guage the misalignment by visually corrolating oximeter motion detection to gaps in CPAP readings (I got up, turned off the machine, then came back to bed and turned on the machine.)

I would not expect this to be a precise alignment, but aligning within a minute or a few would help.
Post Reply Post Reply
#16
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
https://www.apneaboard.com/wiki/index.ph...with_OSCAR
- Red
Crimson Nape
Apnea Board Moderator
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
#17
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
I think I've said this before, but I think ResMed is a canonical example of Idiot Savant Engineering.

There are a huge number of subtly brilliant engineering decisions in a ResMed machine.

...and then there's the bone-headed idiocy.

In order to have that cellular card and to connect to the cell phone network, a clock is required. Which means that every ResMed with a cell modem has TWO clocks to choose from when recording times of data. One of those clocks is part of the modem and it's synched to the world's time servers.

Even if you are going to ignore the correct clock that's right there, there is another way that the machine could get the correct time. Every day the machine "phones home" and uploads data to the main ResMed servers. While it's chatting, it COULD ask the server "hey what time is it?"

But, no, they label the data with the clock that drifts...  Oh-jeez
Post Reply Post Reply
#18
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
Coincidentally, I just added a comment regarding this:

https://www.apneaboard.com/forums/Thread...#pid529398





(@cathyf, it could have also synced time using the myAir App via BlueTooth)..
Post Reply Post Reply
#19
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
What I intended to convey is a feature that allows the alignment within the GUI. Ideally, being able to slide wave forms to align them. However, I do understand that making feature requests is much easier than writing code. I am greatly appreciative that this software exists as-is!

I tend to put the oximeter on first, which is registering motion as I get the mask on and other things to prep for sleep. Opposite when I get up. And its not unusual that I may get out of bed in the night, turning off the APAP but leaving the oximeter on. So, it tends to be obvious when the wave forms are out of alignment.

The only other thing I'd like to be able to do is filter out the first X and last Y minutes of the recording from the stats, though I understand the resmed, not Oscar, is doing the calculations.

Thank you for developing this software
Post Reply Post Reply
#20
RE: CPAP clock drift enhancement for OSCAR (multiple time-dependent corrections)
@frolic
You are absolutely right. It would even be possible to align the CPAPs graphs automatically to the oximeters graphs.
It is certainly possible to find the best fit automatically to the CPAP graphs, and it would be pretty accurate. 

However, if memory serves me right, it is indeed pretty complex to make such changes in Oscar because of the way it is was developed a long time ago. 
I might have a look at it again shortly.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Session time timestamps OSCAR 00derek 3 255 07-19-2024, 09:38 AM
Last Post: Crimson Nape
  "Updating" to OSCAR 1.5.3 -vs- installing OSCAR first time JoyD. 2 429 06-13-2024, 07:14 PM
Last Post: OpalRose
  Imported Wellue O2 Data and Now CPAP Oscar Times Off awarren82 3 340 05-22-2024, 11:30 AM
Last Post: Crimson Nape
  Oscar 1.5.3 for Linux freezes after clicking on 'CPAP Importer'. Mast04 13 910 05-04-2024, 02:11 AM
Last Post: Mast04
  Oscar with multiple machines pixpop 16 1,098 04-30-2024, 03:43 PM
Last Post: PapaBear562
  Display average AHI over time period ? Bernard Flapdoodle 1 391 04-09-2024, 03:30 PM
Last Post: LoudSnorer
  OSCAR import of Viatom/Wellue data - DST time base SleeperAwake21 5 1,332 03-30-2024, 02:21 PM
Last Post: dfunk


New Posts   Today's Posts


About Apnea Board

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