 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
fdunne2 Guest
|
Posted: Thu Jun 03, 2004 11:23 am Post subject: serial port communication in C++ MFC |
|
|
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.
|
|
| Back to top |
|
 |
Karl Heinz Buchegger Guest
|
Posted: Thu Jun 03, 2004 11:32 am Post subject: Re: serial port communication in C++ MFC |
|
|
fdunne2 wrote:
| Quote: |
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.
--
Karl Heinz Buchegger
[email]kbuchegg (AT) gascad (DOT) at[/email]
|
|
| Back to top |
|
 |
Thomas Lutz Guest
|
Posted: Wed Jun 30, 2004 9:13 pm Post subject: Re: serial port communication in C++ MFC |
|
|
you can find a sample MFC serial communications program with complete
source code at the following URL:
http://www.taltech.com/freesoftware/fs_sw.htm
On Thu, 03 Jun 2004 07:23:21 -0400, "fdunne2"
<fdunne2 (AT) nospam (DOT) yahoo.ie> wrote:
| Quote: | 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.
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|