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

#2954

Bitahwa Bindu
Keymaster

You need to subscribe to the DataReceived event before opening the port, then listen to that event when triggered. You can’t just read data without knowing if data is there.
when there is data in the buffer, the data received event is triggered.
use something like this: