|Subject:||Re: [Discuss-gnuradio] [USRP-users] problem with file source block|
|Date:||Mon, 16 Mar 2015 17:20:04 +0100|
|User-agent:||Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0|
I'm not sure I'm understanding you completely, so I'll just go through your email and would like to ask you to *confirm* that I understand things correctly, before we go deeper into this:
I have been trying to work on providing securityI think you mean you want to add robustness to your transmission by adding redundancy, right?
Does this mean you want to do channel coding?
to the file source which i saved as .bin file.I guess this means you're using GNU Radio, and you have data stored in a file with the extension .bin?
I am not sure if it will work or not but I want to add logic to the file source like adding sync bits and encoding bits or any simple logic.That would work. BUT:
GNU Radio is based on the principle of connecting blocks.
You would never modify the file source, you would just insert a block that would add these bits.
Where should I do this in the generated python file?This sounds like you are using the GNU Radio companion (the graphical tool to build GNU Radio flow graphs), and it generates a python file that contains the instructions to set up your flow graph. For now, you should not touch that; instead, I'd insert blocks after your file source and before you continue dealing with the data.
However, doing working forward error correction and synchronization are rather complex, and it's not something I'd recommend starting with, when getting used to GNU Radio.
Have you had a chance to look at the guided tutorials  that GNU Radio has? They explain a lot of things rather nicely, and in the later chapters, you will find answers to your questions; however, it's necessary that you read the tutorials from the beginning to understand those.
PS: This question fits much better to the discuss-gnuradio mailing list, as it revolves around GNU Radio (and not USRPs); I've taken the liberty to include that mailing list here. I recommend signing up for discuss-gnuradio and following up there.
On 03/15/2015 08:58 AM, Anil Gaddam via USRP-users wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|