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

FlashPAP Won't Open!
#11
RE: FlashPAP Won't Open!
C:\A10 Data
Profile = Henry
Post Reply Post Reply
#12
RE: FlashPAP Won't Open!
Great!

Open Notepad and copy the following into it, and then save the file in the FlashPAP directory as "Henry.fpap".
Code:
FlashAirAppMode=5
FlashAirHost=192.168.1.150
SleepDataApp=
Destination=C\:\\A10 Data
CPAPModel=100
UserName=Henry

In a Command Prompt Window, copy and paste the following command:
Code:
java.exe -jar C:\Program Files\FlashPAP\FlashPAP.jar user=Henry exit=yes

If all went well, FlashPAP ran and downloaded your FlashAir's data to your dedicated directory.
If you were successful, paste the above command in a Notepad file and save it as, Henry.bat.  Now all you have to do to transfer data is to double-click on this batch file, and it will run and then terminate.   To make it less obtrusive, you can add the following command as the first line in the file, @ECHO OFF.
Eat-popcorn

- Red
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
#13
RE: FlashPAP Won't Open!
(07-25-2022, 01:57 PM)Crimson Nape Wrote: Great!

Open Notepad and copy the following into it, and then save the file in the FlashPAP directory as "Henry.fpap".
Code:
FlashAirAppMode=5
FlashAirHost=192.168.1.150
SleepDataApp=
Destination=C\:\\A10 Data
CPAPModel=100
UserName=Henry

In a Command Prompt Window, copy and paste the following command:
Code:
java.exe -jar C:\Program Files\FlashPAP\FlashPAP.jar user=Henry exit=yes

If all went well, FlashPAP ran and downloaded your FlashAir's data to your dedicated directory.
If you were successful, paste the above command in a Notepad file and save it as, Henry.bat.  Now all you have to do to transfer data is to double-click on this batch file, and it will run and then terminate.   To make it less obtrusive, you can add the following command as the first line in the file, @ECHO OFF.
Eat-popcorn

- Red

Steps completed as instructed, but no files transferred. I'm about to lose interest at this point. Perhaos we should move this to either PM or EMail.
Post Reply Post Reply
#14
RE: FlashPAP Won't Open!
We prefer not to do things behind the scenes.   There may be readers that either want to learn or follow along.

OK open your command prompt again, navigate to the FlashPAP folder and enter the following command:
Code:
java.exe -jar FlashPAP.jar

See if your Henry profile is listed. Or, even if FlashPAP runs. . .
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
#15
RE: FlashPAP Won't Open!
(07-25-2022, 02:36 PM)Crimson Nape Wrote: We prefer not to do things behind the scenes.   There may be readers that either want to learn or follow along.

OK open your command prompt again, navigate to the FlashPAP folder and enter the following command:
Code:
java.exe -jar FlashPAP.jar

See if your Henry profile is listed. Or, even if FlashPAP runs. . .

I'm not capable of navigating at the command prompt. It's been too many years since I was semi-competent in MS DOS. Thanks for your help though. I'm done with this.
Post Reply Post Reply
#16
RE: FlashPAP Won't Open!
OK, I understand. Anyway, here is what you would type in the command prompt:
Code:
cd c:\program files\flashpap

I have created both the FlashPAP profile file and the batch file to run it.  Download the zipped file into your FlashPAP directory and extract them.   I have tested them and they work.

Here is the download link: https://drive.google.com/file/d/1tTk91Ib...sp=sharing

Please note: Except for WSHenry, unless you have the same EXACT paths, directories, CPAP type, and IP configuration, these files will be worthless.

Sorry I couldn't help you.  Confused

- Red
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
#17
RE: FlashPAP Won't Open!
Red,

I was able to get it to work but only after editing the batch file you created. Also, I needed some cooling off and relearning time. I re-learned how to change directories and navigate from the command line.  So, all in all, a winning and learning day!

The file original file was:

@ECHO OFF
java.exe -jar C:\Program Files\FlashPAP\FlashPAP.jar user=Henry exit=yes

I simplified the path, as the batch file was already in the FlashPAP directory:

@ECHO off
java.exe -jar FlashPAP.jar user=Henry exit=yes

I'd still prefer to stay in the FlashPAP application and then use the button to choose to go to my sleep tracking application (Oscar). How would I do this?
Post Reply Post Reply
#18
RE: FlashPAP Won't Open!
Congratulations!
The space in the path, Program Files, probably needed to be enclosed in quotes to force the batch file to read it as part of the path and not a command separator. To just start FlashPAP normally, remove the two automation options, user=Henry and exit=yes and just use, java.exe -jar FlashPAP.jar.

- Red
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
#19
RE: FlashPAP Won't Open!
(07-25-2022, 08:58 PM)Crimson Nape Wrote: Congratulations!
The space in the path, Program Files, probably needed to be enclosed in quotes to force the batch file to read it as part of the path and not a command separator.  To just start FlashPAP normally, remove the two automation options, user=Henry and exit=yes and just use, java.exe -jar FlashPAP.jar.

- Red

Removed the two automation options and it runs normally.

Finally, is there a way to not open the command line screen when the batch file runs? There must be switch function, but it's been too many years since I last did any serious scripting or programming. 

You've been a great help with this!
Post Reply Post Reply
#20
RE: FlashPAP Won't Open!
Take a look at this article on 3 different ways to achieve hiding the DOS window: https://www.winhelponline.com/blog/run-b...nd-prompt/

- Red
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


Possibly Related Threads...
Thread Author Replies Views Last Post
Angry Unable to fully open OSCAR on Windows PC martinmclellan504 4 370 10-21-2024, 10:30 AM
Last Post: martinmclellan504
  How to open .pdat file BB37 4 775 10-11-2024, 01:14 AM
Last Post: Glen Moray
  Cannot Open OSCAR gymrat 3 487 06-08-2024, 10:02 AM
Last Post: SarcasticDave94
  FlashPAP - FlashAir WiFi SD card utility TiredToo 296 104,044 10-05-2023, 06:54 AM
Last Post: olddog27
  OSCAR - will not open [solved - see post #2] gjstein 4 1,972 08-31-2023, 03:02 AM
Last Post: John7
  FlashPAP / OSCAR Initial Setup - Setup Instructions Wizard99 4 1,660 06-08-2023, 09:11 AM
Last Post: Wizard99
Cool Open Source Oximeter Software DavidEsp 0 1,027 02-21-2023, 02:34 PM
Last Post: DavidEsp


New Posts   Today's Posts


About Apnea Board

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