serial port communication in C++ MFC

F

fdunne2

Hi,

I need to interface a signal generator with my computer's serial port ( to
set the frequency, level etc using the appropriate byte codes). How can I
send and receive (acknowledge the message sent - successful/unsuccessful)
data throught the serial port (RS232) in MFC? Some sample code would be
most appreciated!

Regards,
F.
 
K

Karl Heinz Buchegger

fdunne2 said:
Hi,

I need to interface a signal generator with my computer's serial port ( to
set the frequency, level etc using the appropriate byte codes). How can I
send and receive (acknowledge the message sent - successful/unsuccessful)
data throught the serial port (RS232) in MFC? Some sample code would be
most appreciated!

Sorry, your question is not about standard C++ but about accessing
a special property (serial port) in your computer (windows-computer)
using a specific development environment (mfc). Thus you should
ask in a newsgroup dedicated to one of this topics.

But the simple answer is: Today it is pretty easy to find
information, you just need to search for it:

http://www.google.com
search phrase: serial port mfc

brings up ~25000 hits
The second one looks extremely promising.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top