Pipes VIs

Owning Palette: Libraries & Executables VIs and Functions

Requires: Base Development System (Linux). This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Pipes VIs to pass data between applications on Linux. Pipes VIs simplify process synchronization by allowing separate processes to communicate with each other.

Palette ObjectDescription
Close PipeCloses a pipe. Other processes reading the pipe will receive EOF (end-of-file).
Open PipeOpens a named pipe and returns file descriptor, which you pass to subsequent Pipes VIs.
Open System Command PipeOpens a pipe to a system shell command and returns file descriptors that you can pass to subsequent Pipes VIs.
Read From PipeReads 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.
Write To PipeWrites a data string to a pipe. For this VI, you must have opened the pipe as a write pipe.