[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
Re: CM11 Status Request (C# Language)
I've seen some unusual behavior of USB->Serial adapters compared with
actual serial ports under Linux. I've assumed these are bugs in the
Linux drivers but Windows drivers (for some adapters at least) may exhibit
similar behavior.
E.g., a blocking read of N bytes may return after the first byte read. So
Dave's polling ought to work, while expecting to get all N bytes with one
read may fail.
Regards,
Charles Sullivan
On Sun, 19 Nov 2006 17:14:41 +0000, Dave Houston wrote:
> I hope the example application works for you. It runs on 3 of my machines
> but GPFs at initialization on a 4th. It's a RealBASIC flaw.
>
> A USB-serial adapter shouldn't give you any problems. It's only a 3 wire
> serial connection. However, it can add to the time required to send/receive
> as it requires translation on both ends of the link.
>
> I just tested my example app using a USB adapter and it sets/reads the RTC
> OK.
>
> "Quina" <carias.joao@xxxxxxxxx> wrote:
>
>>Hi Dave And Charles,
>>
>>Thank you both for your support.
>>
>>Dave: I'll download the app from your webpage, and afterwords I'll give
>>you some feedback.
>>
>>Charles: yes, I use a USB port with an adapter. Do you think that this
>>might be a problem?
>>
>>Best regards,
>>
>>João Carias
>>(Quina)
>
>
> http://davehouston.net
> http://tech.groups.yahoo.com/group/roZetta/
> roZetta-subscribe@xxxxxxxxxxxxxxx
comp.home.automation Main Index |
comp.home.automation Thread Index |
comp.home.automation Home |
Archives Home