This is a bit of complex one but I think I've tracked down the issue.
Since I've figured out (thank you Crimson Nape!) how to tweak the oximetry time/date in the Viatom binary files, I've discovered that if you delete the oximetry data for the day, there are times when the OLD files will reappear - not just for THAT day but EVERY day where you have deleted a file for any reason.
After much fiddling around, I have a workaround (for now) but the bug seems to happen when you import more than one data file at once. I think perhaps it's keeping a cached copy (or path) of the binary somewhere and reimporting ALL the missing files somehow? The trouble is that the original files need to stay in the viatom folder so that they can be read into the Viatom software, and I can't upload them from another folder, or I don't get the correct device info/serial number (which as OSCAR can't display 2 different devices of the same type on the same day means that you can only see one or the other, but not both). Either that or it's not actually deleting the data, it's just hiding it, and something is resetting the display option to show it again.
How to replicate:
- Open OSCAR and load up a profile
- Upload the relevant CPAP data for several days
- Import more than one Viatom data file for any number of days.
- Go to the data menu and delete the oximetry data for one of the days.
- Restart OSCAR and check for sure that the data has been removed (this isn't necessary to recreate, but it demonstrates that it's not simply a display issue where it appears to be deleted but isn't).
- Import at LEAST two more viatom files into a new day.
- Restart OSCAR (this may not be necessary but I'm not sure).
- Go back to the day where you deleted the Viatom data from. You should now see the old files have reappeared.
Once the data is deleted, it shouldn't reappear when further data is uploaded.
Workarounds:
- Upload the viatom data files one by one. Not a huge issue if you do your data session by session but a bigger one if you do it once a week or so.
- Simply leave the "old" files unticked so they aren't displayed.