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

C / C++ / MFC

 
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 
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 
lead2gold wrote:
since you've been a great help

Thanks Blush | :O , I'm only a novice myself realy but its nice to be able to help someone. However, I fear I may now let you down since your next question is beyond me.

lead2gold wrote:
if you don't mind

Of course not, feel free to ask away - I'll do my best.

lead2gold wrote:
is is there away i can listen or lift a signal or irq if information has been sent to the computer?

I'm not exactly sure what you want to do here but I don't think I have had to do anything similar. In my systems the PC has always been in control of the comms, and initiates transfers.

The only idea I have is to use one of the flow control techniques like CtsDtrFlowControl or DsrRtsFlowControl, (not sure which - depends on which line you need to monitor). When you open the port you can set the method you want like this:-

m_port.Open(m_nCommPort,38400, CSerialPort::NoParity, 8, CSerialPort::OneStopBit,CSerialPort::CtsDtrFlowControl );

Then use WaitEvent to see if the relevent line changes. I'm not even sure if this would work and even if it does it seems like a very clumsy method. I only mention it because that is where I would start to look.

Have you noticed that at the bottom of peoples articles there is room to ask a question? Perhaps you could direct this one to one of the people who have written CSerial classes, or ask again in the VC++ forum.

Good Luck Smile | :)

Ali
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 
GeneralHelp!! Pin
MemLeak23-Jan-03 10:39
MemLeak23-Jan-03 10:39 
GeneralRe: Help!! Pin
Jörgen Sigvardsson23-Jan-03 10:45
Jörgen Sigvardsson23-Jan-03 10:45 

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.