Hello guys,
I have created my block but which takes a variable N. I want to
change this variable using the slider variable, I understand that I need
to define a setVariable(N) but at
runtime I get error the this is not defined in the myblock_sptr module.
I added the function in the inside
Subject: Re: [Discuss-gnuradio] Using gr_sync_decimator [was: How to use
> forecast()?]
>
> On Fri, Aug 06, 2010 at 06:32:32AM -0700, Sammour wrote:
> >
> > Hi Eric,
> > I have a similar issue as the one described above and I have read some of
> > the exampl
Hi Eric,
I have a similar issue as the one described above and I have read some of
the examples in the directory provided but they seem to be different from
what I want to implement. I want to collect L samples from N channels and
store them in a buffer, do processing and output a vector of length
I have a basic question regarding GNURadio scheduler and how the flowgraph
works. I am using gr_sync_block but my question are valid for gr_block
>From the online tutorial about how to write a block I read:
87for (int i = 0; i < noutput_items; i++){
88 out[i] = in[i] * in[i];
89}
you guide me to better documentation, I will be very grateful.
Cheers,
Sam
Eric Blossom wrote:
>
> On Sat, Jun 12, 2010 at 03:40:21PM -0700, Sammour wrote:
>>
>> Thanks for everyone, I sorted the problem out. I needed to increment
>> "out"
>> after memcpy and
Thanks for everyone, I sorted the problem out. I needed to increment "out"
after memcpy and then return noutput_items/(N*N).
Cheers,
Sam
Sammour wrote:
>
>
> Hi John, Thanks for the message sorry for using MATLAB notation without
> clarification 2:12 = from 2 upto 12
Dear engineers,
I wonder if there's a way to plot a vector content vs. index in GRC? I mean
analogous to MATLAB command:
a=1:100;
plot(a);
Thanks
Sam
_
http://clk.atdmt.com/UKM/go/197222
Hi John, Thanks for the message sorry for using MATLAB notation without
clarification 2:12 = from 2 upto 12.
To simplify the case, I wrote the following code that actually carry the same
problem concept:
***
Tom,
I only need a single sample from each stream to generate the vector ( there
is a method of doing this in signal processing) and I am inherting from
gr_sync_block as the block is 1:1. I am also returning noutput_items and
didn't use consume_each() of course. Thanks anyway.
Still thinking :)
HI Eric,
Thanks for replying. My block has N=2:12 complex input streams and one
complex vector output stream of length N^2 (represents a reshaped NxN
matrix). The block basically is meant to calculate the covariance matrix
using a MATLAB library.
The signatures are:
input: gr_make_io_signature (
generate output.
I didn't want to give details in order not to divert direction of the
problem investigation. However, the block finds the autocovariance matrix
of N inputs using the update method.
Best regards,
Sam
Martin Braun-4 wrote:
>
> On Wed, Jun 09, 2010 at 06:06:01AM -0700
To isolate the problem, I removed all the complex code and wrote the
following in work() to generate a vector of random numbers:
gr_complex *out =(gr_complex *) output_items[0];
unsigned int index = 0;
for (unsigned int m =1; m<=4; m++)
{
*(out+inde
Dear Martin,
Thanks for replying. N is designed to be 2:12.
The block uses a number of inputs (N) to update a matrix that I am sending
to the output as a vector that will be reshaped in the next block when it
is used. Do you think that my programme takes much time to execute?
Cheers,
Sam
--
Well, it seems to be working here!
Martin Dvh wrote:
>
> The gnuradio.org server seems to be down. (9 Jun 2010)
>
> Even a ping times out.
>
>
> Martin
>
>
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/ma
Dear all,
I'm writing a block that outputs a vector of complex number inheriting from
gr_sync_block. In my code I wrote:
gr_complex *out =(gr_complex *) output_items[0];
gr_complex out_vector [N*N];
where out_vector is the array where the actual output values are stored. I
copied
Dear engineers
for debugging purpose, can we print the output of a block in python file
generated by swig?
Thanks
--
View this message in context:
http://old.nabble.com/print-the-output-of-a-block-python-tp28789113p28789113.html
Sent from the GnuRadio mailing list archive at Nabble.com.
__
Thanks a lot... it works
Sammour wrote:
>
> Hi all,
>
> I have installed gnuradio with grc. the bootstrap, configure, make, make
> check and sudo make install all of them ran nicely. However when I type
> "grc" in the terminal it says:
>
> The program
Hi all,
I have installed gnuradio with grc. the bootstrap, configure, make, make
check and sudo make install all of them ran nicely. However when I type
"grc" in the terminal it says:
The program 'grc' is currently not installed. You can install it by typing:
sudo apt-get install grc
grc: comm
Hi all,
I have installed gnuradio with grc. the bootstrap, configure, make, make check
and sudo make install all of them ran nicely. However when I type "grc" in the
terminal it says:
The program 'grc' is currently not installed. You can install it by typing:
sudo apt-get install grc
grc: c
FLAGS = \
$(NO_UNDEFINED)\
-L$(MATLAB_ROOT)/runtime/glnx86
libgnuradio_arraycomms_la_LIBADD = \
$(GNURADIO_CORE_LA)\
-L/usr/lib -lmyfirstblock
where myfirstblock is a library generated in MATLAB
Cheers,
Sam
Johnathan Corgan-2 wrote:
>
> On Mon, May 31, 2010 at 14:
t showing in GRC
>
> the file sink is probably not flushing to disk (common issue).
>
> Try using a head block and the run to completion option and see what
> happens. Upon completion, the file sink destructor will flush.
>
> -Josh
>
> On 05/31/2010 02:57 PM, Sammour w
Hello guys,
As my first gnuradio block, I have built a block to multiply two complex
numbers using MATLAB library. I compiled my block and wrote a python
programme to test it and everything went very nicely. I used this c++
statement in the general_work method to see the output of the block:
22 matches
Mail list logo