Getting Parallax PLX-DAQ to work with HSEROUT


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530

    Default

    Quote Originally Posted by mackrackit View Post
    Did the basic stamp send in True or Inverted mode?
    Good point Dave,

    The Basic Stamp sends it out as true, but it is done on the BS2 programming port, which has a max232 equivalent, so it can be read from the computer side. Since Don said he could read it in hyperterminal, I assume he is using a max232 device. I also assume he meant he tested hyperterminal with hserout. So maybe it is just in the wrong format.

    From another page in the help file:
    • Strings not beginning with directives will be ignored.
    So maybe this is the hang up?

    It would be great to see a solution, and write up in the Wiki area (Hint, Hint).

    Walter
    http://www.scalerobotics.com

  2. #2
    Join Date
    Oct 2008
    Posts
    52

    Default

    Quote Originally Posted by scalerobotics View Post
    Good point Dave,

    The Basic Stamp sends it out as true, but it is done on the BS2 programming port, which has a max232 equivalent, so it can be read from the computer side. Since Don said he could read it in hyperterminal, I assume he is using a max232 device. I also assume he meant he tested hyperterminal with hserout. So maybe it is just in the wrong format.

    From another page in the help file:


    So maybe this is the hang up?

    It would be great to see a solution, and write up in the Wiki area (Hint, Hint).

    Walter

    FYI

    I got it working ok except I haven't been able to send back to the PIC yet.

    Thanks Walter....
    Code:
    HSEROUT ["LABEL",",","Don's",",","Test",13]
    PAUSE 10
    Loop:
    FOR x = 1 to 5
    HSEROUT ["DATA",",","Hello",",","World",",","Goodbye",13]
    PAUSE 5000
    NEXT x
    PAUSE 10000
    HSEROUT ["CLEARDATA",13]
    GOTO Loop
    END
    Last edited by ScaleRobotics; - 31st January 2011 at 20:52. Reason: added code tags

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts