Shop OBEX P1 Docs P2 Docs Learn Events
REALbasic program to read BS1USB debug data. Windows/Mac/Linux — Parallax Forums

REALbasic program to read BS1USB debug data. Windows/Mac/Linux

BeanBean Posts: 8,129
edited 2008-12-09 19:01 in Robotics
Here is my first "real" REALbasic program. It is basically the same as Jon Williams VB program that is in his Nuts & Volts article "Wading the BS1 Debug Stream".

If you have the BS1USB module, you can program it to send data to the PC using the BS1 Debug command.

This program can be run on Windows, Mac or Linux (if you have the REALbasic compiler which is free www.realbasic.com)

I only have a windows machine, so I would appreciate if anyone is able to run it on a Mac or Linux box and give me some feedback.

Comments welcome.

P.S. I used the "latest and greatest" version of REALbasic (2008 Release 5).

Bean.

attachment.php?attachmentid=57219

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

"The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
www.iElectronicDesigns.com



Post Edited (Bean (Hitt Consulting)) : 12/9/2008 6:45:24 PM GMT

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-09 18:29
    Bean,

    What is really scary is that you picked the same basic colors for the information as Jon did...It looks like the only things you did differently was your text boxes aren't 3D and you opted for combo-box and buttons for the serial port whereas I think Jon used menus. Scary stuff indeed. =) But it is cool.· So how far away are the BS2 applications?· Propeller?·

    http://forums.parallax.com/showthread.php?p=567110

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
  • BeanBean Posts: 8,129
    edited 2008-12-09 18:38
    Chris,
    I "borrowed" Jon's color scheme and layout [noparse];)[/noparse]

    I've only worked with REALbasic for a couple weeks, but I really like it. Actually I like it better than VB. And being multi-platform is even better.

    As far as BS2 or Propeller apps... Do you have any suggestions ?

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    "The welfare of the people in particular has always been the alibi of tyrants." ~ Camus
    www.iElectronicDesigns.com

    ·
  • UnsoundcodeUnsoundcode Posts: 1,532
    edited 2008-12-09 18:46
    Great conversion Bean, I will DL the code for some tips although I don't have a BS1 to try it with right now. Amazing how short a time it has taken for you to get familiar with RB. Maybe you can port Chris's RFID reader over

    Jeff T.
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2008-12-09 19:01
    Bean,

    I totally understand the concept of ‘borrowed’ components. I borrowed much of the RFID Serial concepts from three different people…Jan Axelson, Jeff T and Quattro RS4 here on the forums. With pieces of code from each I was able to better understand what I needed to do. Relying on the examples and suggestions from Microsoft got me nothing but a bald spot (as I pulled hair out). I wonder if my copy will run your code? I'd have to install it to find out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Engineering
Sign In or Register to comment.