Shop OBEX P1 Docs P2 Docs Learn Events
Help new guy with downloading OBJECTS from OBEX — Parallax Forums

Help new guy with downloading OBJECTS from OBEX

Bill C CooleyBill C Cooley Posts: 18
edited 2014-06-03 12:53 in General Discussion

Hello,
I have been to the OBEX list of objects. I have found 'full duplex serial.spin'. but not been able to download the file. Surprisingly, I was going to say it would not copy and paste the full text either, but it just pasted to this email, but not into an empty new file folder. no download button on the page
How do I obtain the files from OBEX once isolated? I see all the lovely objects folks have produced, I just can't move them from that list to my computer. What's the secret?

Bill

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-06-01 17:31
    I know you're not the only one who has had trouble downloading objects from the OBEX but when I just tried, it worked for me. I click on the name of the file under "attachments" and it started downloading. This is the object I tried.
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-06-01 17:34
    You're right. I just tried this one and it opened in a new window as a text document.

    BTW, This particular file is in the Propeller Tool Library.

    I tried to use "Save Target As . ." but it didn't work. Apparently this did work.

    Edit: I can open it in a new tab.

    I remember reading the cause of this trouble but I don't remember what it was. I think it has to do with how the files were moved from the old OBEX to the new one.

    Edit again: Apparently you can use "Save target as. . .".
  • Ken GraceyKen Gracey Posts: 7,392
    edited 2014-06-01 19:44
    Duane, should I have our IT guys look into this one? Ken
  • dgatelydgately Posts: 1,630
    edited 2014-06-01 19:49
    Isn't this just because the file is not compressed to a .zip or other archive type file? It's a .spin file and the web browser just presents it as text...

    The file should be "zipped-up" into an archive before it's made available in OBEX. Then, browsers will "do the right thing" and download the file, where it may automatically be de-compressed or the user may be prompted for that process.



    Consider this thread a bug report to the Parallax OBEX owner :smile: whomever that might be.




    dgately
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-06-01 20:50
    Ken Gracey wrote: »
    Duane, should I have our IT guys look into this one? Ken

    I guess it depends if you want ".spin" files to be easily downloaded. As it is the "Save target as. . ." appears to work.

    I suppose you could have your IT guys take a look and get their opinion on the matter. IMO, it's not a big deal and I think I agree with dgately on this.
    dgately wrote: »
    The file should be "zipped-up" into an archive before it's made available in OBEX. Then, browsers will "do the right thing" and download the file
  • Bill C CooleyBill C Cooley Posts: 18
    edited 2014-06-01 21:33
    Thanks so much for validating sanity, first of all

    My drop down menu offered 'Save Link as', I didn't choose it. I clicked one more time, again it opened up, but then when I right clicked in the text, it offered Save As, and it the Name was already 'FullDuplexSerial.spin'. And the Save Location was already 'My Downloads'. It seems as though the file came to my machine and then opened, all in one go.

    The main thing is I have it now and my code compiles much farther down the page, and I'm not nuts, it didn't want to download.

    THANKS THANKS THANKS
    Bill Cooley
  • Bill C CooleyBill C Cooley Posts: 18
    edited 2014-06-01 21:51
    So, one more thing.
    Does just having this file name in the window to the left the code window do it, even after you disconnect from your computer to run on it's own? Is it some how actually part of the programming once compiled?
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-06-01 22:13
    So, one more thing.
    Does just having this file name in the window to the left the code window do it, even after you disconnect from your computer to run on it's own? Is it some how actually part of the programming once compiled?

    I'm not sure if I'm following you. You need to have the program open in the Propeller Tool and press F11 to load it to the EEPROM.

    Are you using the Propeller Tool or Simple IDE?
  • LtechLtech Posts: 380
    edited 2014-06-02 12:22
    From a couple of days now, OBEX download very slow,I have to wait for a minute before it start on OSX and WIN7

    Ltech
  • Bill C CooleyBill C Cooley Posts: 18
    edited 2014-06-03 12:35
    sorry I stepped away
    I'm very new, my question is;
    1.Placing Objects in the window to left of the code window and referring to them in the OBJ section will incorporate them fully enough in to your code without seeing the full text of the 'Object' in the code? It seems that way.
    2. Doesn't having several Objects quickly consume your memory,
  • Duane DegnDuane Degn Posts: 10,588
    edited 2014-06-03 12:53
    I'm very new, my question is;
    1.Placing Objects in the window to left of the code window and referring to them in the OBJ section will incorporate them fully enough in to your code without seeing the full text of the 'Object' in the code? It seems that way.

    Yes, (in general) the objects the left are likely in the same directory as your top object and if they are listed in the OBJ section then they'll be included in your code.
    2. Doesn't having several Objects quickly consume your memory,

    This is a big "it depends" on the size of the object. The editor/compiler BST (Brad's Spin Tool) has an option to remove unused methods from the code.

    You can check on your code size by pressing F8.

    You'll likely find adding video objects will use a lot of memory.
Sign In or Register to comment.