[Discuss-gnuradio] Message passing between gnuradio block and python class

2014-04-26 Thread MITUL VEKARIYA
Hi.
I am trying to make message source block in python. This block will send
value of some variable by message to python class.
I want to send message from this block to python class. Is it possible to
send message in this manner? If yes, then how?

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


[Discuss-gnuradio] Smith Chart in GNU Radio

2014-04-08 Thread MITUL VEKARIYA
Hi

I am trying to figure out how to use smith chart as a sink in GNU Radio.
I made an OOT (https://github.com/mitul93/gr-smithchart) using pyQT by
following Tim O'shea's work.
It is merely a skeleton, still lots of work to do.

I made two versions of smith chart - one using pyQT and another using
matplotlib (ploar plot).
After executing example_smithsink_numpy.py when I close the graph, the
program won't stop. I tried to write an close_event() for the graph, but it
didn't work. Is it happening due to the fact I am using it with GNU Radio?

To display data point on graph, shall I use message passing or simple
vector input?

Also please give me your feedback about expected function that I must
implement in smith chart.

Thanks
Mitul Vekariya
Institute of Technology
Nirma University
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Smith Chart in GNU Radio

2014-04-08 Thread MITUL VEKARIYA
Hello

Problem solved. I removed the QApplication() from the example. Matplotlib
was used for plotting, no need of qApp!!

Thanks
Mitul Vekariya


On Tue, Apr 8, 2014 at 2:22 PM, MITUL VEKARIYA 10bec...@nirmauni.ac.inwrote:

 Hi

 I am trying to figure out how to use smith chart as a sink in GNU Radio.
 I made an OOT (https://github.com/mitul93/gr-smithchart) using pyQT by
 following Tim O'shea's work.
 It is merely a skeleton, still lots of work to do.

 I made two versions of smith chart - one using pyQT and another using
 matplotlib (ploar plot).
 After executing example_smithsink_numpy.py when I close the graph, the
 program won't stop. I tried to write an close_event() for the graph, but it
 didn't work. Is it happening due to the fact I am using it with GNU Radio?

 To display data point on graph, shall I use message passing or simple
 vector input?

 Also please give me your feedback about expected function that I must
 implement in smith chart.

 Thanks
 Mitul Vekariya
 Institute of Technology
 Nirma University

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


[Discuss-gnuradio] GSOC 14 proposal for project Vector Network Analyzer

2014-03-13 Thread MITUL VEKARIYA
Hi
Here's the link for my proposal for the project Vector Network Analyzer
https://docs.google.com/file/d/0B5wp9A_w2B5scmVKOTlGbVFISm8/edit?pli=1

You can post comment on google doc also.
I am all ears to any suggestion.

Thanks
Mitul Vekariya
Institute of Technology
Nirma University
Ahmedabad 382350
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] change center freq of usrp_source block automatically in incremental way

2014-03-12 Thread MITUL VEKARIYA
Hi
I want to make block diagram in grc such that the center freq of
usrp_source should be automatically changed in incremental way defined by
min and max boundary. I don't want to take input from qt-qui slider.
Just like the example of usrp_spectum_sense.py but in grc.
How can I do that?

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


Re: [Discuss-gnuradio] GSOC 14 project Vector Network Analyzer

2014-03-05 Thread MITUL VEKARIYA
Hi,
Thanks for reply.
I want to measure phase between reference signal and signal coming from
DUT(Device Under Test). It may possible that due to non-linear
characteristic of the device, there are changes in frequency and amplitude
of signal. In this case the method you mentioned will give correct phase?

Thanks
Mitul Vekariya


On Wed, Mar 5, 2014 at 7:46 AM, zhenhua han hzhua...@gmail.com wrote:

 Hi,

  How can we measure phase between two sine waves using FPGA?

 Supposing the two sine waves have the same frequency.
 For two discrete complex signals, v1 and v2. we can compute the phase
 difference as follow.

 v3 = v1 * conj(v2)
 phase diff = arctan(imag(v3) , real(v3))

 (conj() means conjugate)

 Best,
 Zhenhua



 2014-03-05 1:36 GMT+08:00 MITUL VEKARIYA 10bec...@nirmauni.ac.in:

 Hi
 I am Mitul Vekariya https://github.com/mitul93 - final year student of
 Electronics and Communication (ECE) branch at Nirma University, India.
 I am very interested in mentioned 
 projecthttp://gnuradio.org/redmine/projects/gnuradio/wiki/GSoC
 .
 I like digital signal processing, Embedded Linux, Digital Communication
 and RF designing.
 I didn't work on any USRP devices, but I have experience of FPGA
 programming using VHDL and LabVIEW. I am familiar with SDR fundamentals and
 GNURadio.


 --

 Regarding Project, I've found one good document 
 http://www2.ee.cityu.edu.hk/~sklmmw/apmtt/B2BJan14/day1/Agilent_VNA_AN_Basics_5965-7917E.PDFfrom
 agilent.

 Summary of what I understood from that document:
 1) Using usrp b210 I can generate pure tone sine wave as test signal
 2) I will connect DUT ( device under test ) with external components to
 the usrp  and measure transmitted and reflected signal
 3) The amplitude and phase of the received signal will lead to different
 parameters

 How can we measure phase between two sine waves using FPGA? The method of
 zero crossing is advised or not?
 Please give you inputs on this project.

 Thanks
 Mitul Vekariya
 Institute of Technology
 Nirma University
 India

 ___
 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


[Discuss-gnuradio] GSOC 14 project Vector Network Analyzer

2014-03-04 Thread MITUL VEKARIYA
Hi
I am Mitul Vekariya https://github.com/mitul93 - final year student of
Electronics and Communication (ECE) branch at Nirma University, India.
I am very interested in mentioned
projecthttp://gnuradio.org/redmine/projects/gnuradio/wiki/GSoC
.
I like digital signal processing, Embedded Linux, Digital Communication and
RF designing.
I didn't work on any USRP devices, but I have experience of FPGA
programming using VHDL and LabVIEW. I am familiar with SDR fundamentals and
GNURadio.

--

Regarding Project, I've found one good document
http://www2.ee.cityu.edu.hk/~sklmmw/apmtt/B2BJan14/day1/Agilent_VNA_AN_Basics_5965-7917E.PDFfrom
agilent.

Summary of what I understood from that document:
1) Using usrp b210 I can generate pure tone sine wave as test signal
2) I will connect DUT ( device under test ) with external components to the
usrp  and measure transmitted and reflected signal
3) The amplitude and phase of the received signal will lead to different
parameters

How can we measure phase between two sine waves using FPGA? The method of
zero crossing is advised or not?
Please give you inputs on this project.

Thanks
Mitul Vekariya
Institute of Technology
Nirma University
India
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio