Shop OBEX P1 Docs P2 Docs Learn Events
serin freezes — Parallax Forums

serin freezes

ArchiverArchiver Posts: 46,084
edited 2002-03-06 21:26 in General Discussion
I am using a couple of TWS-434 and RWS-434's from www.rentron.com to
implement radio communication between two BSII's. I am having trouble with
the serin command. I am using the time out feature of the command, and it
works fine for a dozen or so passes and then it hangs. The actual code is:

SERIN RFIn, Baud3, 100, TryAgain, [noparse][[/noparse]wait{"Base"),TPacketCount, TPacketData]

When there is no incoming data, the program control will loop through the
TryAgain jump roughly 6 to 25 times and then it will just freeze on the
above line of code. Any thoughts?

Rafe

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2002-03-06 21:06
    Go here:
    http://www.rentron.com/Stamp_RF.htm
    I hope that helps.


    --- Rafe <rafe00@a...> wrote:
    > I am using a couple of TWS-434 and RWS-434's from
    > www.rentron.com to
    > implement radio communication between two BSII's. I
    > am having trouble with
    > the serin command. I am using the time out feature
    > of the command, and it
    > works fine for a dozen or so passes and then it
    > hangs. The actual code is:
    >
    > SERIN RFIn, Baud3, 100, TryAgain,
    > [noparse][[/noparse]wait{"Base"),TPacketCount, TPacketData]
    >
    > When there is no incoming data, the program control
    > will loop through the
    > TryAgain jump roughly 6 to 25 times and then it will
    > just freeze on the
    > above line of code. Any thoughts?
    >
    > Rafe
    >
    >
    > 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!?
    Try FREE Yahoo! Mail - the world's greatest free email!
    http://mail.yahoo.com/
  • ArchiverArchiver Posts: 46,084
    edited 2002-03-06 21:26
    I started with that code. Thanks anyway. What I have now has to do with
    the time out feature or SERIN. I'll play with the hardware and see if it
    happens with different hardware setups.

    >
    Original Message
    > From: Marie Thelen [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=opzn1uS_foqgaOyRUNT-IyZu1xpbp_ogSy5wYF39vTReK81sk2FIirXR9blgt-dzUodByk-pGKCv]hazemarie@y...[/url
    > Sent: Wednesday, March 06, 2002 3:07 PM
    > To: basicstamps@yahoogroups.com
    > Subject: Re: [noparse][[/noparse]basicstamps] serin freezes
    >
    >
    > Go here:
    > http://www.rentron.com/Stamp_RF.htm
    > I hope that helps.
    >
    >
    > --- Rafe <rafe00@a...> wrote:
    > > I am using a couple of TWS-434 and RWS-434's from
    > > www.rentron.com to
    > > implement radio communication between two BSII's. I
    > > am having trouble with
    > > the serin command. I am using the time out feature
    > > of the command, and it
    > > works fine for a dozen or so passes and then it
    > > hangs. The actual code is:
    > >
    > > SERIN RFIn, Baud3, 100, TryAgain,
    > > [noparse][[/noparse]wait{"Base"),TPacketCount, TPacketData]
    > >
    > > When there is no incoming data, the program control
    > > will loop through the
    > > TryAgain jump roughly 6 to 25 times and then it will
    > > just freeze on the
    > > above line of code. Any thoughts?
    > >
    > > Rafe
    > >
    > >
    > > 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!?
    > Try FREE Yahoo! Mail - the world's greatest free email!
    > http://mail.yahoo.com/
    >
    > 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/
    >
    >
Sign In or Register to comment.