Hi Marcus, Me and my team would be glad to help. I am aware that block interconnection depends on the scheduler, which forbids loops. However, my idea was not as ambitious as modifying the whole scheduler, but customizing the companion to generate the c++ code of a block, and thus my question (a sort of hier block, in terms of the companion, but written directly on c++, without interconnecting blocks, i.e. it would automatically generate the work() function, etc.). This would of course be much less powerful than allowing loops on a flowgraph, and only certain operations would be allowed (those for which a c++ function exists). But it would allow to program relatively simple but useful blocks, including loops, with all the simplicity of the companion. What do you think? best Federico
2017-09-18 19:52 GMT-03:00 Marcus Müller <marcus.muel...@ettus.com>: > Hi Federico, > > Loops in the Flowgraph are currently forbidden by GNU Radio itself, not by > the GRC designer. > > So, no, this is not scope of Hakon's project. If you want to contribute to > having that feature in a generally useful manner, we can certainly chat > about how you can improve the scheduler to make that possible. > > Best regards, > > Marcus > > On 09/18/2017 03:44 PM, Federico 'Larroca' La Rocca wrote: > > Hi, > Outputting c++ from the companion would be a great addition to GNU Radio. > A small question: the possibility of having loops on the flowgraph is > contemplated on this project? We've been using GNU Radio for teaching for > some years now (highschool, undergraduate and graduate students), and such > feature would be very useful and illustrative. For instance, when using a > PLL, we have to resort to feedforward schemes or using the blocks already > part of GNU Radio, but as a black box of sorts. Coding in c++ would be > asking too much from students in a course where the focus is on > communications, whereas the companion is simply perfect in terms of > intuitiveness and ease of use. > best > Federico > > 2017-09-18 6:10 GMT-03:00 Håkon Vågsether <hauk...@gmail.com>: > >> Hi all, >> >> The focus for this week has been the QT blocks. You can read more at: >> >> https://grccpp.wordpress.com >> >> Best regards, >> Håkon Vågsether >> >> _______________________________________________ >> Discuss-gnuradio mailing list >> Discuss-gnuradio@gnu.org >> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >> >> > > > _______________________________________________ > Discuss-gnuradio mailing > listDiscuss-gnuradio@gnu.orghttps://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio