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

Toshiba FlashAir 2 with Flashpap configuration
OK, user is just the Profile/User name.  Delete the "Dreamstation".

The line should read as:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user=Spencer exit=yes
______________________
Useful Links -or- When All Else Fails:
Posting SleepyHead Charts in 5 Easy Steps
Robysue's Beginner's Guide to Sleepyhead
Apnea Helpful Tips
Post Reply Post Reply
But my profile name is "Spencer Dreamstation". See manual FlashPAP below:

[Image: Mx1Qm4Ml.png]

Same Error even if I delete Dreamstation.  Dont-know

See below:


[Image: RNFgcmTl.png]
Post Reply Post Reply
That can be a problem.  The system may see that as two names or an additional parameter.  Usually a space indicates a break or termination of input.   This can be causing the command line to see the word "Dreamstation" as an additional parameter.    That is why you will see the use of an underscore to separate words or names like,"Spencer_Dreamstation".  Your eye sees two words but the computer sees it as one.  

Try this; Copy your Spencer Dreamstation.fpap (in your FlashPAP directory) to the same directory and rename it Spencer.fpap  or Spencer_Dreamstation.fpap.     Open it with a text editor and change UserName= to match the file name.    Now try running the script again, using the edited name.  It should work.

- Red
______________________
Useful Links -or- When All Else Fails:
Posting SleepyHead Charts in 5 Easy Steps
Robysue's Beginner's Guide to Sleepyhead
Apnea Helpful Tips
Post Reply Post Reply


Update:  I just tried an idea with success.  Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.

Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes

May the Flash be with you!    Big Grin

- Red
______________________
Useful Links -or- When All Else Fails:
Posting SleepyHead Charts in 5 Easy Steps
Robysue's Beginner's Guide to Sleepyhead
Apnea Helpful Tips
Post Reply Post Reply
Since the program has not (yet) worked, the username can be changed.  It does not have to be the same as the username from Sleepyhead.
Out Sleepyhead profiles are our entire first/last names, but our FlasPAP profiles are just "Rich" and "Cam"

FlashPAP is only a tool to extract the files from the card and temporarily store them on the computer for later importation into Sleepyhead... it doesn't import directly into Sleepyhead.

And yes, I would suggest creating a separate folder JUST for the FlashPAP Username.
Importing directly into the Documents folder is going to put two folders and 3 files into that folder.
It would be better to create a dedicated folder for the import (see attachments)


Attached Files Thumbnail(s)
       
-- Rich
Download SleepyHead here
Organize SleepyHead Data
Post SleepyHead Data from Imgur

INFORMATION ON 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 WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.

Post Reply Post Reply
(06-24-2017, 08:10 AM)Crimson Nape Wrote: Update:  I just tried an idea with success.  Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.

Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes

Interesting...  I just tried this same command:
C:\FlashPAP\FlashPAP.jar user=Rich exit=yes

And I got the same error as Spencer

Prior to the error it popped up with a warning about write protection and suggested running from a different folder or as Admin.


Edit: Working now. The command must be executed from within the FlashPAP folder... it could not be accessed just by opening the CMD window and typing the command... a CD\FlashPAP command was needed.
-- Rich
Download SleepyHead here
Organize SleepyHead Data
Post SleepyHead Data from Imgur

INFORMATION ON 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 WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.

Post Reply Post Reply


(06-24-2017, 07:26 AM)Crimson Nape Wrote: That can be a problem.  The system may see that as two names or an additional parameter.  Usually a space indicates a break or termination of input.   This can be causing the command line to see the word "Dreamstation" as an additional parameter.    That is why you will see the use of an underscore to separate words or names like,"Spencer_Dreamstation".  Your eye sees two words but the computer sees it as one.  

Try this; Copy your Spencer Dreamstation.fpap (in your FlashPAP directory) to the same directory and rename it Spencer.fpap  or Spencer_Dreamstation.fpap.     Open it with a text editor and change UserName= to match the file name.    Now try running the script again, using the edited name.  It should work.  

- Red
Copy and rename Spencer.fpap to which directory? If you meant the same directory as the script, it didn't work.


(06-24-2017, 08:10 AM)Crimson Nape Wrote: Update:  I just tried an idea with success.  Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.

Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes

May the Flash be with you!    Big Grin

- Red
Enclosing "Spencer Dreamstation" yielded same result.


(06-24-2017, 01:15 PM)CB91710 Wrote: Since the program has not (yet) worked, the username can be changed.  It does not have to be the same as the username from Sleepyhead.
Out Sleepyhead profiles are our entire first/last names, but our FlasPAP profiles are just "Rich" and "Cam"

FlashPAP is only a tool to extract the files from the card and temporarily store them on the computer for later importation into Sleepyhead... it doesn't import directly into Sleepyhead.

And yes, I would suggest creating a separate folder JUST for the FlashPAP Username.
Importing directly into the Documents folder is going to put two folders and 3 files into that folder.
It would be better to create a dedicated folder for the import (see attachments)
Thanks CB91710 but confused here.

(06-24-2017, 01:25 PM)CB91710 Wrote:
(06-24-2017, 08:10 AM)Crimson Nape Wrote: Update:  I just tried an idea with success.  Enclose Spencer Dreamstation within quotes ("") to force FlashPAP to see this as one parameter.

Example:
/Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes

Interesting...  I just tried this same command:
C:\FlashPAP\FlashPAP.jar user=Rich exit=yes

And I got the same error as Spencer

Prior to the error it popped up with a warning about write protection and suggested running from a different folder or as Admin.


Edit:  Working now.  The command must be executed from within the FlashPAP folder...  it could not be accessed just by opening the CMD window and typing the command...  a CD\FlashPAP command was needed.
Sorry again confused, CD\FlashPAP command to be placed in the script? Can show me how? Thanks.
Post Reply Post Reply
Add the command line:
cd /Users/imac/Documents/FlashPAP

Your file should look like this:

#!/bin/bash
cd /Users/imac/Documents/FlashPAP
java -jar /Users/imac/Documents/FlashPAP/FlashPAP.jar user="Spencer Dreamstation" exit=yes


Place this script file in the FlashPAP directory.  Although if the file is in the FlashPAP directory, you shouldn't need to "cd" it.

This works on my Linux box when it is in the FlashPAP directory:
#!/bin/bash
java -jar FlashPAP.jar user="Spencer Dreamstation" exit=yes


I created a fpap file that uses your name as well to test this.


- Red
______________________
Useful Links -or- When All Else Fails:
Posting SleepyHead Charts in 5 Easy Steps
Robysue's Beginner's Guide to Sleepyhead
Apnea Helpful Tips
Post Reply Post Reply
Thanks Red! Works like a charm! Thanks Thanks Thanks  

No need place script in FlashPAP directory. Works from my desktop.
Post Reply Post Reply


Congrats  Well-done  st8800!

Banana  Banana  Banana
______________________
Useful Links -or- When All Else Fails:
Posting SleepyHead Charts in 5 Easy Steps
Robysue's Beginner's Guide to Sleepyhead
Apnea Helpful Tips
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  flashair file structure? Jeffmc 9 364 08-15-2017, 07:20 AM
Last Post: CB91710
Gross Flashair connectivity - help! maep2017 10 269 08-06-2017, 01:41 PM
Last Post: AlanE
  FlashPAP Sleepyhead results Dreamstation Corvette817 4 415 07-15-2017, 04:25 PM
Last Post: bighopper
  FlashPAP has suddenly quit working on my Mac pupcamper 12 341 07-08-2017, 07:43 PM
Last Post: pupcamper
  Need to Move FlashPap to Another Computer Melman 14 448 06-30-2017, 07:46 AM
Last Post: Melman
  FlashPAP doesn't work after Java update Melman 18 510 06-21-2017, 01:39 PM
Last Post: Crimson Nape
  FlashPAP / SleepMaster FancyPants 10 970 06-19-2017, 08:10 AM
Last Post: jsielke

Forum Jump:

New Posts   Today's Posts




About Apnea Board

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

For any more information, please use our contact form.