Additional Information
Below is an example of using the System Exec VI to output driver messages relating to the system's serial ports.
More specifically, the [External] dmesg command is used to print a message buffer of the kernel. The output of dmesg is redirected to the input of the [External] grep command using the [External] Pipe character (|). The grep command allows for searching of patterns inside strings and files. In this case, we are searching for the string pattern ttyS.
The expected output will vary depending on whether your message buffer includes a ttyS string. If so, this section of the message buffer will be printed. If not, the output will be empty.