|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Reading from the COM PortVS.NET 2003 / 1.1 Framework
I have a piece of hardware that sends signals over an Ethernet cable through a USB adapter and into the PC. The USB adapter acts as a COM port for the PC. The hardware is very simple and does not require any device drivers (although the USB/COM port adapter does have its own device driver). I'd like to be able to write a client (Windows Forms) application that can read the signals coming in via the COM port. I have no experience working with PC ports or hardware input of any kind. Can anyone give me some direction on how to read data inbound via the COM port? Thanks, Scott Hi,
I assume you have already installed the correct drivers and software that emulates a COM port on your PC. So to http://msdn.microsoft.com/vbasic/previous/2003/downloads/default.aspx Download 101 Samples for VB 2003 and look at Framework - Using the COM Port mfwoo Show quoteHide quote "Scott M." wrote: > VS.NET 2003 / 1.1 Framework > > I have a piece of hardware that sends signals over an Ethernet cable through > a USB adapter and into the PC. The USB adapter acts as a COM port for the > PC. The hardware is very simple and does not require any device drivers > (although the USB/COM port adapter does have its own device driver). > > I'd like to be able to write a client (Windows Forms) application that can > read the signals coming in via the COM port. I have no experience working > with PC ports or hardware input of any kind. > > Can anyone give me some direction on how to read data inbound via the COM > port? > > Thanks, > > Scott > > > Thanks Woo, I'll check it out. And yes, the USB/COM Port adapter driver is
already installed and working. Show quoteHide quote "Woo Mun Foong" wrote: > Hi, > > I assume you have already installed the correct drivers and software that > emulates > a COM port on your PC. > > So to http://msdn.microsoft.com/vbasic/previous/2003/downloads/default.aspx > > Download 101 Samples for VB 2003 and look at Framework - Using the COM Port > > > mfwoo > > > "Scott M." wrote: > > > VS.NET 2003 / 1.1 Framework > > > > I have a piece of hardware that sends signals over an Ethernet cable through > > a USB adapter and into the PC. The USB adapter acts as a COM port for the > > PC. The hardware is very simple and does not require any device drivers > > (although the USB/COM port adapter does have its own device driver). > > > > I'd like to be able to write a client (Windows Forms) application that can > > read the signals coming in via the COM port. I have no experience working > > with PC ports or hardware input of any kind. > > > > Can anyone give me some direction on how to read data inbound via the COM > > port? > > > > Thanks, > > > > Scott > > > > > > Hi,
You can download DesktopSerialIO.dll from my homepage. It includes a simple example. Feel free to ask specific questions here, after you've taken a look at it. Dick -- Richard Grier, MVP Hard & Software Author of Visual Basic Programmer's Guide to Serial Communications, Fourth Edition, ISBN 1-890422-28-2, Mabry Publishing (391 pages, includes CD-ROM). July 2004. See www.hardandsoftware.net for details and contact information.
Hepl! No accessible 'Main' method with an appropriate signature was found ...
Q: primary key OK....forget the code...how about some pointers? API confusion Multithreading "Global" Class Library: Best Practices? Threading question.... Problem with objects and automatic numbering in VB.NET executing a .dll? stopping a process |
|||||||||||||||||||||||