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
#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
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#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
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#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.
Useful links
Download OSCAR
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.
Post Reply Post Reply
#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
  Oscar program will not open data files raylock1 7 81 12-24-2024, 04:12 PM
Last Post: raylock1
  Oscar 1.6 not recognizing AirSense 11 data treemkr 2 90 12-23-2024, 11:29 AM
Last Post: treemkr
  OSCAR: Questions regarding a potential import for Garmin data littleyoda 8 472 12-22-2024, 08:58 AM
Last Post: littleyoda
  ALL OSCAR data to Sleep doc... McBrugh 5 235 12-14-2024, 05:27 PM
Last Post: Sleeprider
  Data not importing SleepyCrow 2 171 12-13-2024, 01:18 PM
Last Post: SleepyCrow
  Machines with max oscar data wking 3 343 12-09-2024, 04:10 PM
Last Post: SarcasticDave94
  Today I learned: re-importing a single date to fix issues - version 1.5.3 SkyIsBlue 1 152 12-08-2024, 02:10 PM
Last Post: SkyIsBlue


New Posts   Today's Posts


About Apnea Board

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