Read From Pipe
- Updated2025-07-30
- 2 minute(s) read
Reads a number of bytes from a pipe, returning the results in the data string output. For this VI, you must have opened the pipe as a read pipe. The VI does not wait for data, so if the amount of data is not available, the VI returns any available data.

Inputs/Outputs
file descriptor
—
file descriptor is the file descriptor to use when reading from and writing to the opened pipe.
bytes to read
—
bytes to read is the maximum number of bytes you want the VI to read. This VI might read fewer bytes than bytes to read.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
eof?
—
If eof? is TRUE, the other end of the pipe is closed.
file descriptor
—
file descriptor is the file descriptor to use when closing the pipe.
bytes read
—
bytes read is the number of bytes read, which can be less than bytes to read.
data
—
data is the data read from the pipe.
error out
—
error out contains error information. This output provides standard error out functionality. |
file descriptor
—
error in (no error)
—
eof?
—
file descriptor
—
data
—
error out
—