Open System Command Pipe
- 更新日2025-07-30
- 4分で読める
Opens a pipe to a system shell command and returns file descriptors that you can pass to subsequent Pipes VIs.
クローズ・パイプ VIを使用して、返されたファイル記述子をすべてクローズする必要があります。

入力/出力
command line
—
command line indicates which command for LabVIEW to call to run your program.
mode
—
mode determines whether you want to read and/or write data.
return standard error fd?
—
return standard error fd? sets the VI to return error file descriptor when set to TRUE. The default is FALSE.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
process ID
—
process ID returns the process ID.
read file descriptor
—
read file descriptor returns a file descriptor if you set mode to Read or Read + Write.
write file descriptor
—
write file descriptor returns a file descriptor if you set mode to Write or Read + Write.
error file descriptor
—
error file descriptor returns a file descriptor you can pass to the Read From Pipe and Close Pipe VIs if you set return standard error fd? to TRUE.
error out
—
error out contains error information. This output provides standard error out functionality. |
command line
—
mode
—
return standard error fd?
—
error in (no error)
—
process ID
—
error out
—