Home › Forums › Graphical User Interface using C#, VB, HTML, ASP.NET Discussions › GUI does not work properly › Reply To: GUI does not work properly
That is correct, I can send information from my GUI to hyper terminal with no problem. Any information typed in terminal and sent cannot be visible in “rich text box” of my GUI.
private void serialPort1_DataReceived(object sender, SerialDataReceivedEventArgs e)
string recievedData = serialPort1.ReadExisting(); //read all available data in the receiving buffer.
// Show in the terminal window
rtxtDataArea.ForeColor = Color.Green; //write text data in Green
rtxtDataArea.AppendText(recievedData + "\n");
- This reply was modified 10 months, 3 weeks ago by romant.