Home All Groups Group Topic Archive Search About

How to toggle the RTS/DTS line

Author
29 Jul 2006 5:13 AM
POgletree
Is there any way to toggle the RTS or DTS pin of a serial port from VB.Net
2005?  It looks like the system.io.ports insulates you from that ability.
Any work around?

Many thanks...

Author
29 Jul 2006 4:27 PM
Dick Grier
Hi,

RTS is toggled by using the RTSEnable property.  There is no DTS line, so I
assume that you mean DTR.  Use the DTREnable property.

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.