Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

error 6 open pipe

Hello,

I am using LabView Linux 2009. I want to use named pipes. I am unable to create a named pipe with mode = 1(write).

I am getting an error, however I do see the pipe being created.

"

Error 6 occurred at OpenPipe


Possible reason(s):

LabVIEW:  Generic file I/O error.

"

PipeError6.png

Download All
0 Kudos
Message 1 of 2
(4,173 Views)

According to the documentation for the Open Pipe VI:

"Unlike a normal file, you must open a pipe in read mode, usually from another process or application, before you open the pipe in write mode so data written to the pipe can be passed to the reading process. Otherwise, an I/O error occurs and the open process fails."

This fails because you didn't have a reader open the pipe first. If you do that then it works. This is just how pipes work on Unix. The reader must open the pipe first.

0 Kudos
Message 2 of 2
(3,177 Views)