troubleshooting Question

What is the easiest way to control the DTR or RTS lines on a serial port on a windows system with XP Professional?

Avatar of James5863
James5863Flag for United States of America asked on
System Programming
1 Comment1 Solution376 ViewsLast Modified:
I am programming C++/MFC using Visual C++ 6.0. I am connecting to a Pololu servo motor controller and my serial (RS-232) commands are working fine. I am using a simple serial communications class called “Sio,” but the Sio class is limited. I am also using the include files, <windows.h> and <mmsystem.h> and coding information found at http://msdn2.microsoft.com/en-us/library/ms709377.aspx to connect to a USB joystick. I would like to control the DTR or RTS lines on the serial port, so I can reset the controller via software control by causing one of these lines to go low, and then back high, for a few milliseconds. What is the easiest way to control the DTR or RTS lines on a serial port on a windows system with XP Professional? Thank you for your time.
ASKER CERTIFIED SOLUTION
AlexFM

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros