Re: [Discuss-gnuradio] Python block with vector input and vector output

2015-10-29 Thread Chad R
t_items[0][:] = out return len(output_items[0]) On Thu, Oct 29, 2015 at 2:08 PM, Marcus Müller wrote: > Hi Chad, > > there's something wrong with the indention of the lines between "def > __init__" and "g.sync_block", and the same goes for your work

[Discuss-gnuradio] Python block with vector input and vector output

2015-10-29 Thread Chad R
Good day every one I have implemented a Python block but I am not getting the results I expected. I get the results I expect at any frequency=samp_rate/2^n where n is any integer. My block makes use of a yall1 reconstruction algorithm to reconstruct a signal from M=100 to N=1024 vector. The code f

[Discuss-gnuradio] Plot layout

2015-10-27 Thread Chad R
Good day everyone I'm working on a report for my final year engineering project and I want to include some plots from GRC. Taking a screenshot of the plot isn't ideal as it saves it as a png. Is there a better way I could export it for importing into word? Preferably some vector format. Also the d

[Discuss-gnuradio] Python block inputting vectors of random sizes

2015-09-30 Thread Chad R
Good day everyone Could some please explain to me where I'm missinterpreting how to implement a block. My block code is import numpy as np from gnuradio import gr class compress_ff(gr.sync_block): """ Compressing Block """ def __init__(self, n, m): global phi N = n M

[Discuss-gnuradio] GRC python block

2015-09-28 Thread Chad R
Good day every one Ive been working on the creating a python block. Ive worked through the tutorial and my block passes make test. However when I try make install. I get an error with the /lib/_impl.cc file. Do I need to link the python block in this file and if so is there some where I can read u

Re: [Discuss-gnuradio] 2Rx 1Tx overflow error

2015-09-22 Thread Chad R
ojects/gnuradio/wiki/OutOfTreeModules#Tutorial-3-Writing-a-signal-processing-block-in-Python > > > > On 09/14/2015 09:28 AM, Chad R wrote: > > My complete code is: > > class Tx1_Rx2(gr.top_block): > def __init__(self, nsamps): >

Re: [Discuss-gnuradio] 2Rx 1Tx overflow error

2015-09-14 Thread Chad R
time.sleep(0.5) signal2 = tb.receive_data2() time.sleep(0.5) print "Signal" print signal print "Signal2" print signal2 I used the sample rate of 64Ksps for both cases. I'm new to both gnuradio and python so I am aware that

Re: [Discuss-gnuradio] 2Rx 1Tx overflow error

2015-09-14 Thread Chad R
Sun, Sep 13, 2015 at 6:03 PM, Marcus D. Leech wrote: > On 09/13/2015 07:02 AM, Chad R wrote: > > Hi Marcus I tried what you said and I'm still getting the overflow errors. > I've attached a link of my flowgraph if it will maybe help to solve this > issue. > http://imgu

Re: [Discuss-gnuradio] 2Rx 1Tx overflow error

2015-09-13 Thread Chad R
Hi Marcus I tried what you said and I'm still getting the overflow errors. I've attached a link of my flowgraph if it will maybe help to solve this issue. http://imgur.com/yI96ZMw On Sun, Sep 13, 2015 at 1:01 PM, Chad R wrote: > Hi Marcus I tried what you said and I'm still ge

Re: [Discuss-gnuradio] 2Rx 1Tx overflow error

2015-09-12 Thread Chad R
rcus D. Leech wrote: > On 09/11/2015 07:56 AM, Chad R wrote: > >> Good day. >> >> I'm wondering if you can help me. I have a B210 board connected to a >> jetson tk1 and I am trying to send over one port and receive over two. The >> hardware setup is the RX/TX b

[Discuss-gnuradio] 2Rx 1Tx overflow error

2015-09-11 Thread Chad R
Good day. I'm wondering if you can help me. I have a B210 board connected to a jetson tk1 and I am trying to send over one port and receive over two. The hardware setup is the RX/TX board connected to an RF filter connected to a splitter and the connected to the two RX2 ports. When I run one TX an