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.


icon

Inputs/Outputs

  • ci32.png file descriptor

    file descriptor is the file descriptor to use when reading from and writing to the opened pipe.

  • ci32.png 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.

  • cerrcodeclst.png error in (no error)

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

  • ibool.png eof?

    If eof? is TRUE, the other end of the pipe is closed.

  • ii32.png file descriptor

    file descriptor is the file descriptor to use when closing the pipe.

  • ii32.png bytes read

    bytes read is the number of bytes read, which can be less than bytes to read.

  • istr.png data

    data is the data read from the pipe.

  • ierrcodeclst.png error out

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