Hello Álvaro, welcome to the GNU Radio community! I think we could probably help you better why you want to do this in C++ - most of us, including (and very much so) the long-time users and core developers use Python to build their flow graphs, because it's easier and has no performance downside.
Now, you're set on using C++, which is a wise (or: the only) choice in some environments (typically: embedded devices where you don't want to have Python), but it's usually not something that a beginner does; especially, if the Guided Tutorials are a challenge to you. You will find very minimal examples of how to build and run a flow graph in qa_gr_top_block.cc in the GNU Radio source code tree under gr- blocks/lib/ ; look for qa_top_block::t1_run(). Again, I'd advise **strongly** against using C++ flowgraph building, unless you have a very good reason to do so – all the things we have that reduce the entry hurdle are very much focused on Python, and you *will* meet unforeseen obstacles. Best regards, Marcus On Wed, 2018-01-24 at 17:16 +0100, Álvaro Cebrián Juan wrote: > Hello everyone, > > I have no prior knowledge with GNU Radio. I would like to learn how to > implement a very basic flowgraph using the C++ API. I have already checked > the GNU Radio C++ guided tutorial from the wiki, but I find it very > challenging for a beginner like me. I was thinking about something simpler > like connecting a source and a sink as shown in this Python example. I have > been looking for examples in Google but the vast majority of the ones I have > come across are written in Python. I would be grateful if someone could share > any guidelines, examples or resources that could help me getting started with > the C++ API. > > Best regards, > > Álvaro > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
