Giter Site home page Giter Site logo

Comments (6)

ryanvolz avatar ryanvolz commented on July 27, 2024

Hi! Since it can load pmt when using a Conda Prompt, do you have any success if you run gnuradio-companion from the Conda Prompt? Otherwise, are you launching GRC from the "GNU Radio Companion (radioconda)" entry in the Start Menu?

from radioconda.

tonycolo avatar tonycolo commented on July 27, 2024

I was running from Conda Prompt and the same problem exists when running from any shortcut / start menu entry. I start Conda Prompt and then invoke Scripts\gnuradio-companion.exe.

This is probably an issue with the File Meta Sink block itself per gnuradio #2365
I will further investigate.

from radioconda.

tonycolo avatar tonycolo commented on July 27, 2024

Solved --I added to blocks_file_meta_sink.block.yml an import statement for pmt:

templates:
    imports: |-
        from gnuradio import gr, blocks
        import pmt

And that param is now accepted and the block writes data to a file.
I wonder why this isn't fixed upstream somewhere.

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

I suppose not many (any) people have tried the File Meta Sink yet, and it was just created in a rush before the release. Definitely file a bug upstream so they know!

from radioconda.

tonycolo avatar tonycolo commented on July 27, 2024

I'm not sure what you mean. The first commit of the File Meta Sink block implementation dates to 2012, and the issue above notes the pmt import about a year ago. Paul Otto put together a nice video introduction on it and shows how to add tags, which is something I have not done but would like to also do
Thank you for putting together the distribution. I have been trying basic things with writing basic FFT output on the road to using my LimeSDR and RTL-SDR for amateur radioastronomy. I see your digital_rf and perhaps that will be much better than anything I could do.

from radioconda.

ryanvolz avatar ryanvolz commented on July 27, 2024

Oh sorry, I completely overlooked the issue you linked and also simultaneously confused this with the new SigMF block. So I guess this was "fixed" with documentation, but it seems like a code solution would be better. I'll see about putting in a pull request. Thanks for doing all the debugging, it made my job easy!

The Digital RF package could be useful if you plan on collecting data the way that we do at my work, which is basically running the radio all the time and writing the data continuously to disk. Then we do some automated processing, and the data is there if we want to do more digging. Eventually we delete the oldest data in a pseudo-ringbuffer fashion (Digital RF has tools for that). If that's not the kind of data collection you want to do and instead want to target fixed-length experiments, then you might be happier working with the File Meta Sink or the new SigMF stuff.

Good luck with your radio astronomy, and I'm glad that radioconda could be useful for it! Enabling this kind of thing was my motivation, anyway.

from radioconda.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.