File Source and FIle Sink

I need to know how are File source and file sink used. I am trying to
use file sink to store samples that can be read into number sink but
when i use file source to read the same file and try to read that data
to number sink it shows None in the numbe sink. Is there any file
extension problem or what?

Regards,
Umair N.
MSc Communication Engineering
Chalmers University ot Technology, Sweden.

There are many examples in the python files. Look into the logging
section
of any modulator/demodulator code.

If you are reading or writing complex data use these

gr.file_source(gr.sizeof_gr_complex,“filename”)
gr.file_sink(gr.sizeof_gr_complex,“filename”)

The first argument is the sizeof(datatype stored in the file). It can be
char, gr_complex, int, float . You can read these files using the
utility
programs in gnuradio-core/src/utils

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