[futurebasic] Re: [FB] Mac USB to serial port

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : July 2003 : Group Archive : Group : All Groups

From: barrie <barrie@...>
Date: Thu, 10 Jul 2003 23:47:23 -0400
Yipee!! 
The Keyspan USA 19QW single adapter is working with the standard RS232 cable
that came with the meter.... But not without some quirks as confirmed
earlier by Kris and Ted.
1) The OVERRIDE FN must be included otherwise FB gets its nickers twisted.
To unravel the twisted knickers I had to re-boot then defrost by removing
the USB cable and re-boot again.
For ref, here is the override statement again. Courtesy Walter Lenk and
probably Robert Purves.
 OVERRIDE LOCAL FN TermGetStatus(WhichPort)
 END FN = 0        ' Effectively pass a 'No Problem' back
2) Some of the Keyspan advanced settings are critical as follows:
    a) RTS follows DTR checkbox must be off.
    b) Tx Ack advance can be set to AUTO or OFF. My meeter runs at 9600
baud, anything above this may need a number in the Tx Ack pop-up or set to
AUTO. 
    c) Receive FIFO was set at 16. It must NOT be off.
    d) The default buffer size was 64
    e) Emulate printer port can be on or off.
3) On cold startup, the USB serial port id is -1. When the cable is removed
and replaced the port id changes to -2.

Peter, thanks for the cable info.

Barrie
> 
> A printer cable is set up this way. (A crossover cable.)
> RX is _always_ connected to a TX.
> TX is _always_ connected to a RX.
> 
> An extension lead is set up this way. (A straight through cable.)
> TX is _always_ connected to a TX.
> RX is _always_ connected to a RX.
> 
> If you connect a Tx of one piece of equipment to a Tx on another piece of
> equipment, you _never_ receive any data, because all transmitted (Tx) data
> is _never_ connected to any receive (Rx) pins.
> 
> Peter
> 
> 
> 
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>
>