Click here to Skip to main content
15,916,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSerial Port Interfacing Pin
lead2gold23-Jan-03 14:52
lead2gold23-Jan-03 14:52 
GeneralRe: Serial Port Interfacing Pin
suka23-Jan-03 21:23
suka23-Jan-03 21:23 
GeneralRe: Serial Port Interfacing Pin
lead2gold26-Jan-03 11:02
lead2gold26-Jan-03 11:02 
GeneralRe: Serial Port Interfacing Pin
suka27-Jan-03 9:12
suka27-Jan-03 9:12 
GeneralRe: Serial Port Interfacing Pin
lead2gold28-Jan-03 10:10
lead2gold28-Jan-03 10:10 
GeneralRe: Serial Port Interfacing Pin
LittleYellowBird23-Jan-03 21:54
LittleYellowBird23-Jan-03 21:54 
GeneralRe: Serial Port Interfacing Pin
lead2gold26-Jan-03 10:58
lead2gold26-Jan-03 10:58 
GeneralRe: Serial Port Interfacing Pin
LittleYellowBird27-Jan-03 0:06
LittleYellowBird27-Jan-03 0:06 
lead2gold wrote:
Hi! thanks for replying to my post.

No problem.

lead2gold wrote:
I want to be able to set CTS high whenever I want (which interacts with the hardware and preforms certain things) and then tie it low if i have to.

I'm a bit confused here because I think that RTS is an output from the PC and CTS is an input. This is always confusing, but I will assume that you mean RTS, in which case have you noticed that the Serial Class I mentioned has the following functions:

void CSerialPort::ClearRTS()<br />
void CSerialPort::SetRTS()<br />
void CSerialPort::SetDTR()<br />
void CSerialPort::ClearDTR()<br />

Could you use ClearRTS & SetRTS to control the line that you want to? I have used SetDTR and ClearDTR for like this and it has worked well.

Apologies if I have miss-understood you. I know what it is like when you are struggling with this sort of thing, sometimes people don't understand what you need to do and its hard to get help.

You could always try asking your question again in a different way, you never know someone else who is a bit more knowledgeable might spot it and be able to help.

Good Luck Smile | :) ,

Ali
GeneralRe: Serial Port Interfacing Pin
lead2gold28-Jan-03 10:14
lead2gold28-Jan-03 10:14 
GeneralRe: Serial Port Interfacing Pin
LittleYellowBird29-Jan-03 2:21
LittleYellowBird29-Jan-03 2:21 
GeneralDisplaying text from a text file in a dialogue box Pin
Kayembi23-Jan-03 14:29
Kayembi23-Jan-03 14:29 
GeneralRe: Displaying text from a text file in a dialogue box Pin
Mike Nordell23-Jan-03 17:03
Mike Nordell23-Jan-03 17:03 
QuestionA multimedia queation: How to convert YUV to RGB in video stream? Pin
Danaus23-Jan-03 14:28
Danaus23-Jan-03 14:28 
GeneralDeveloping Windows Service in XP with graphics Pin
richard9723-Jan-03 13:34
richard9723-Jan-03 13:34 
GeneralRe: Developing Windows Service in XP with graphics Pin
Mike Nordell23-Jan-03 17:13
Mike Nordell23-Jan-03 17:13 
GeneralCString and threads Pin
(Steven Hicks)n+123-Jan-03 12:59
(Steven Hicks)n+123-Jan-03 12:59 
GeneralRe: CString and threads Pin
Peter Molnar23-Jan-03 14:10
Peter Molnar23-Jan-03 14:10 
GeneralStatic Text Background Pin
mattmattbobatt23-Jan-03 12:39
mattmattbobatt23-Jan-03 12:39 
GeneralRe: Static Text Background Pin
jimNLX24-Jan-03 10:35
jimNLX24-Jan-03 10:35 
GeneralRe: Static Text Background Pin
georgiek5024-Jan-03 17:10
georgiek5024-Jan-03 17:10 
Generaltimeout recv on udp socket Pin
orcun colak23-Jan-03 12:34
orcun colak23-Jan-03 12:34 
Generalrecvfrom, not recv Pin
Anonymous23-Jan-03 14:57
Anonymous23-Jan-03 14:57 
GeneralCOleSafeArray Pin
Peter Molnar23-Jan-03 11:24
Peter Molnar23-Jan-03 11:24 
GeneralText on a Tool Bar Pin
Eldon Zacek23-Jan-03 11:18
Eldon Zacek23-Jan-03 11:18 
GeneralRe: Text on a Tool Bar Pin
PJ Arends23-Jan-03 12:52
professionalPJ Arends23-Jan-03 12:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.