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.