As we do not have the same equipment as you do and it is impossible to test it. I would just recommend a few things. On the Timer1_Tick sub, you write to the serial port and then check the value of rtbReceived. Instead you should wait until there is something there before checking (put a time limit for that) and then do the same after the other write to the port.