I don't think hello is a directive.
Maybe something like:PLX-DAQ Directives
PLX-DAQ analyzes incoming data strings from the controller for action. Strings begin with a directive informing PLX-DAQ of what action to take.
- All directives are in CAPITAL letters, and some are followed by comma-separated data. Each string MUST end in a carriage return (CR).
- Strings not beginning with directives will be ignored.
- Note that the BASIC Stamp's DEBUG instruction is used in the following discussion.
HSEROUT ["DATA,","1,","2,","3",13]
or:
HSEROUT ["DATA,",DEC x,",",DEC y,",",DEC z,13]
Those will show in different columns. If you want more rows, then more like their basic stamp example.
http://www.scalerobotics.com
Did the basic stamp send in True or Inverted mode?
Dave
Always wear safety glasses while programming.
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?
- Strings not beginning with directives will be ignored.
It would be great to see a solution, and write up in the Wiki area (Hint, Hint).
Walter
http://www.scalerobotics.com
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
Bookmarks