serial event in subroutine dont work?

Where is the call to serialEvent() ?

The serialEvent() functions are called at the end of loop(), if there is serial data on the specific port. The user does not need to code a call to the serialEvent() functions.