Quote Originally Posted by Ioannis View Post
My concern is that, data can be any number including the $23 which is '#' character.

So this might lead the routine to hang if data are out of sync sometime.
Why not use a TimeOut? Or can you not afford to miss any data?