C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

serial port communication in C++ MFC

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
fdunne2
Guest





PostPosted: Thu Jun 03, 2004 11:23 am    Post subject: serial port communication in C++ MFC Reply with 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
Karl Heinz Buchegger
Guest





PostPosted: Thu Jun 03, 2004 11:32 am    Post subject: Re: serial port communication in C++ MFC Reply with quote



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





PostPosted: Wed Jun 30, 2004 9:13 pm    Post subject: Re: serial port communication in C++ MFC Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.