Sending data to gnuradio

Hi all,
I am trying to use a use a file source block to read data from a fifo so
that eventually I can process data sent by another computer.
I wrote a simple c program to write data to the fifo and I have verified
that it works, but I don’t see any output on gnuradio’s scope when I try
to
send data through.
I’ve read through the file source block source code and from that my
guess
is that this is because when I initially start the program, the pipe is
empty so the file source block continuously returns 0’s.

Would I need to edit how this block works in order to accomplish what I
need
or is there some other way of sending outside data to gnuradio?

Thanks,
Garrett

On Thu, Jul 15, 2010 at 11:07:05AM -0400, Garrett Wenger wrote:

I am trying to use a use a file source block to read data from a fifo so that
eventually I can process data sent by another computer.Â
I wrote a simple c program to write data to the fifo and I have verified that
it works, but I don’t see any output on gnuradio’s scope when I try to send
data through.
I’ve read through the file source block source code and from that my guess is
that this is because when I initially start the program, the pipe is empty so
the file source block continuously returns 0’s.

Hi Garrett,

I’ve used gr_file_descriptor_ to successfully read/write to pipes. As
long as the pipe is empty, though, there should be no zeros. Are you
sure you’re actually seeing zeros, and the whole thing is not stalling?

Cheers
MB


Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin B.
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-3790
Fax: +49 721 608-6071
www.cel.kit.edu

KIT – University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs