> May be there are ways to generate a standalone executable.
I do this on windows, if you are looking to distribute binaries then re-write the python flow-graph in C++, then compile and you will get a portable binary exe, if the other system does not have Gnuradio then just include the gnuradio*.dll's with it. Follow the windows native CMake build guide to generate those. If you want to stay in linux then it will be libgnuradio-*.so's.
>Last, Is it possible to estimate the execution time of a specific block in
a gnuradio flow graph?You can look into 'gnuradio performance counters'.
On Mon, Jul 7, 2014 at 6:25 AM, Manu T S <manu.t.sree@gmail.com> wrote:
On Mon, Jul 7, 2014 at 3:16 PM, Simone Ciccia S210664 <simone.ciccia@studenti.polito.it> wrote:
Goodmorning,
I'm a PhD student working with gnuradio in ubuntu.
The motivation for which I need to write is regarded to how gnuradio treats
a project flow graph to make it as an application program, I have searched
over internet and various forum but I have not find nothing.
Consider that I have a gnuradio flow graph that works fine, and also, I
have the top_block.py that works fine, when imparting ./top_block.py from
the terminal.
My questions:
Is "top_block.py" my final application program? ( for example, is the
executable ".exe" file equivalent in windows )
I would use this file as an independent program, running it in an other pc
where gnuradio is not installed, is it possible? or Have I need some tools
( for example, at least python installed ).I am not aware of the exact answer to your question. Here is what I think.
Since the top_block.py is a python program it will require at least python interpreter. When you run top_block.py, it usually imports modules from GNU Radio. So if you run it on a machine without GNU Radio installed, python will complain saying that it can not import modules required for your application.
May be there are ways to generate a standalone executable. But the top_block.py is not a standalone executable. I hope someone out there knows a better answer to your question.
Last, Is it possible to estimate the execution time of a specific block in
a gnuradio flow graph?
If there are documentation that I have missed in the net, please give me
the reference...
I think for you these are simple questions, but I'm at the beginning and
gnuradio is a beautiful environment, I will learn!
Thank you for your help in advance,
Sincerely,
Simone Ciccia,
PhD student,
electronic engineering,
Antenna and EMC lab,
Politechnic of Turin, Italy
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
Regards--
Manu T S
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
No comments:
Post a Comment