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
—