Transmission power and GUI

Hi,

I am using RFX2400+USRP+SUSI, and I have two questions:

  1. I am extending my main class from gr.top_block and I have noticed
    that
    all application examples which implement GUI are using
    stdgui.gui_flow_graph. I have tried stdgui…but in my application
    that
    cant be used because I have to run parallel/multiple flowgraphs but I
    want
    to implement GUI as well. Can some one guide me how can integerate GUI
    with
    such an application using gr.top_block, it would be better if one could
    refer me to some example code.

  2. After reading many posts on this forum I have got an idea how the
    transmission power is controlled and implemented but still I am unable
    to
    get exact figure in dB. I mean I read that the transmission power is set
    by:


u.set_pga(0/1, gain)…By doing this we set the maximum balue of gain,
but
it is not setting the amplitude of transmitted signal (i.e. transmission
power) or in other words it simply set what can be the maximum
transmission
power (maximum limit allowed).

But the actual transmission power is set by the following:
gr.multiply_const_cc(AMPLITUDE)…and the maximum AMPLITUDE is ~32000

It means that maximum AMPLITUDE i.e ~32000 can only be set if first we
have
set gain by set_pga() to maximum allowed value.
-----------------------------------Please let me know if above concept
is
correct.

Now I want to know what is the exact (or almost) transmission power in
dB
corresponding to different values of AMPLITUDE, e.g. what for the
following:

AMPLITUDE = 32000… ?? dB
AMPLITUDE = 26000… ?? dB
AMPLITUDE = 20000… ?? dB
AMPLITUDE = 16000… ?? dB
AMPLITUDE = 10000… ?? dB

and is there any standard formulea which I can use to exactly calculate
the
dB value corresponding any AMPLITUDE value?

Thanks in advance

Kaleem Ahmad

View this message in context:
http://www.nabble.com/Transmission-power-and-GUI-tp20127597p20127597.html
Sent from the GnuRadio mailing list archive at Nabble.com.