Once you've recieved the message you're looking for, you can then use the case statement to execute another set of instructions or subvi. For example, if you get the "RECONNECT" string you could ignore it, if it is the data string then process it.
One note, where I have a > (greater than) on the output of the match pattern function, it should be a => (equal to or greater than). If the string is not found, the vi returns a -1.
I'm not sure how your program flows exactly. Is this a subvi that runs in a loop within a main program? If not, there are few things that happen only once. For example, since your initialization is not in a loop, it only happens just the one time. Same for the section of code where you check for RECONNECT or PO
WER ON.
You could contact me at shanahan@oasislex.com if you need further help.
~Tim