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
Post Reply Post Reply



Donate to Apnea Board  
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
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
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
Using Attachments to Post Images on Apnea Board

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



Donate to Apnea Board  
(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
Using Attachments to Post Images on Apnea Board

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



Donate to Apnea Board  
Congrats  Well-done  st8800!

Banana  Banana  Banana
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  FlashAir extend WiFi range dwd1249 6 243 02-19-2018, 12:54 PM
Last Post: Crimson Nape
  Toshiba flashair card BJ54 6 211 02-13-2018, 08:15 AM
Last Post: BJ54
  FLASHAIR W-04 (Did I kill it?) zzzZorro 30 920 02-08-2018, 04:52 PM
Last Post: zzzZorro
  Flashair does not transmit w/cpap is off dale950 7 349 01-20-2018, 03:31 PM
Last Post: AlanE
  Guide to using the Flashair in Station Mode with the ResMed S9 gegtik 0 219 01-17-2018, 11:22 PM
Last Post: gegtik
  Flashair trouble redux (A10) Keljian 9 520 12-22-2017, 10:55 PM
Last Post: Keljian
  FlashAir LarryRapp 8 361 12-15-2017, 02:28 PM
Last Post: LarryRapp

Forum Jump:

New Posts   Today's Posts




About Apnea Board

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