Saturday, June 24, 2017

Re: [Discuss-gnuradio] Python and C++ codes of the blocks IEEE 802.11



2017-06-24 16:26 GMT-05:00 Marcus Müller <marcus.mueller@ettus.com>:

Hi Cristian,

I'm a little confused: What do you mean with "find the codes"? You seem to know wifi_phy_hier.grc, so that *is* the definition of the hierarchical block. Could you elaborate on what source code you're looking for?

Thanks for your answer Marcus, I want to modify in that hierarchical block, the variable Sensitivity as global.

This parameter is no global, I mean, when I use the wifi_phy_hier.grc in the transceiver.grc or tx.grc, etc, If I modify the parameter before launch the simulation it is ok, the change has effect in the flowgraph, but if i add a QT GUI Range, and I modify it after the beginning of the simulation it doesn't have effect. Then I think the "set" of the parameter is no global (thinking in OOP).

Besides, this parameter is used in the WiFi Sync Short, and i want to modify this block to set that parameter as an input, and create another block in which i'm going to include a fuzzy system to set the parameter depending on other parameters.

But at the very first, I need to be able to modify the parameter Threshold (sensitivity) globally.



Thanks a lot for your time Marcus.

Best regards,

Cristian.

 

Best regards,

Marcus


On 06/24/2017 11:17 PM, Cristian Rodríguez wrote:
Hi all,

I hope all is going well.

I was trying to modify the code of some blocks, where is usually the code of an specific block or flowgraph?

Specifically, I want to modify the number of inputs in the wifi_phy_hier.grc, and put the variable Sensitivity as global, I mean, that i can modify it while the code is running, as rx_gain or tx_gain.

But in general, where can i find the codes? Are there some predefined folders?

Thanks in advance.

Best regards,

Cristian


_______________________________________________  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


No comments:

Post a Comment