|Download Help (Windows Only)|
Owning Palette: Serial Compatibility VIs
Requires: Embedded Module for ARM Microcontrollers, Mobile Module, or Touch Panel Module
Reads the number of characters specified by requested byte count from the serial port indicated in port number.
|port number is the serial port. The following table shows the available port number and the corresponding device name on different operating systems. |
|requested byte count specifies the number of characters to read. If you want to read the characters currently at the serial port, first execute the Bytes At Serial Port VI to determine the exact number of bytes ready to read. Use the byte count output of the Bytes At Serial Port VI as the requested byte count input to the Serial Port Read VI.|
|string read is the bytes read from the serial port.|
|error code is the error or warning code. If error code is nonzero, an error occurred. You can wire error code to one of the error handler VIs, which describe the error and give you options on how to proceed when an error occurs.|