LabVIEW provides several powerful serial input/output and string processing VIs. The proper use of these will lead to efficient application design. Though there is no "one way" to code your program, the easiest way to avoid many concerns is to use the "Bytes at Port" properly. This returns the number of bytes currently available at a serial port used by a VISA session. By wiring this number directly to the "byte count" input of the VISA Read, you may achieve optimal performance from your serial application. Observe the following block diagram as an example.