Shop OBEX P1 Docs P2 Docs Learn Events
SX/B - Version 1.50.01 (05 JUL 2006) — Parallax Forums

SX/B - Version 1.50.01 (05 JUL 2006)

Jon WilliamsJon Williams Posts: 6,491
edited 2006-07-13 17:20 in General Discussion
Dear SXers,
·
Parallax is very pleased to announce many additions and enhancements to the SX-Key IDE v 3.2, centered around the new SX/B 1.50. The entire package is available for download at http://www.parallax.com/sx/downloads.asp.
·



Post Edited By Moderator (Bean (Hitt Consulting)) : 7/8/2006 1:05:31 PM GMT

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-02 17:49
    If you have a cool project/demo idea that you'd like to contribute to the help file, please forward to me (jwilliams@parallax.com) and I will see what I can do to get it included. Be sure to include a schematic!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • allanlane5allanlane5 Posts: 3,815
    edited 2004-11-02 17:51
    Whoosh, *that's* what I call service!
    Update done 11/2/2004 to include "@" symbol in the index.

    P.S. There's a U.S. national election today. Vote!
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-11-02 17:55
    I did!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
  • Robert.ITRobert.IT Posts: 13
    edited 2004-11-10 19:26
    Hi, can you give me the link to download the SX/B help file.

    thanks
  • allanlane5allanlane5 Posts: 3,815
    edited 2004-11-10 19:57
    The new file is an attachment on Jon's post above.
  • Michael ChadwickMichael Chadwick Posts: 80
    edited 2004-11-20 03:42
    Some notes on the behavior of the new IDE. First of all, what is a 'Top' file? I thought setting a file to be top might mean it had the proper focus to use the scrolling on a mouse. In the IDE, if you open more than one file, only the most recently opened file responds to mouse scrolling.

    It seems pretty obvious now that 'Top' file must mean something completely different. I have one file in particular now that causes a promt, 'This file is a "Top" file. Do you want it to be set as the current "Top"? yea or nea. Every time I open it. I haven't looked, but I suspect a registry edit is going to be required to eliminate the prompt from happening every time I open that file.

    I confess to having *no* idea at this point what the "Top" file is about. Somebody throw me a bone.

    On another note, I find myself trying to do CTRL-A to do a select all in the IDE, which of course invokes the assembler. It is useful to develop code snippets in one window, then cut and paste to the work in progress.

    Any thoughts on assembling being changed to perhaps Alt-A so the normal Windows editing shortcuts can be used?

    Thanks
    Mike Chadwick
  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2004-11-20 08:59
    Mike,

    Top files are handy when your projects consist of two or more files, i.e. one "main file", and one or more include files. In this case, you should make the "Main file" the "Top file". Right-click on the file name in the left file list area, and select "Set as top file". The file name is then displayed in bold in the file list.

    After having defined one file as the Top file, the IDE "knows" which file shall be passed to the Assembler when you hit Ctrl-A, no matter which file is currently displayed in the edit window. Without having defined a Top file, the IDE would pass the file currently displayed to the Assembler, e.g. an include file which does not make much sense.

    You can remove the "Top file" attribute by right-clicking on its name in the file list, and selecting "Set as normal file" there.

    Concerning the use of Ctrl-A, I'm sure Peter will have comments on that.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,


    G
  • PJMontyPJMonty Posts: 983
    edited 2004-11-20 21:58
    Mike,

    Guenther gave an excellent description of the "Top" file feature. The documentation for the new IDE has not been completed, hence that are some "hidden" features that haven't been well documented yet. As for "Top", believe me, nothing is more annoying than working on a project with multiple source files and having to remember to manually switch back to the editor that has the "main" (or "Top") file in it. I was so jazzed about integrating SASM since it meant I could finally have "include" files, only to find that working with multiple source projects was more trouble than it was worth.

    I added the "Top" feature to make it as easy as possible to work with multiple source projects. For example, "under the hood" the IDE keeps a list of the twenty most recently used "Top" files. This means that you can have up to twenty multiple source projects in your workflow at any given time, and you only have to tell the IDE about each one only once. I didn't want to add project files because as James Newton pointed out, the SX-Key has always been about getting started and moving quickly without a lot of mandatory overhead. My goal has always been to make new features as transparent as possible. For example, switch between an assembly project and an SX/B project, and take a look at the "Run" menu. You'll see when you switch to an assembly project, it has an "Assemble" menu item, but switch to an SX/B project and now it says "Compile." I also make the toolbar hints switch as well. It's this sort of detail that make the IDE feel smooth, but that takes a lot of extra time to implement and test. Go into the configuration dialog and uncheck "Use SASM" or uncheck "Use Enhanced Editor" to see more examples of effort to make the IDE do the right thing for the user. I could have chosen to just gray out the controls, but I feel this is better, even though it took me way more time to implement.

    As for your question about CTRL-A, I feel the exact same way. I am a keyboard shortcut kind of guy, and find the abduction of CTRL-A annoying. However, I haven't changed it for compatibility reasons. The tricky thing about changing software used by the public (as opposed to something for me and me only) is that I have to think about what this change means to everyone else using the software. If I just blithely change the shortcut key, then a ton of people are going to get upset about it because they are used to CTRL-A meaning assemble. Thus, to change it, I need to make it a switchable option, available via the configuration dialog. This means having to modify the configuration GUI, write the code to store and retrieve the value from the registry, test that all of this works without bugs, and then someone would have to update the documentation so that people understnd this new feature.

    As you can see, simply changing the shortcut to something else would take all of two minutes, but to modify the IDE so that it handles this as a user selectable option is a far greater amount of work. Of course, this is assuming that you and I aren't the only ones who want to use CTRL-A for selecting all the text! It's all a balancing act of the time to implement the feature versus the number of people who will use or benefit from the change. This is the reason why I try to never say a feature won't be implemented, because it's always possible that the enough people will request something that a lower priority feature will percolate up to the top of the list.
      Thanks, PeterM

    PS - Man, I think I just wrote a novel in reply to a simple question!
  • James NewtonJames Newton Posts: 329
    edited 2004-11-20 22:43
    <BRAG>The page on SXList for the SXKey had all the details on that (as always) </BRAG>

    http://www.sxlist.com/techref/parallax/sxkey.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    ---
    James Newton, Host of SXList.com
    james@sxlist.com 1-619-652-0593 fax:1-208-279-8767
    SX FAQ / Code / Tutorials / Documentation:
    http://www.sxlist.com Pick faster!



  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2004-11-21 00:31
    Mike, Peter,

    yeah - I knew I missed something, but as expected, Peter has described it in full detail. Its the feature that the IDE can keep track of 20 of the most recently used "Top files", and right-clicking on the name of the currently open "Top file" even allows you to remove it from the "Top-20".

    I once discussed with Peter if it might make sense to integrate kind of a "Project Manager" within the SX-Key IDE, as known from other IDEs. But in the end, I like the "Top file" approach much better because it keeps it simple (and not really stupid), and does exactly what you need when working on multiple-file projects.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,


    G
  • Michael ChadwickMichael Chadwick Posts: 80
    edited 2004-11-21 04:50
    Hi G
  • PJMontyPJMonty Posts: 983
    edited 2004-11-25 19:07
    Michael,

    If you switch to another editor, you need to click in the new editor to provide focus for scroll wheel events.
      Thanks, PeterM
  • Michael ChadwickMichael Chadwick Posts: 80
    edited 2004-11-26 03:52
    On Win XP it simply doesn't work, click or no click. I can click in a window and do page up / page down etc. which works, but the scroll wheel does nothing. Switch to the last file loaded and the scrolling works fine. In Win 98, just selecting the file from the list allows the scroll wheel to work, don't have to even click in the window, just hover the mouse pointer over the it.

    I only just thought about trying to run the program in Win98 compatible mode on XP, I'll have to see if that cures the window problems.

    Mike
  • Michael ChadwickMichael Chadwick Posts: 80
    edited 2004-12-09 04:06
    Hi All,

    I had to post a reply to apologize to Peter M, who probably thinks I'm nuts. I just discovered that the issue with the scroll wheel events was because I wasn't using a real scroll wheel. I've been using the touch pad on my laptop, and the 'scroll area' events only get to the last file loaded. I'm on the road using a mini optical mouse, and it works just fine under WinXP on any file loaded.

    Boy do I feel silly......... but I'm really glad I finally found this out.

    Mike
  • PJMontyPJMonty Posts: 983
    edited 2004-12-09 20:00
    Mike,

    I'm glad you figured it out as well. I couldn't think of any logical reason that scroll events would go to only one file in the IDE. Also, since no one else ever mentioned the problem, I had to think that it was something specific to yuor setup. Glad to hear to got it worked out.
      Thanks, PeterM
  • DWinchellDWinchell Posts: 60
    edited 2005-04-22 20:35
    Typo:
    Help File 21April
    SX/B Aliases:
    ·· PA2 Page Select bit 2 STATUS.7·······
    ·· PA1 Page Select bit 1 STATUS.6·······
    ·· PA0 Page Select bit 1 STATUS.5·······
    ·
    Should be:
    ·· PA2 Page Select bit 2 STATUS.7·······
    ·· PA1 Page Select bit 1 STATUS.6·······
    ·· PA0 Page Select bit 0 STATUS.5·

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Thank You

    David Winchell

    David@Winchell.com
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-04-26 17:35
    Thanks for the catch, David.· I've fixed the typo and will post it right now.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas, TX· USA
  • TD-LinuxTD-Linux Posts: 33
    edited 2005-08-03 19:46
    The scrolling problem happens to me too. I have a HP laptop with a scroller as part of the trackpad.

    My mini laptop mouse's scroll wheel works fine. So it's not very specialized. I would like this to be fixed, as I use my laptop a lot without the mouse. Hopefully it's not a major problem. Maybe by giving focus to the file just selected would work, or giving focus to the file editor then back to the file selector, changing the order and maybe directing all focus that doesn't fit with the file selector there. I don't know, as I haven't done much Windows programming lately.
  • ShaneShane Posts: 2
    edited 2005-08-18 22:02
    Ok, I'm throwing in the towel on this one. Where or how do I get the new SXB.chm file for version 1.41? I have looked in the three zip files a the top of this topic (SXB.zip actually downloaded with no extension in Firefox) but I cannot find a new help file to explore the new features.

    I apologize if I am missing the clearly obvious.

    -Shane
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2005-08-18 23:03
    I'm sorry, Shane, it was my fault -- I uploaded the wrong ZIP file.· That situation has been rectified, and I apologize for the frustration my error caused.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • AngelAngel Posts: 4
    edited 2006-03-02 22:23
    Would someone help me, I can't get to work the SX for controlling a hobby servo , I tried the PWM command, but its giving me some error that says "byte parameter expected"

    the idea is to control a robot and to vary the times on each servo to make it move while the other servos stay in the same position...

    thanks.
  • Ryan ClarkeRyan Clarke Posts: 738
    edited 2006-07-13 17:20
    Angel, please start a new thread, not a response to a stick/info thread. I would suggest you post the code you tried.

    Ryan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Ryan Clarke
    Parallax Tech Support

    RClarke@Parallax.com
Sign In or Register to comment.