[Discuss-gnuradio] Constellation sink gnu radio

2013-03-05 Thread José María Valencia

Please I need help:

I want to use constellation sink block but when I run my design I get this
error:


Traceback (most recent call last):
  File C:\Documents and Settings\Chema\Escritorio\temporal\top_block.py,
line 13, in module
from gnuradio.wxgui import constsink_gl
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\constsink_gl.py, line
25, in module
import const_window
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\const_window.py, line
25, in module
import plotter
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\plotter\__init__.py,
line 22, in module
from channel_plotter import channel_plotter
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\plotter\channel_plotte
r.py, line 23, in module
from grid_plotter_base import grid_plotter_base
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\wxgui\plotter\grid_plotter_b
ase.py, line 24, in module
from OpenGL import GL
ImportError: No module named OpenGL
 Done

Warning (from warnings module):
  File C:\Archivos de
programa\gnuradio363\lib\site-packages\gnuradio\grc\gui\ActionHandler.py,
line 70
gtk.main()
GtkWarning: gdk_property_change: assertion `window != NULL' failed


I’m using gnu radio companion 3.6.3,  anybody can say me how to solve it?? 

Thanks.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Cos and sin blocks

2013-01-09 Thread José María Valencia
Anybody knows if gnu radios has blocks that computes the sin and cosine
trigonometric functions?? 
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Scope windows freeze

2013-01-09 Thread José María Valencia
Why the scope sink window is freeze when I run this simulation (see the
image) and some buttons are not visible?

  


single_tone_usrp_tx_rx_FM.grc.png
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] NBFM modulation block

2013-01-09 Thread José María Valencia
I want to know what internally does NBFM modulation block, 

How I can build that function with separated blocks??

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] sending single tone Am modulated using usrp1+wbx

2013-01-08 Thread José María Valencia
Ok, I understand your example, but before work with complex examples I want
to “experiment” with a simple circuit as a simple DSB AM modulator based on
the “theory”  that I wrote in the past mail, I’m aware about realistic
situations like noise and other factors and it was the reason I connected
directly a wbx output to  wbx input (different wbx) in the same usrp trying
to avoid this realistic situations. 

Now I know that is necessary an attenuator (in this moment I don’t have an
attenuator) and  I use two antennas, but I need to know if the usrp
mathematically works like I’m believing….


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] sending single tone Am modulated using usrp1+wbx

2013-01-08 Thread José María Valencia
Ok, I’m aware about the damage as a result of direct connection,

But now the question is How to recovery the m(t) signal in spite of noise?
That is, finally the I and Q in rx should be equal to I and Q in tx.

  
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] sending single tone Am modulated using usrp1+wbx

2013-01-07 Thread José María Valencia
Ok, I will try with an attenuator, but I suppose I can work too(while I get
an attenuator) with two antennas setting the proper gain for each one, but
now I have the next question: Independently if I work with attenuator or
antennas, why the gain affects the spectrum and shape of the received
signal?

Thanks.  
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Understand AM signal reception -- No Q component

2013-01-07 Thread José María Valencia
In reference to the mail send for Josh Blum on March 25 2012, How we can
obtain 0 in the Q component when I’m modulating in amplitude?, I understand
that carrier has a phase difference and like result the q component is not
zero. How to eliminate this phase difference?

Ideally :
I component --  Ac(1+m(t))
Q component-- 0

Thanks.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] sending single tone Am modulated using usrp1+wbx

2013-01-07 Thread José María Valencia
Marcus thanks for your help.

I was trying with 2 antennas (WA5VJB) varying the usrp tx gain but the
results are the same (In this moment I don’t have an attenuator). I was
reading a past mail from this list (March 25 2012) and there is a similar
problem that I have: the q component is not zero, I send a mail to the list
asking for it….  

thanks
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] sending single tone Am modulated using usrp1+wbx

2013-01-07 Thread José María Valencia
I will write my “theory” about usrp working and some math in Am modulation,
because I want to be sure before continuing:

If I want to modulate in DSB amplitude a carrier of saying 1GHz ,with a m(t)
signal (in this case a simple 1kHz cosine tone) the carrier is sourcing by
USRP module, and I have to set up the freq of usrp in 1GHz and based on Leon
Couch Book the complex envelope for DSB AM should   be I=Ac(1+m(t))   Q=0.
(In my case Ac=1).

This is equivalent to  (1+m(t))(e^0)  eq.1

I and Q are a complex signal that I connect to the usrp sink.

Internally the usrp  multiplies   eq.1 by e^(2*pi*1GHz*t) resulting
(1+m(t))e^(2*pi*1GHz*t) eq.2

Eq2. “travels by the air” to the receiver.

In the USRP receiver, Eq. 2 is multiplied by  e^-(2*pi*1GHz*t) resulting
(1+m(t))(e^0)  whose I and Q components are   1+m(t)   and 0 respectively ,
and I can obtain the magnitude with a complex to magnitude block, this
magnitude is 1+m(t).

This my “theory” and I want to be sure if this is correct…….

Thanks.
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio