| Gerald W. Lester 2006-01-26, 9:57 pm |
| Zoner wrote:
> Hi guys...
>
> I am writing a little tcl script that needs to talk over a serial port
> to piece of hardware.
>
> I have it working with no flow control, and everything is great.
>
> However, I am limitted on how much I can send at once to the hardware,
> as its buffer will overflow.
>
> I would like to enable flow control on this connection. I can do it on
> the hardware, but I can not figure out how to enable hardware flow
> control from TCL. I can not find any options for this in fconfigure. I
> can set BAUD, Data bits, Parity, and Stop bits, but no flow control? My
> present setting is 115200,8,n,1
>
> Can someone comment on if tcl supports hardware flow control?
Did you miss the -handshake option of the fconfigure command. It is
documented in the SERIAL COMMUNICATIONS section of the open command.
> I am using Active State tcl 8.4 on Windows operating systems. If tcl
> really does not support flow control, will setting the defaults in
> windows device manager to have flow control work?
Tcl does support flow control (see above), setting the defaults in the
device manager should also work.
|