serial port state of DCD (0 or 1) pin

Microsoft Visual basic 6.0
December 6, 2009 at 07:18:10
Specs: Windows XP
I want to know is it possible to
detect the state of DCD (0 or 1) pin
of serial port by visual basic .
I want to detect the bit pattern of
tv control by infra red receiver connected to pc serial port .

See More: serial port state of DCD (0 or 1) pin

Report •

December 6, 2009 at 09:27:00
Yes you can using the MSComm active-X control. At least you can in VB6 so I imagine the same control exists in VB.NET if that is what you are using.

One the control is set up any change in the DCD line triggers the OnComm event. The Help Files will explain how to use this along with other communication events like CTS and DSR.


Report •
Related Solutions

Ask Question