[Discuss-gnuradio] FIFOs

2008-07-23 Thread Sebastiaan Heunis
Hi I'm trying to write USRP data to a FIFO and read it out using a C++ app. I can't get it to work. What I did was to type 'mkfifo myfifo' in the shell. This is the output to ls -l myfifo. prw-r--r-- 1 sebastiaan sebastiaan 0 2008-07-23 14:20 myfifo I then tried to run my application,

Re: [Discuss-gnuradio] FIFOs

2008-07-23 Thread Eric Blossom
On Wed, Jul 23, 2008 at 02:32:06PM +0200, Sebastiaan Heunis wrote: Hi I'm trying to write USRP data to a FIFO and read it out using a C++ app. I can't get it to work. What I did was to type 'mkfifo myfifo' in the shell. This is the output to ls -l myfifo. prw-r--r-- 1 sebastiaan

[Discuss-gnuradio] FIFOS

2008-07-23 Thread Sebastiaan Heunis
Hi I managed to get the previous issue sorted. You guys were right, FIFOs are blocking, so you first need to open a read before you can start writing to it. Now I just have a question. How do I read this data in C++? At the moment I am using double *buf = new double; FILE* fifo =