Multiple COM Ports

  • Thread starter Thread starter cmdolcet69
  • Start date Start date
C

cmdolcet69

How can I have (2) Serial COM port working and reading and writting
data at the same time?
 
Hi,

The serial port object (System.IO.Ports.SerialPort) is multithreaded. Just
use as many instances as you need, and each will read, effectively,
simultaneously.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top