Skip to content

uart read byte array

Ken Sharp edited this page Dec 8, 2023 · 1 revision

UART Read Byte Array

Read the specified number of bytes from the specified UART channel's receive buffer as a byte array.

uart-read-byte-array.png

Inputs

LINX Resource

Contains LINX connection resources.

UART Channel (0)

Specifies the UART channel to read from.

Num Bytes

Specifies the number of bytes to read from the LINX device's UART receive buffer. Use UART Get Bytes Available to check how many bytes are present in the UART buffer before reading.

Error In

Describes error conditions that occur before this node runs. This input provides standard error in functionality.

Outputs

LINX Resource

Contains LINX connection resources.

Data

Returns the data read from the LINX device's UART receive buffer.

Error Out

Contains error information. This output provides standard error out functionality.

Related Links

uart-close

uart-get-bytes-available

uart-open

uart-read-string

uart-set-baud-rate

uart-write-byte-array

uart-write-string

VI Reference

Clone this wiki locally