Shop OBEX P1 Docs P2 Docs Learn Events
send-receive with a terminal — Parallax Forums

send-receive with a terminal

ArchiverArchiver Posts: 46,084
edited 2002-05-07 13:19 in General Discussion
I'm playing with talking to a BS2 through a terminal program.
So far, it seems to send and receive fine with serin and serout in my
program, both data and characters. One problem though, how do you
send/cause a carriage return and line feed on the terminal program?
Debug sends characters and data to the terminal fine also, but the CR
option symbol doesn't work.

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-05-06 20:31
    Never mind. I found an incorrect setting on my terminal program.
    But Thanks anyway!

    Don

    --- In basicstamps@y..., "mtlhead7" <renegade.engineer@v...> wrote:
    > I'm playing with talking to a BS2 through a terminal program.
    > So far, it seems to send and receive fine with serin and serout in
    my
    > program, both data and characters. One problem though, how do you
    > send/cause a carriage return and line feed on the terminal
    program?
    > Debug sends characters and data to the terminal fine also, but the
    CR
    > option symbol doesn't work.
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-06 21:09
    For renegade

    Most terminals don't recognize CR. If you look in your terminal program
    setup somewhere you should find a "send line feed" option.

    Sid Weaver


    [noparse][[/noparse]Non-text portions of this message have been removed]
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-06 21:12
    Yes, I found that a bit after I wrote the message to the stamp group.
    It is working now.
    Thanks
    Don
    Original Message
    From: <Newzed@a...>
    To: <basicstamps@yahoogroups.com>
    Sent: Monday, May 06, 2002 1:09 PM
    Subject: Re: [noparse][[/noparse]basicstamps] send-receive with a terminal


    > For renegade
    >
    > Most terminals don't recognize CR. If you look in your terminal program
    > setup somewhere you should find a "send line feed" option.
    >
    > Sid Weaver
    >
    >
    > [noparse][[/noparse]Non-text portions of this message have been removed]
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-07 01:04
    I'm trying to communicate with Bs2 through a small
    terminal program with PC. one in qbasic and one in C,
    (9600). I can't get it to continue. the basic one hits
    a buffer over flow after the next loop, does read in
    once. and the C can't even get to work. The Debug
    program for stamp receives the serout from the stamp.
    Could you direct me to the one you are using or post
    it..
    PC I'm using is 1.7Ghz with win98. I want to
    basically hit keys to send command to stamp. And stamp
    to send back data.

    --- mtlhead7 <renegade.engineer@v...> wrote:
    > I'm playing with talking to a BS2 through a
    > terminal program.
    > So far, it seems to send and receive fine with serin
    > and serout in my
    > program, both data and characters. One problem
    > though, how do you
    > send/cause a carriage return and line feed on the
    > terminal program?
    > Debug sends characters and data to the terminal fine
    > also, but the CR
    > option symbol doesn't work.
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed.
    > Text in the Subject and Body of the message will be
    > ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >


    __________________________________________________
    Do You Yahoo!?
    Yahoo! Health - your guide to health and wellness
    http://health.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-07 01:22
    I've been working in both HyperTERMINAL Personal Edition V6.3 and
    HyperACCESS, HyperTERMINAL's big brother. Both are available from

    [url=Http://www.Hilgraeve.com]Http://www.Hilgraeve.com[/url]

    HyperTERMINAL Personal Edition is a FREE upgrade to the standard
    HyperTERMINAL that comes with Win98.
    They also offer a fully functional trial copy of HyperACCESS,
    though I believe it dies after 30 days.
    Both seem to work fine. You have to set a parameter in the ASCII
    receive properties that appends line feeds to incoming line ends.
    Then all your ASCII control characters will work right.
    Surprisingly, the DEBUG command writes to the terminal as well as
    SEROUT.
    For settings, I am using SERIN 16,16468 (uses programming pin on
    BS2, with 9600 Baud, 8-bit, no parity, inverted polarity) and no flow
    control on the terminal prog. I also slowed down the FIFO buffers to
    minimum input and output. I don't know if it made a difference
    though, because I never tried communicating with the buffers set
    higher yet.

    Hope this helps!!
    Don

    --- In basicstamps@y..., e d <cansunshine2000@y...> wrote:
    > I'm trying to communicate with Bs2 through a small
    > terminal program with PC. one in qbasic and one in C,
    > (9600). I can't get it to continue. the basic one hits
    > a buffer over flow after the next loop, does read in
    > once. and the C can't even get to work. The Debug
    > program for stamp receives the serout from the stamp.
    > Could you direct me to the one you are using or post
    > it..
    > PC I'm using is 1.7Ghz with win98. I want to
    > basically hit keys to send command to stamp. And stamp
    > to send back data.
    >
    > --- mtlhead7 <renegade.engineer@v...> wrote:
    > > I'm playing with talking to a BS2 through a
    > > terminal program.
    > > So far, it seems to send and receive fine with serin
    > > and serout in my
    > > program, both data and characters. One problem
    > > though, how do you
    > > send/cause a carriage return and line feed on the
    > > terminal program?
    > > Debug sends characters and data to the terminal fine
    > > also, but the CR
    > > option symbol doesn't work.
    > >
    > >
    > > To UNSUBSCRIBE, just send mail to:
    > > basicstamps-unsubscribe@y...
    > > from the same email address that you subscribed.
    > > Text in the Subject and Body of the message will be
    > > ignored.
    > >
    > >
    > > Your use of Yahoo! Groups is subject to
    > > http://docs.yahoo.com/info/terms/
    > >
    > >
    >
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Yahoo! Health - your guide to health and wellness
    > http://health.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2002-05-07 13:19
    For Don

    Did you know that you can use Hyper to capture data from the Stamp and then
    send it to Word or Excel for formatting, spreadsheeting or whatever ?

    When you are displaying data from Stamp on the Hyper screen, it's nice to be
    able to control exactly when the Stamp starts transmitting. I always use the
    following lines at the very beginning of my programs so I have complete
    control over the Stamp.

    serout 16, N9600, [noparse][[/noparse]"Press any key to start", cr]
    serin 16, N9600, [noparse][[/noparse]com]

    Sid


    [noparse][[/noparse]Non-text portions of this message have been removed]
Sign In or Register to comment.