Re: [Discuss-gnuradio] help

2018-08-08 Thread Edwin Li
Hi Aruna, I’m not an expert, but I guess you haven’t set your DCMAKE_INSTALL_PREFIX to your GNURadio prefix. Here is what you may try: Use setup_env.sh to setup the environment Go to the gr-ieee802-11/build/ folder(I assume you have a build folder) Delete everything in the build folder In the bu

Re: [Discuss-gnuradio] Calling public C++ function in OOT module using Python --GRC testcase created

2018-08-01 Thread Edwin Li
; (3) "chaotic_prefix_bc_impl::Logistic_map" is a method in a class, not a > function; it is meant to be called from some instantiation of the class, > not directly like a function as you're doing in the GRC script. You can > make it a static function insid

Re: [Discuss-gnuradio] Calling public C++ function in OOT module using Python --GRC testcase created

2018-08-01 Thread Edwin Li
Hi Michael, Wow! Thanks for pointing out the compatibility issue in my DCSK block. I will modify that according to your suggestion. I added chaotic_prefix_generator_template.grc to my repository. I use it to tes

[Discuss-gnuradio] Calling public C++ function in OOT module using Python

2018-07-31 Thread Edwin Li
Hi, I've been trying to make a function in my OOT module public. The module is called chaotic_prefix_bc. I declare a pure virtual function called *Logistic_map()* in chaotic_prefix_bc.h, and overload it in chaotic_prefix_bc_impl.h and chaotic_prefix_bc_impl.cc. When I call this function in a vecto

[Discuss-gnuradio] Tagged stream block template for python?

2018-07-31 Thread Edwin Li
Dear subscribers, I just found out that you can only create *general block, sync block, decimator block and interpolator block *in python. See the official manual for reference https://www.gnuradio.org/doc/doxygen/page_python_blocks.html Is there no a tagged stream block template for python? Ther

[Discuss-gnuradio] How to use the output of a hierarchical block in the symbols field in Correlation Estimator

2018-07-27 Thread Edwin Li
Dear Mailing list subscribers, I'm using some self-defined packet prefix(chaotic complex numbers) in my communication system. In the receiver, I use Correlation Estimator to detect the packets. It needs to know the prefix. Since the prefix are interpolated and filtered by a root raised cosine filt

Re: [Discuss-gnuradio] Use microphone as sound source for USRP

2018-07-06 Thread Edwin Li
via the Audio Source. > > Best regards, > Marcus > > On Fri, 2018-07-06 at 13:35 -0600, Edwin Li wrote: > > Dear Mailing List Subscribers, > > > > There is an aux IO on the USRP X310 motherboard. I want to connect it > > with a microphone(Assume it outputs 12-bi

[Discuss-gnuradio] Use microphone as sound source for USRP

2018-07-06 Thread Edwin Li
Dear Mailing List Subscribers, There is an aux IO on the USRP X310 motherboard. I want to connect it with a microphone(Assume it outputs 12-bit digital signal that is compatible with the IO). I found very little information on how to use the IO other than the USRP manual( http://files.ettus.com/ma

[Discuss-gnuradio] USRP Underruns "UUUUU"

2018-05-09 Thread Edwin Li
Hi, There are several things you can try: 1. Split the USRP sink and source to two separate flow graphs. 2. 20M sampling rate is very high. Make sure your computer can handle this rate. If not sure, just reduce the rate. 3. If any of the above does not work, you may try to run “volk_profile”. I

Re: [Discuss-gnuradio] OFDM channel tap questions

2018-01-26 Thread Edwin Li
Hi Bob, Thanks for your detailed explanation. I figured out the causes for non-unity channel taps in my case. One is I didn’t consider normalization. Second, it was because that the Schmidl-Cox sync has a metric plateau. Imperfect synchronization gave me the phase rotation. Regards, Edwin S

[Discuss-gnuradio] OFDM channel tap questions

2018-01-10 Thread Edwin Li
Hi all, I run the example found in the ~/prefix/share/gnuradio/examples/digital/ofdm/rx_ofdm.grc. The ofdm signals can be decoded correctly. But I don't understand the channel taps. The channel taps are shown to be Key: ofdm_sync_chan_taps Value: #[(0,0) (0,0) (0,0) (0,0) (0,0) (0,0) (64.2159,-

Re: [Discuss-gnuradio] Update 2: BPSK problem: intermittent inter-symbol interference--Answer about the burst shaper and SPS

2017-09-01 Thread Edwin Li
ill have a > look at it! > > On 08/31/2017 10:58 PM, Edwin Li wrote: > > Hi Marcus, > > I'm sorry. That was very inconsiderate of me. I made a new grc file, > merging the tx and rx into one. You can find it in the attachment. > > I want to make sure the system works with

[Discuss-gnuradio] Update: BPSK problem: intermittent inter-symbol interference and phase change

2017-08-29 Thread Edwin Li
I changed the sample per symbol from 4 to 2, the number of filters in rrc filter from 128 to 32, and the intermittent ISI(there is still ISI but it is uniform across the packets) and phase change is gone(in simulation). I run the program on 2 USRPs, one as Tx one as Rx. The intermittent ISI is

Re: [Discuss-gnuradio] OFDM Preamble

2017-08-25 Thread Edwin Li
Hi Adhitha, I haven't used the "OFDM Insert Preamble" module before. But in my understanding, in tx_ofdm.grc, "OFDM Carrier Allocator" does the job of "OFDM insert preamble". It uses "sync word" instead of "preamble". I think they are the same thing. As for FFT length, keep it the same as your oth