Solution
You can use the LabVIEW example Serial Port Monitor.vi that demonstrates the use of the NI VISA functions to monitor the Serial port.

This example can be found in the NI Example Finder in LabVIEW as follows:
Select Help»Find Examples»Hardware Input and Output»Serial»Serial Port Monitor.vi