Tuesday, June 30, 2020

Re: Making C++ OOT module and wish to set up a parameter with different choices!

I do not claim to cover all aspect of OOT blocks but I tried to document the basics of
passing parameters and public/private variables at
http://jmfriedt.free.fr/gr_oscilloscope_eng.pdf

Unfortunately this document only covers GNU Radio 3.7: while the French version was extended to
GNU Radio 3.8, the English version was not extended accordingly but I'd be happy to do so if there
is any interest.

JM

--
JM Friedt, FEMTO-ST Time & Frequency/SENSeOR, 26 rue de l'Epitaphe,
25000 Besancon, France

June 30, 2020 7:06 PM, "George Edwards" <gedwards.eng@gmail.com> wrote:

> Hello,
>
> I am making a C++ OOT module and wish to have an input parameter "frame_length" with different
> choices. I would like to provide short, medium and long frames with a value attached to each. Based
> on the OOT syntax, I can enter "frame_length" as an input argument to the model. Now, how can I set
> up the inners of the *.cc file so that when the module is built into a Gnuradio block, I can simply
> click on 'frame_length' to see the choices and select one?
>
> Thanks for the help.
>
> Regards,
> George

No comments:

Post a Comment