Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to write mfc to store data from hyperterminal

Status
Not open for further replies.

TCY02

Junior Member level 3
Joined
Mar 5, 2005
Messages
25
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,486
mfc terminal program

how to write mfc to store data from hyperterminal

i am just using a microcontroller 8051 to get data and then send to pc
using rs232 serial port
and i want to know how to store the data i get
 

store data in mfc program

not quite clear about what you want.

1. you have a microcontroller system sending data to PC serial port. now you want MFC program to capture those data?

or

2. you have a microcontroller system sending data to PC serial port and you capture using Hyper Terminal. Now you need an MFC program to get data from hyper terminal?
 

write mfc

i have a microcontroller system sending data to PC serial port and you capture using Hyper Terminal. Now you need an MFC program to get data from hyper terminal
 

vc++ hyperterminal

i think in this case it would be hard,

if you wanna access the hyper terminal,
both your program and the terminal program should support message passing, or data sharing mechanism..

as the data of each task is protected.
 

mfc hyperterminal

so if there is any method to store the data from the 8051 through seial communication to the pc
 

Under hyperterminal there is a "transfer"menu option.

Transfer->Capture Text will let you capture the output to a text file
 

TCY02 said:
so if there is any method to store the data from the 8051 through seial communication to the pc

this can be done with serial port programming
a quick google can give you some link in VC++
https://www.ontrak.net/mfc.htm



note that: the port once opened by your VC++ program, it cann ot be opened by the hyper terminal.

only one process can hold the port at a time.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top