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.
![](/servlet/rtaImage?eid=ka03q0000012lB2&feoid=00N0Z00000HEWRt&refid=0EM0Z000000FzHh)
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