<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702">
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT size=2 face=Arial></FONT><BR> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV>
<DIV>Any suggestions for solving this problem are welcomed :)
</DIV></DIV><FONT size=2 face=Arial></FONT></BLOCKQUOTE>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>yeah, I tried and gave up. Support for serial ports
is really poor. I have a network redirctor device which is a little box with an
ethernet adapter on one side and a DSub9 on the other; you configure it to map a
serial stream 1:1 onto a network connection, hook up your serial device to the
box, open a network port to the box and run your communictation over
it and it works like a charm. Try communicating directly and you'll never really
get it to work.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>I believe the problem is that the logic isn't quite
sure when to return #eof, a timeout or or a valid character. Then, again, it
really can't. I don't have any problems with the Racket developers deciding that
serial ports are nothing to spend a lot of effort supporting. It's sort of an
ancient technology - still heavily used but really hard to get right.
</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>On a write, you must flush the device whenever
you're done writing and expect characters to come in.</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR></DIV>
<DIV>
<DIV>Finally, I would also like to report that when opening a serial port
(only on windows) with a number greater than 9 </DIV>
<DIV>so for example "COM12" a file is created instead of opening the serial
port. </DIV></DIV>
<DIV>I guess this should be an easy fix ...</DIV></BLOCKQUOTE>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV><FONT size=2 face=Arial></FONT><FONT size=2 face=Arial></FONT><BR></DIV>
<DIV>If anybody would have experienced that problem you can currently work
around that problem by assigning a different (lower than 9 of
course) number to the serial port via the device
manager. </DIV><FONT size=2 face=Arial></FONT></BLOCKQUOTE>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>open the port as "<A>\\\\?\\COM13</A>" and you'll
be fine. That's a Windows restriction, has got nothing to do with
Racket...</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV></BODY></HTML>