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.

which language for communicate uc and Pc with GUI

Status
Not open for further replies.

volkan

Newbie level 6
Joined
Dec 29, 2004
Messages
14
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
151
Hi all;
My project is about controlling a battery system and showing the special datas on PC with a GUI.
I want to ask , which one i should use for to take datas from microcontroller and show it with some figures on PC screen.
I haven't too much knowledge about communicating microcontroller and pc. I know C and some C# but i heart that visual basic is easiest one for it. Is it true?. I have not so much time to implement the PC software part of this project so i should choose the fastest way, if you send me some project samples like this(only PC software part of project) pls send me the links. And any other sources (books,links,project samples etc..) for your advice..
Thank you all
Regards
 

e_eja

Full Member level 2
Joined
Nov 15, 2003
Messages
141
Helped
4
Reputation
8
Reaction score
0
Trophy points
1,296
Activity points
1,079
If you know C, perhaps you should write your code in Visual C++
I agree, visual C is comport if you want to use GUi, but you must understand about OOP.
 

yogi

Full Member level 6
Joined
Jan 8, 2005
Messages
339
Helped
22
Reputation
44
Reaction score
5
Trophy points
1,298
Activity points
2,177
if u want to interface in C

see parallel port e-book on

www.bibinjohn.tk

if u are using USB then see USB Complete on same website
 

banh

Advanced Member level 1
Joined
Dec 16, 2004
Messages
458
Helped
17
Reputation
34
Reaction score
5
Trophy points
1,298
Activity points
3,937
omicron said:
Try Using Lab windows :sm2:

what's that?

Added after 1 minutes:

you can try Java,

a bit slower than normal program,

but programming is more comfortable than Visual C++,

and it's free (the JDK) from Sun.

Simplest communication is RS232 via COM port.
 

ahsan

Member level 2
Joined
Jul 24, 2004
Messages
47
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Texas, USA
Activity points
512
I think that the easiest and the best is LABVIEW. It offers many advantages, if u use C, it doesnot have a very good GUI and u have to write many lines to perform a simple task and to give your program a good look, Visual basic is easier than C but again, if u want to do something advance like receiving the signal serially and than applying discrete fourier series to it ....or some thing like that...then it will be not easy to do this on VB. Therefore i think Labview is best for all applications.
 

omicron

Junior Member level 2
Joined
Sep 14, 2004
Messages
21
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Pakistan
Activity points
135
Lab Windows is the hybrid of Labview & C. Developed by same NI people. I have used it to interface UC (8051) and PC using serial interface. The GUI is same as Labview but at back C coding is running.
 

joerieg

Junior Member level 2
Joined
Sep 12, 2004
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
178
try to use c++ builder, its very easy to combine with UART ( serial communication)
, i think i can help u if u choose c++ builder
 

irfansyah

Advanced Member level 4
Joined
Dec 29, 2004
Messages
106
Helped
9
Reputation
18
Reaction score
1
Trophy points
1,298
Location
New South Wales
Activity points
1,124
I used Visual Basic and it is easy because there is already a serial communications control included. Refer to previous posts for links. I used them too.
 

volkan

Newbie level 6
Joined
Dec 29, 2004
Messages
14
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
151
thank you all, i hope i will choose suitable one for me..
 

samcheetah

Advanced Member level 2
Joined
May 25, 2004
Messages
646
Helped
39
Reputation
78
Reaction score
10
Trophy points
1,298
Location
Pakistan
Activity points
6,919
volkan said:
thank you all, i hope i will choose suitable one for me..

you have gotten really confused havent you?? well the problem is that all computer languages can communicate with external hardware. and people on this board have a great variety of programming backgrounds. so everyone will tell you what is easy for him. this will only make things worse. the solution is that you tell us what language you like to work with. then someone proficient in that particular language will tell you how to communicate with your microcontroller. so it depends on you.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top