Serial Communication
-
Looking for libraries for threaded serial communication. Anyone have some links, free or relatively inexpensive.
Hi, I'm unaware of any serial library, and if one existed, I would probably not use it. I use the SerialPort class directly, and adapt architecture, protocols, and code to the various needs I may have. :)
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
-
Hi, I'm unaware of any serial library, and if one existed, I would probably not use it. I use the SerialPort class directly, and adapt architecture, protocols, and code to the various needs I may have. :)
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
-
Do you find that the .net component is fast enough to perform at high baudrates, and handle other application processing of data from the serialPort?
Hi, I used serial ports a lot before .NET existed, using standard Win32 functions. From my .NET serial experience, I have no reason to claim .NET has added a lot of overhead to those functions, however I do not have proof to the contrary either. BTW: Under high communication loads, I would not be inclined to use the DataReceived event; I'd rather use a separate thread with an outstanding Read. That way I'm in charge of how much data gets read and when it gets processed, as DataReceived lacks a clear specification. :)
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
-
Do you find that the .net component is fast enough to perform at high baudrates, and handle other application processing of data from the serialPort?