I need a very simple GUI interface that must be written in Visual Studio C# this can be VS 2010 or VS 2013 although I prefer Visual Studio 2013 as this is what I am use. The interface is nothing more than a very simple client application that will be employed to talk to an embedded microcontroller via TCP/IP using either Ethernet or WiFi connectivity. The application should make use of the standard WinForms object libraries that come with the Visual C# package, in other words the same control objects that are found within its tools folder. Also the application should be using the standard .NET framework that comes with Visual Studio.
I basically just want the mechanism to open a TCP/IP port, configure the connection, send some fixed ASCII delimited text in form of a string and be able to receive back the string reply from the embedded controller, which is then shown in a textbox. The inputs are a textbox window to enter the IP Address : Port#; i.e: [url removed, login to view]
There is two buttons, one to initiate or open the port and the other to close the port. Additionally, there is to other buttons to send string commands to the server device as such:
The “Get Current Value” button sends the following string command: *GETI^
The “Get Temp Value” button sends the following string command: *GETT^
The example replies on the received text window for the above commands are as follows: