Open Pipe VI

Owning Palette: Pipes VIs

Requires: Base Development System (Linux)

Opens a named pipe and returns file descriptor, which you pass to subsequent Pipes VIs.

A named pipe is a special file that can be used to communicate between separate Linux processes. Unlike a normal file, you must open a pipe in read mode, usually from another process or application, before you open the pipe in write mode so data written to the pipe can be passed to the reading process. Otherwise, an I/O error occurs and the open process fails.

 Add to the block diagram  Find on the palette
path to named pipe is the path to the named pipe.
mode indicates whether you want to read or write data.

0Read
1Write
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
file descriptor is the file descriptor to use when reading from and writing to the opened pipe.
error out contains error information. This output provides standard error out functionality.