discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Re: save date and value to an rotating file


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Re: save date and value to an rotating file
Date: Thu, 14 May 2009 10:40:20 -0700
User-agent: Thunderbird 2.0.0.21 (X11/20090409)


Yes, my application is not complex, but not general. So there is no
support i think in grc.
Further on, if you make grc moduls, you have to use the sink and source
elements from gnuradio and can not process the input data through some
python functions.
connect(SOURCE(Gnuradio Source) ---> SINK(Gnuradio Sink))
Thats it ! No Python between this connection.

It would be nice to make all in GRC, but there is no module in GRC to
limit the size of an file. Further on i need to save the creation time and the
finish time of the saved file. This simple task is only be done by
python or c++.


There is a block called gr.head (misc->head) that shuts-off after N samples pass through.

and you can always add custom blocks that you write:
http://gnuradio.org/trac/wiki/GNURadioCompanion#AddingCustomBlocks

There are many simple function not realized in grc like the mathematical root operation.

Many doesn't work, and so you have to do many by hand !

Anything that you can fit into a line of python is possible, so for square root:

1)
x**.5

2)
add an import block: import math
math.sqrt(x)

-Josh




reply via email to

[Prev in Thread] Current Thread [Next in Thread]