You just have to put your instrument read inside a while loop. Terminate the while loop when the correct data is read or when a timeout value is reached (an error condition). Instead of a sequence structure, you'd probably be better off using a state machine architecture. There's a couple of shipping examples that shows this architecture. Much more flexible that a sequence structure.