Every 5 seconds I'm sending the time and weather to an advertising sign using a serial interface. It works great until after 2500-4000 sends then the connection just quits working.
The port is still shown as open and the "worker" object I made is still acting like it's sending out the commands. Except, port spy and the sign act as if nothing is sent out.
What is interesting is if I delete the connected port by highlighting it under the device property under custom devices, then re-add it, the sign starts working again for another 2500-4000 sends.
Is there a way to force a reset on a port through code? Or is there a way to automate this deletion/re-adding of a port?
The port is still shown as open and the "worker" object I made is still acting like it's sending out the commands. Except, port spy and the sign act as if nothing is sent out.
What is interesting is if I delete the connected port by highlighting it under the device property under custom devices, then re-add it, the sign starts working again for another 2500-4000 sends.
Is there a way to force a reset on a port through code? Or is there a way to automate this deletion/re-adding of a port?