Open Pipe
- 更新时间2025-07-30
- 阅读时长3分钟
Opens a named pipe and returns file descriptor, which you pass to subsequent Pipes VIs.
命名管道是一种特殊文件,可用于在不同的 Linux 进程之间进行通信。与普通文件不同的是,在以写入模式打开管道之前,必须以读取模式打开管道,通常是从另一个进程或应用程序打开管道,这样写入管道的数据才能传递给读取进程。否则会发生 I/O 错误,打开进程失败。

输入/输出
path to named pipe
—
path to named pipe is the path to the named pipe.
mode
—
mode indicates whether you want to read or write data.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
file descriptor
—
file descriptor is the file descriptor to use when reading from and writing to the opened pipe.
error out
—
error out contains error information. This output provides standard error out functionality. |
path to named pipe
—
mode
—
error in (no error)
—
file descriptor
—
error out
—