serial baudrate >115k should be supported
Closed681275ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-02-05 21:59:36
TCL 8.4 on Win9x platform. The serial port driver works fine up to 115k. But I can't open the port at a higher baudrate. My Dolphin serial port card supports 920kbit, why not Tcl? At least 460k should be supported.
hobbs Ticket [681275ffff]: 1 change
[History diff]2003-02-06 05:08:32
schroedterplain2003-02-06 14:24:11
Logged In: YES user_id=99573 Maybe your Dolphin driver does not support higher rates ? IMO Tcl for Windows should natively support all available baud rates, because it does not interpret the MODE string itself. Instead the Windows API BuildCommDCB() is used to setup MODE. For Unix systems it is true that only usual standard baud rates are supported. On my system (Win2000) there are 3 com-ports: com1 (internal, max. 115 kbps), com3/4 (PCI card, max. 921 kbps): % set c1 [open com1 r+] fileaad420 (bin) 2 % (bin) 2 % fconfigure $c1 -mode 460800,n,8,1 can't set comm state (bin) 3 % set c3 [open com3 r+] fileaafb50 (bin) 4 % fconfigure $c3 -mode 460800,n,8,1 (bin) 5 % fconfigure $c3 -mode 921600,n,8,1 (bin) 6 % fconfigure $c3 -mode 1843200,n,8,1 can't set comm state I did not measure whether there are real 921 kbps coming out, but at least there is no error.
schroedter Closed ticket [681275ffff].
[History diff]2003-04-09 16:04:12
Log in (anonymous is fine) to add a comment.