Put your Bytes at Port function inside a while loop, and exit that loop only when the Bytes at Port returns a number greater than zero or some number of bytes you expect to receive. Put a 100 mSec delay inside that loop. Do this for both Bytes at Port locations. You may be trying to read too fast. Also, you might consider putting a timeout inside the Bytes at Port loops in case the port doesn't ever return anything. To do this, just test the loop iteration counter, like i>10, and wire that through an OR gate to the Stop sign. So your loop would exit when i>10 or when Bytes at Port > some number.