Re: [Discuss-gnuradio] Correct way to add constructor parameter

2018-06-07 Thread Sumit Kumar
Ok this was very useful indeed :) Gives me lots of ideas to optimize my current flow graph. Thanks Sumit On 06/06/2018 18:47, Müller, Marcus (CEL) wrote: Also, while you're at it: If you have parameters (like potentially your scaling) that you'd like to update externally, for example from a

Re: [Discuss-gnuradio] Correct way to add constructor parameter

2018-06-06 Thread CEL
Also, while you're at it: If you have parameters (like potentially your scaling) that you'd like to update externally, for example from a different block, it's not that bad an idea to add a "command" message port, with a message handler that does the setting. I mention this because messages are

Re: [Discuss-gnuradio] Correct way to add constructor parameter

2018-06-06 Thread Sumit Kumar
Oops.. missed that. Thanks, its done now :) Sumit On 06/06/2018 18:28, Ron Economos wrote: You have to add the variable in the . line of the .xml file. Ron On 06/06/2018 09:08 AM, Sumit Kumar wrote: I am adding additional option in a GRC block. Its Soft Frame Equalizer As you

Re: [Discuss-gnuradio] Correct way to add constructor parameter

2018-06-06 Thread Ron Economos
You have to add the variable in the . line of the .xml file. Ron On 06/06/2018 09:08 AM, Sumit Kumar wrote: I am adding additional option in a GRC block. Its Soft Frame Equalizer As you see in the figure, the block has options for Algorithm, Frequency, Bandwidth, Log and Debug. I

[Discuss-gnuradio] Correct way to add constructor parameter

2018-06-06 Thread Sumit Kumar
I am adding additional option in a GRC block. Its Soft Frame Equalizer As you see in the figure, the block has options for Algorithm, Frequency, Bandwidth, Log and Debug. I added my own variable "*Scaling*". For this, first I edited in soft_frame_equalizer_impl.cc as follows :