Request To Send / Clear To Send... SP - BasicX-24

Started by Ryan Johnson August 30, 2004
Hi,

I have set up my SitePlayer to send data to the BX-24, sending the phrase 'ManualRelay:1On' or 'ManualRelay:2Off', for example.

The BX-24 decodes the number of the relay and changes its status to on or off. This works when sending from hyperterminal or my siteplayer, however if I send lots of commands quickly, it fails and my chip appears to freeze, or become unresponsive.

I tried plugging my SitePlayer into my pc, and I clicked the links which send the serial data as fast as i could, and there were no errors in the data sent.

I figured that this may be to do with RTS (Request To Send) and CTS (Clear To Send), but I cannot see how to designate pins on the basicx for these functions (as most serial devices have).

What could this problem be?

Thanks, Ryan

(PS. Code is available at http://150.101.224.194/basicxcode.txt)
---------------------------------



Ryan, Neither the BX-24 or the SitePlayer utilize RTS or CTS signaling.
It looks like the BX serial input buffer may be overflowing. I don't
have the SerialPort.bas code in front of me but if I remember it had
fairly small buffers. Also make sure to check the BX environments max
string size setting.
Chris
----- Original Message -----
From: "Ryan Johnson" <>
To: <>
Sent: Monday, August 30, 2004 6:31 AM
Subject: [BasicX] Request To Send / Clear To Send... SP - BasicX-24 >
> Hi,
>
> I have set up my SitePlayer to send data to the BX-24, sending the phrase
'ManualRelay:1On' or 'ManualRelay:2Off', for example.
>
> The BX-24 decodes the number of the relay and changes its status to on or
off. This works when sending from hyperterminal or my siteplayer, however
if I send lots of commands quickly, it fails and my chip appears to freeze,
or become unresponsive.
>
> I tried plugging my SitePlayer into my pc, and I clicked the links which
send the serial data as fast as i could, and there were no errors in the
data sent.
>
> I figured that this may be to do with RTS (Request To Send) and CTS (Clear
To Send), but I cannot see how to designate pins on the basicx for these
functions (as most serial devices have).
>
> What could this problem be?
>
> Thanks, Ryan
>
> (PS. Code is available at http://150.101.224.194/basicxcode.txt) >
> --------------------------------- >
> Yahoo! Groups Links >





Thanks for this, I will give it a shot.

What do you mean by BX environment max string size setting?

Thanks,
Ryan

--- In , "Chris" <chrish@n...> wrote:
> Ryan, > Neither the BX-24 or the SitePlayer utilize RTS or CTS signaling.
> It looks like the BX serial input buffer may be overflowing. I
don't
> have the SerialPort.bas code in front of me but if I remember it
had
> fairly small buffers. Also make sure to check the BX environments
max
> string size setting. >
> Chris >
> ----- Original Message -----
> From: "Ryan Johnson" <ryanjfjohnson@y...>
> To: <>
> Sent: Monday, August 30, 2004 6:31 AM
> Subject: [BasicX] Request To Send / Clear To Send... SP - BasicX-24 > >
> > Hi,
> >
> > I have set up my SitePlayer to send data to the BX-24, sending
the phrase
> 'ManualRelay:1On' or 'ManualRelay:2Off', for example.
> >
> > The BX-24 decodes the number of the relay and changes its status
to on or
> off. This works when sending from hyperterminal or my siteplayer,
however
> if I send lots of commands quickly, it fails and my chip appears
to freeze,
> or become unresponsive.
> >
> > I tried plugging my SitePlayer into my pc, and I clicked the
links which
> send the serial data as fast as i could, and there were no errors
in the
> data sent.
> >
> > I figured that this may be to do with RTS (Request To Send) and
CTS (Clear
> To Send), but I cannot see how to designate pins on the basicx for
these
> functions (as most serial devices have).
> >
> > What could this problem be?
> >
> > Thanks, Ryan
> >
> > (PS. Code is available at http://150.101.224.194/basicxcode.txt)
> >
> >
> >
> > ---------------------------------
> >
> >
> >
> >
> >
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
> >
> >
> >
> >
> >