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. Login or Create an Account
OSCAR not importing today's data
|
11-04-2020, 04:00 PM
RE: OSCAR not importing today's data
Seems the right thing to do is as you say, git pull. I've been told if I had any changes that I wanted to save, I would do a git stash. That way I could pop the stash if necessary. Thanks @GuyScharf. I'll build that later today.
11-04-2020, 05:28 PM
RE: OSCAR not importing today's data
For the sake of completeness, at least on an i7 Ubuntu 20.04 system this is what works. And yes, I saved this to a file so I don't need to pester anyone about this again!
$ cd OSCAR/build $ make clean $ cd ../OSCAR-code $ git pull $ cd ../build $ qmake ../OSCAR-code/OSCAR_QT.pro $ make -j4 Executable is in OSCAR/build/oscar Now running OSCAR 1.2.1. Got a temporary scare when it wanted to create a new directory, but steered it to what I had. All is good. I stuck in the make clean to get rid of any old stuff to force a full build. If this weird time error comes up again, I'll be ready!
11-10-2020, 07:22 AM
(This post was last modified: 11-10-2020, 07:25 AM by happydreams.)
RE: OSCAR not importing today's data
OSCAR failed to import this morning. Here is the debug log.
This is getting frustrating. Had a decent night and can't look at it! Code: 00000: Debug: Started logging thread
RE: OSCAR not importing today's data
Thanks for the debug log (with the latest improvements to diagnostics). This makes it all clear.
The debug log says that it was "Tuesday November 10, 2020 07:13:30 (am)" at the time you imported the data, but that the mask off (end of session) time was "Tuesday November 10, 2020 07:28:30 (am)." So, it looks like the clock in the CPAP machine is not set the same as the clock in your computer, and you probably imported the data very shortly after getting up. Is this true? Workaround is to import the data again in an hour or so.
Useful links
Download OSCAR (current version is 1.5.1) Best way to organize charts How to attach charts to your post Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
11-10-2020, 09:55 AM
RE: OSCAR not importing today's data
That makes some sense! Yes, my new to me ResMed was received during DST and the clock was set then. Of course, my computer has software on it which automatically adjusts the time, including DST/ST. All modern computers do this. So my computer clock is behind that of the ResMed. (And will be for many months!) It's a pity that the PAP machines don't adjust, but I can see why they wouldn't, both from a cost and security perspective.
To be honest, I was so excited to see a good number, so I wanted to hurry up and look at the results! You said, "So, it looks like the clock in the CPAP machine is not set the same as the clock in your computer, and you probably imported the data very shortly after getting up. Is this true?" Yes! That is exactly what I did! So for now, I can just wait a bit. Wish there were a better solution, but this should work.
11-10-2020, 10:10 AM
RE: OSCAR not importing today's data
Wouldn't the solution be to set the ResMed to UTC-n, where n is one's ST offset from UTC, and for OSCAR to use UTC-n for time? That way the clocks would always be correct? None of this DST confusion...
RE: OSCAR not importing today's data
It's not just a DST problem. And UTC vs local time is a giant can of worms!
I will be looking into the issue. I first need to find out what the thinking was behind making that check.
Useful links
Download OSCAR (current version is 1.5.1) Best way to organize charts How to attach charts to your post Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
11-10-2020, 10:30 AM
RE: OSCAR not importing today's data
@GuyScharf thanks for looking into it.
UTC by definition should be ok. UTC by Standard Time offset should be ok, I think. ST offset is fixed by location on the planet relative to UTC. (Well, most of the time...) From Wikipedia: Coordinated Universal Time (or UTC) is the primary time standard by which the world regulates clocks and time. It is within about 1 second of mean solar time at 0° longitude, and is not adjusted for daylight saving time. It is effectively a successor to Greenwich Mean Time (GMT). Yes handling time correctly IS hard!
11-10-2020, 12:41 PM
RE: OSCAR not importing today's data
Looking this up some more, I think the more technical term that should be used is UTC offset. UTC offset should be DST invariant. Whether UTC offset is universally DST invariant might depend on the platform, but I have not personally checked that.
So if OSCAR uses as its timebase UTC + UTC time offset, and we set the PAP device to the same, then apparent time will not vary over the year. (Assuming the PAP device has a reasonable drift. My computer is time corrected by timedatectl, and some kind of ntp service is active.) $ timedatectl status Local time: Tue 2020-11-10 11:32:25 EST Universal time: Tue 2020-11-10 16:32:25 UTC RTC time: Tue 2020-11-10 16:32:25 Time zone: America/New_York (EST, -0500) System clock synchronized: yes NTP service: active RTC in local TZ: no If UTCoffset is DST invariant, then OSCARtime = UTC + UTCoffset Perhaps a solution for DST variant UTCoffset might be: OSCARtime = UTC + UTCoffset -DST*1, where DST=1 if daylight savings time is active, or DST=0 if in standard time Guess the real issue is if DST is actually reported separately, rather than embedded into TZ.
11-10-2020, 12:57 PM
RE: OSCAR not importing today's data
There is one little problem. Linux stores the time in BIOS as UTC(GMT) and then calculates your local time offset in the OS. Windows platforms store the local time in the BIOS and doesn't have an OS offset. I've learned the hard way as I bounce between the 2 OS's on the same box.
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.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread | Author | Replies | Views | Last Post | |
OSCAR Vs device data | Siva | 1 | 62 |
Yesterday, 12:44 PM Last Post: G. Szabo |
|
Oscar "No Supported Data Found" Resmed Airsense 11 | cpapmj | 3 | 86 |
04-13-2024, 10:21 PM Last Post: Crimson Nape |
|
Importing blood oxymetry data from Samsung Health | Scarmen | 5 | 1,647 |
04-10-2024, 02:18 PM Last Post: Crimson Nape |
|
OSCAR import of Viatom/Wellue data - DST time base | SleeperAwake21 | 5 | 924 |
03-30-2024, 02:21 PM Last Post: dfunk |
|
OSCAR not recognising SD card data from BMC | alid | 7 | 269 |
03-30-2024, 12:44 AM Last Post: alid |
|
OK TO IMPORT SLEEP DATA FROM OLD SD CARD INTO OSCAR W/O MESSING UP CURRENT DATA? | Plmnb | 3 | 240 |
03-29-2024, 11:02 AM Last Post: Plmnb |
|
Uploading Wellue O2 Ring Data to Oscar | ggs5 | 9 | 902 |
03-29-2024, 08:52 AM Last Post: StuartC |