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

Importing SleepU Data in OSCAR -- can't find AppData folder
#1
Importing SleepU Data in OSCAR -- can't find AppData folder
When I go to  Data->Import Viatom Data, I get the file browser starting in my home (c:/users/username) folder.

But it fails to list the AppData folder underwitch the sleepU data is stored.

There does not seem to be a "show hidden" option within the file picker dialog.

Since AppData is the default location O2 Insitght uses, probably showing hidden by default would be best.
Post Reply Post Reply






Donate to Apnea Board  
#2
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
C:\Users\YourUserNameHere\AppData\Local\O2 Insight Pro\DATA\SerlalNumber

In Windows Explorer, look under Tools ⇾ Folder Options ⇾ View ⇾ Hidden Files and Folders. Select the "Show" option.

You can type this in the command box in the Start menu, %localappdata%, followed by the Enter key. This will get you to the local folder.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Beginner's Guide to Sleepyhead and OSCAR
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
#3
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
It's not me finding the folder that is the problem, it is the ability of OSCAR to find it.

I already had show hidden set in file explorer.

OSCAR didn't inherit the explorer setting, and did not provide a show hidden option. I could work around this either by moving the location or changing appdata to unhidden.

I am suggesting that for the typical non-techy user of OSCAR it would better if by default it shows hidden in the file dialog, since that is the default for appdata, and appdata is the default location for many other apps to store their files, such as O2 Insight.

Maybe OSCAR normally does show hidden files such as appdata, and there is something peculiar with my environment.
Post Reply Post Reply
#4
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
Showing hidden data is an option of Windows Explorer and not OSCAR. When you open a file browser in any program, you are opening a portal to Windows Explorer. Of course, you can always change the data location of SleepU files very easily, I did for backup purposes.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Beginner's Guide to Sleepyhead and OSCAR
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






Donate to Apnea Board  
#5
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
(01-14-2021, 09:01 PM)Crimson Nape Wrote: Showing hidden data is an option of Windows Explorer and not OSCAR.   When you open a file browser in any program, you are opening a portal to Windows Explorer.  Of course, you can always change the data location of SleepU files very easily, I did for backup purposes.

...and for some reason that does not appear to be working, as I explained.  I already have the workaround. Basically this thread is more a bug report/suggestion.

Side by side, I have the hidden folder plainly visible in File Explorer (as I always do) and the OSCAR file browser for importing data, which fails to show the same hidden folders.

I can also open, for example, a "save as" dialog in another app, such as chrome, go to my user folder, and see the hidden AppData folder there, again side-by-side with OSCAR, which does fails to do the same.

I assume OSCAR is using some version or another of .net, windows forms, whatever, and the file browser object is provided by a windows pi. That file browser object is configurable by the application that instantiates it, and does not necessarily have to use the same settings (e.g. show hidden files) as the file explorer application. For example see GetOpenFileNameA and OPENFILENAME  (not saying OSCAR uses these, just an example, and reasonably sure whatever variant of windows api OSCAR is using has something similar).

Maybe this behavior is a bug (or choice) in OSCAR, maybe it is a bug on the windows API, and either way, maybe there is something unique about my environment that exposed it, such that this rarely happens to others (or maybe not).
Post Reply Post Reply
#6
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
You could also just manually type in "AppData" when your in your home location.
Post Reply Post Reply
#7
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
Quote:I assume OSCAR is using some version or another of .net, windows forms, whatever, and the file browser object is provided by a windows pi.

OSCAR is developed using the QT multi-platform system. QT is responsible for presenting the file dialog, so what we have is what QT delivers. I haven't look at QT internals to see how it presents the file dialog on each platform--and it is different for each platform. As much as possible, we do not put any platform-specific variations in the OSCAR code. We try to let QT handle platform specific variations.
The current version of OSCAR is 1.2.0.  We recommend upgrading from any earlier version.

Useful links
Download OSCAR
Best way to organize charts
How to attach charts to your post

Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  
#8
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
(01-28-2021, 12:59 AM)GuyScharf Wrote:
Quote:I assume OSCAR is using some version or another of .net, windows forms, whatever, and the file browser object is provided by a windows pi.

OSCAR is developed using the QT multi-platform system. QT is responsible for presenting the file dialog, so what we have is what QT delivers. I haven't look at QT internals to see how it presents the file dialog on each platform--and it is different for each platform. As much as possible, we do not put any platform-specific variations in the OSCAR code. We try to let QT handle platform specific variations.

I think QFileDialog:ConfusedetFilters()  should do the trick, including QDir::Hidden in the filters. Something like myFileDialogObject.setFilters( other filters | QDir.Hidden )

See https://www.qtcentre.org/threads/67923-G...lder-files
Post Reply Post Reply
#9
RE: Importing SleepU Data in OSCAR -- can't find AppData folder
Not a bad idea. In the mean time, you can usually traverse hidden folders within the Windows dialog by entering the full path in the address bar at the top.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Viatom CheckMe O2 data files and OSCAR Ratchick 6 63 6 hours ago
Last Post: Ratchick
  Data Folder Redirect davidkkelley 0 26 11 hours ago
Last Post: davidkkelley
  Weinmann Somnobalance E to OSCAR - import of dates and data not correct A KLERK 5 46 Yesterday, 04:57 PM
Last Post: Crimson Nape
  New Respironics DS with OSCAR Combine Data? FatSleeper15 4 77 02-25-2021, 07:50 AM
Last Post: FatSleeper15
  SD-card/OSCAR losing data? Samultra 7 135 02-18-2021, 03:40 AM
Last Post: Samultra
  Combining data from 2 SD cards with overlapping data. SevereApnea 4 121 02-17-2021, 02:44 AM
Last Post: SevereApnea
  Wellue/Viacom SleepU on Windows 10 GuyScharf 8 282 02-13-2021, 08:37 PM
Last Post: gregoryalter


New Posts   Today's Posts






About Apnea Board

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