I have a Texas Instrument board and I need to make a GUI on PC and link it to my board via a serial port in order to have communication.(energy-meter calibration monitoring window)

Therefore, I decided to use Visual Studio 2010. When I started to use it I found out that let's say for the C++ parts I have the following options.

Also as for the c# part I have the followings.


This is a little bit confusing to me as I do not know which one is useful and takes less time and effort to make. I should have TX and RX command between my board and PC as well as a nice window to show my values are coming from the board.

So, in your opinion and your best experience, what would you suggest to use and you provide me with an example, that would be perfect.

Thank you.

Edited by henrimontreal

2 Years
Discussion Span
Last Post by tinstaafl

Windows Forms is c++/CLR, which is a slightly different language than c++. c++/CLR is more like C# and VB.NET and all three are based on the .NET framework. But for quick GUI use Windows Forms. None of those options have anything to do with serial communications.

Once you have the basic GUI coded and running you can use the Serial Port class to communicate with the serial ports.


It would probably help to break your problem down into parts.

First decide what language you will be using. Since you want a GUI, using a .net language would probably be the easiest. If you have a background in c++ the c++/clr option is viable. You could also easily go with the C# option.

Before you actually do any GUI designing and work, you should probably nail down the serial communications. .net has a class for that. I would suggest starting with a console app and get the communication working.

Next once you see how the data is received and how to parse it, design a class to read the data and put it into reognizable form.

Now you know enough to design your GUI. Then it's a simple matter to interface the GUI with the class.

I know this sounds kind of complicated, but, each step builds on the step(s) before it. This helps to reduce the frustration of having to redesign everything, if you do things out of order.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.