[futurebasic] Re: [FB] RS232 communications

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 2002 : Group Archive : Group : All Groups

From: ted Spencer <tedspencer@...>
Date: Sun, 07 Apr 2002 08:08:59 -0400
From the nimble fingers of barrie (barrie@...) (6/4/2002 9:56 PM)
came...

>> That means that the HSKo line probably doesn't need to be connected!
> I hope you are wrong on this one. My cable is connected exactly as above
> except that there is no connection to the HSKo..... And that did not work. I
> will try it tomorrow.
> Peter Bancroft suggested that I tie the RTS and DTR pins together... I tried
> that but it didn't work. There are a lot of variables here... By the way,
> the standard Mac baud rates don't include 600 as required by my meter. Will
> 300 be OK or should I use 600. I think Heather said 600 was undocumented but
> available.

Well... 600 is definitely available because the program I sent was cobbled
yesterday afternoon and worked with my meter. Further, If you've a copy of
Claris/Appleworks v5 or older, you can set it in a communications document,
and, for purposes of getting something - anything - out of your meter, that
might be more reassuring than mucking about with an FB program in the first
place.

Note that the baud rate MUST be within about 15% of the correct value, or
nothing resembling sense can be made of the data stream. The meter will be
looking at the line every 1.7 milliseconds to see the data level. If you've
transmitted at 300 baud, the meter will be extracting 2 bits from the same
transmitted bit, and no one - yourself in particular - will be happy.

When the Radioshack meter here receives a carriage return, it transmits the
dtate of its display; in the demo program I sent a "z" just for the heck of
it... Note that it isn't the "z" that does the work: it's the <cr> that
follows it!
-- 
Ted Spencer; tedspencer@...
-- 
A thought for sunbathers: If God has wanted us to walk around naked, we
would have been born that way.
(U. C. Observer)