Since the goal is to parse messages on the same port and you are using one engine to parse both types of messages, you must use the sorting engine algorithm to accomplish the objective. The first step you need to make to meet this objective is to create another VMD file with two messages defined.