02-11-2010 10:51 AM
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.
"
02-11-2010 04:08 PM
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.