Shop OBEX P1 Docs P2 Docs Learn Events
SX/B -- I must be doing something silly — Parallax Forums

SX/B -- I must be doing something silly

danieldaniel Posts: 231
edited 2004-12-17 02:59 in General Discussion
I just installed SX-IDE and overlayed the SX/B v1.10.

I opened an unaltered·example project and compiled.· I get unexpected errors, see the attached .ERR and .SRC files.

Apparently, I'm doing something silly, but as this is my first go at SX/B, I'm a bit stumped as to what.

Can you help?

Daniel

Post Edited (daniel) : 12/16/2004 11:23:41 PM GMT

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-16 23:27
    Okay, I'm stumped too. I tested that program before updating the help file and projects ZIP, but now I'm getting the same error. Let me investigate.

    In the meantime I've attached a version that doesn't use string constant shortcuts.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office


    Post Edited (Jon Williams) : 12/16/2004 11:31:57 PM GMT
  • Ken GraceyKen Gracey Posts: 7,401
    edited 2004-12-16 23:29
    Daniel,

    Make sure that your SX-Key IDE is the latest - if you recently purchased it is most likely that your CD-ROM SX-Key installer doesn't even know about SX/B. Download the latest SX-Key editor here: http://www.parallax.com/sx/downloads.asp. In fact, I recommend downloading the latest SX-Key Editor Version 3.0 and trying again. I bet you are working with an older SX-Key IDE.

    If you do have the Version 3.0 SX-Key IDE, then it could be a matter of configuration. Within the SX-Key IDE, under Run/Configure select SX/B as the default editor type. The *.ERR list looks as if the SX-Key editor is unaware of the SX/B compiler. The second error about not finding the SRC file seems to be a function of looking in the wrong place. In the Run/Configure/SXB Compiler option check the SX/B Options for "Output Files" Directory.

    Let us know if this gets you started.

    Ken Gracey
    Parallax, Inc.
  • danieldaniel Posts: 231
    edited 2004-12-16 23:39
    Help About says IDE v3.0 (I just downloaded from Parallax after Jon's post about SX/B v1.10).

    Editor type is SX/B.

    All defaults used in installation.

    Running on Win2K, SP4; P-2 processor, 128Mb ram; if that matters.

    Daniel
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-16 23:53
    The error was mine, Daniel, not yours. Download the SXB_1_10.zip and SXB_Projects.zip again (I just reposted). I'm sorry for the inconvenience.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • danieldaniel Posts: 231
    edited 2004-12-17 01:14
    Thanks, Jon. Based on current success with that one example, I'm guessing the PROJECTS are fixed. However, SEROUT.SXB in the EXAMPLES shows the same problems.

    Daniel
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-17 01:27
    Oi vai ... let me check everything and repost. I'm really sorry. I work so hard to make things work; I'm sure it's just a gremlin knowing that I go on vacation next week and wanting to torture me until then. I will double check all files in project and examples tonight to make sure they compile properly under 1.10.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • danieldaniel Posts: 231
    edited 2004-12-17 01:30
    <grin>

    My day job is writing firmware and control software for high precision crank and cam grinder automation. I know all about 'shipping'.

    I'll check back over the weekend.

    Daniel
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-12-17 02:59
    It's all fixed ... silly me, kept an old EXE on my system and that got mixed in (original source of the problem). Once I had the correct SXB.EXE, I was able to go back and use the LCD file that gave you fits. It uses a neat trick with string constants.

    Again, sorry for my error.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
Sign In or Register to comment.