Interrupted Serial communication after prolong use in c#

  • Thread starter Thread starter Abani_Kumar
  • Start date Start date
A

Abani_Kumar

Guest
Hello,

I have recently been working on a GUI in visual studio which consists of a serial terminal to display data sent from the micro controller (Arduino mega). Initially the GUI works as it should without any errors. The problem begins when it has been running for a long time (3-4 hrs), the serial monitor freezes. The normal operation of gui is restored once the com port is disabled and re-enabled from the device manager and running the gui again. I would like to know the reason for such absurd behavior of serial port and if there is any way to fix it through code rather than enabling/disabling from device manager.

Thanks

Continue reading...
 

Similar threads

G
Replies
0
Views
67
Giorgi.Jambazishvili
G
D
Replies
0
Views
156
Doug Demagistris
D
B
Replies
0
Views
112
Brad Ward
B
Back
Top