Why not "SERIN" all of your characters into a 'sliding buffer string' and keep that in a tight loop. You can keep track of it and keep checking if the beginning of that 'sliding buffer string' contains the "ST" that you're looking for. When it does, you save the data and act on it accordingly.
That way, you should be able to avoid the timeout and glitch problems that you're having.
I thought I had a good idea for you...lost it...can't find it again![]()
Bookmarks