Gr.file_sink Issue

I looked everywhere for information pertaining to this question, but
nothing worked.

I am starting with a sample for recording information from my USRP
(N210),
but I am running into issues with:

self.gr_file_sink = gr.file_sink(gr.sizeof_complex, “data.dat”)

When I try running it, I get:

AttributeError: ‘module’ object has no attribute ‘file_sink’

Where am I going wrong? Is this an issue with my installation, something
to
do with C++/Python configuration? I followed the instructions for setup
from Ettus (
http://code.ettus.com/redmine/ettus/projects/uhd/wiki/GNURadio_Windows).

I was having issues with WX on GNURadio-Companion (Windows), and I
cannot
get my network configured for Linux, so I resorted to a Python script in
Windows.

Any help (including pointing me to reference pages or links) will be
appreciated.

Thank you.

Hi Paul,

if you’re using GR 3.7, the “standard” blocks have moved from the /gr/
module to the /blocks/ module.
If you’re using 3.6, further investigation is necessary.

Greetings,
Marcus

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