Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Reply To: GUI does not work properly

#2956

Bitahwa Bindu
Keymaster

To understand Subscribe, please Google C# Event and Delegates to learn more. We can’t explain all that here as C# is not our main tutorial topic.

When you receive data from a serial port, it’s gonna generate a receive event. You’ll have to subscribe to that event so that you can be notified when this event is raised. Then you can check if there is data to be read.