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

名前付きパイプは、別々のLinuxプロセス間で通信するために使用できる特別なファイルである。通常のファイルとは異なり、パイプに書き込まれたデータを読み取りプロセスに渡すことができるように、書き込みモードでパイプを開く前に、通常は別のプロセスやアプリケーションから読み取りモードでパイプを開く必要がある。そうでなければ、I/Oエラーが発生し、オープン・プロセスは失敗する。


icon

入力/出力

  • cpath.png path to named pipe

    path to named pipe is the path to the named pipe.

  • cenum.png mode

    mode indicates whether you want to read or write data.

    0
    Read
    1
    Write
  • cerrcodeclst.png error in (no error)

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

  • ii32.png file descriptor

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

  • ierrcodeclst.png error out

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