Ask Sawal

Discussion Forum
Notification Icon1
Write Answer Icon
Add Question Icon

Aurelien Winborne




Posted Questions


No Question(s) posted yet!

Posted Answers



Answer


Being a freelancer in any industry confers a sense of freedom upon you โ€“ and to some extent, you on a company, by company basis, to find if they have a need or demand for a freelancer. Have you ever used an app for your job search?


Answer is posted for the following question.

What is freelancer job?

Answer


Astronomy (n.) c. In English, astronomy is earlier than astrology and originally included the senses now distributed over both words; the gradual differentiation


Answer is posted for the following question.

Where is the word astronomy from?

Answer


Why is scanf/printf preferred over cin/cout in C++ in case of large in put output?"Missing: benefits | Must include: benefits


Answer is posted for the following question.

What are the benefits of cin over scanf?

Answer


The < center > tag in HTML is used to set the alignment of text into the center This tag is not supported in HTML5 CSS's property is used to


Answer is posted for the following question.

How to center html form?

Answer


How far is it from Charlevoix, Michigan to Detroit, Michigan? View a map with the mileage distance between Charlevoix, MI and Detroit, MI to plan your trip.


Answer is posted for the following question.

How far to charlevoix michigan?

Answer


  1. Download Google Pay on phones running Android 5.0 (Lollipop) or higher.
  2. Enter your phone number.
  3. Sign in with your Google Account.
  4. Follow the instructions to secure your Google Pay app and add a bank account. You can also add a debit or credit card. Fix problems verifying your phone number.

Answer is posted for the following question.

How to create google pay account?

Answer


Once you use my woza woza muthi they will get intense feelings of attraction towards you. woza woza muthi will change the way people you're interested in look at .


Answer is posted for the following question.

How to use woza woza oil?

Answer


You play the game by placing food and goodies (toys and furniture) down into the cats' habitat Depending on what you put out, different cats will come to visit


Answer is posted for the following question.

How to play neko atsume?

Answer


This guide will teach you all about Friends in MapleStory M Manage your friends in the Friend menu [Nearby Players], [ Friends ], [Guild],


Answer is posted for the following question.

Maplestory m how to trade with friends?

Answer


Any help is appreciated, thanks! The error "Microsoft Account does not exist" usually means: The person is logging in using an Alias If the user renamed the affected email address into a new account, the original account will become an Alias


Answer is posted for the following question.

Why does my microsoft account not exist?

Answer


The NRG Power Station, the huge port, the Queensland Alumina Ltd operation to the south of the city, the RG Tanna Coal Terminal, the Cement Works, the"Things to see and do ยท History


Answer is posted for the following question.

What is gladstone known for?

Answer


Frequently Asked Questions

Check out our page What is GNU Radio? for an introduction to what GNU Radio is and why you would want to use it.

We strongly encourage you to use your distro package manager. Debian/Ubuntu and Fedora/RedHat as well as many of the other popular Linux distros keep these packages well up to date. For Mac OS X, using Macports is strongly encouraged. See InstallingGR for details.

We mostly develop under Linux, and we've gotten GNU Radio to run under most current Linux distros. The best support will be for the latest supported versions of Ubuntu (their Long Term Support versions) and Fedora. Other common distros like Debian are well-maintained and will generally work fine. For Redhat and CentOS, you may find yourself needing to install some dependencies by hand. We highly recommend the use of PyBOMBS with these distros.

GNU Radio is also maintained on OS X. We have installation instructions and can help doing source builds on OS X. However, we highly recommend that you use the Macports installation of GNU Radio to make sure all of the dependencies are taken care of properly.

GNU Radio will build and run under Windows. However, we don't have direct, maintained support for Windows and few of us can help you with Windows issues. We hope to have better support in the future, but in the meantime, there are plenty of people with various levels of success working under Windows that you can contact through the discuss-gnuradio Mailing List.

GNU Radio supports both 32- and 64-bit operating systems.

For processor support, we generally develop and build on Intel x86 architectures. These processors have the best support for features and speed. However, we are actively developing our support and capabilities on ARM processors, currently only those running the ARMv7 instruction set. Older ARM processors with ARMv6 support have been known to work, but we have no direct support for them. They tend to be severely underpowered for math and signal processing for any serious GNU Radio app. We will be developing support for ARMv8. We also have a limited list of embedded devices and development kits that we are able to support.

GNU Radio in its core is C++ with lots of user functionality relying on Python. So basically, as long as there is a feasible compiler for your platform, it can work.

Hardware requirements basically depend on what you want to do. A modern PC/laptop computer is usually up to most tasks such as receiving broadcast signals, doing audio frequency processing, and many narrowband digital signals.

When dealing with telecommunication signals, however, sample rates of over 5 Msamples/s are not uncommon. The average embedded ARM platform is generally not up to that task. Even rather modern hardware often meets its limits when it comes to doing things in realtime; it all depends on your processing requirements, GNU Radio is only the platform to perform these computationally intensive tasks.

Missing components are usually seen because blocks are missing from GRC. This usually only happens when you did a source build.

You can check the installed GNU Radio components by running gnuradio-config-info --enabled-components (Or, for a nicer formatting, gnuradio-config-info --enabled-components | sed 's/;/\n/g').

After running cmake, you might see something like this at the end of CMake's output (this list is heavily cropped for simplicity, it is much longer in reality):

If the components you are missing are listed under the 'disabled' components, there's your problem. There are two reasons why components are disabled: - You disabled them yourself, e.g. by supplying a `-DENABLE_GR_DTV=OFF` switch to CMake. - The component was automatically disabled because CMake could not find certain dependencies.

In both cases, you can read the CMake output to see what the reason is. If dependencies are missing, you might have to install developer packages for something (on Debian and Ubuntu systems, these are packages ending with -dev, on Fedora, they end with -devel). Consult the build manual for which dependencies are required.

If you don't understand or know how to do this, consider installing precompiled binaries. Usually, they will pull in all the required dependencies.

There is a growing list of radio front ends for software radio uses. It is difficult to keep up with, and support for a particular radio front end in GNU Radio is generally left to the hardware manufacturer. The Ettus Research USRP product line, supported by UHD, is the exception since the USRP and GNU Radio have had a long history of developing and working together. See also Hardware.

We have a wiki page for this: SuggestedReading

Start with our Tutorials to learn your way around GNU Radio. They are divided into levels of user experience.

All GNU Radio blocks are listed in Block Docs. When using GNU Radio Companion, blocks are also listed in the Block Tree sidebar. You can use the search feature of GNU Radio Companion (a magnifying glass) to find blocks by name.

First off: You need to understand the general principle of "Sampling Rate" and the sampling theorem before you do anything with GNU Radio. See SuggestedReading.

For a tutorial on sample rate, see Sample_Rate_Tutorial.

The most common answer to that question is: It's as fast as it can run. If your signal processing application really needs that much computing, you need more computational power.

There are, however, some cases where your problems can be helped:

GNU Radio is written and designed for real-time streaming signal processing that interfaces with real hardware systems. A GNU Radio application attempts to source data from a hardware source and sink data to a hardware sink as quickly as possible. That means that we are rate limited by the hardware, which will either provide or allow us to push data between GNU Radio and the hardware system based on the rate of the hardware.

For other cases, see Sample_Rate_Tutorial#When_there_is_no_hardware_block.

See File_Sink#Handling_File_Sink_data.

For a tutorial on GRC, see Guided_Tutorial_GRC.

(Older GRC versions only; modern GRC adjusts the size automatically.) It's in the 'Options' block of your flow graph. The dimensions are in pixels, e.g. canvas (1536,1024)

Please see Tips for MacBooks and other HiDPI displays.

Please don't use your camera to take a picture of the screen! Instead, use the built-in "Screen Capture" functionality:

Basically, GNU Radio consists of the runtime scheduler and the main block class structure that lives in gnuradio-runtime. Outside of gnuradio-runtime are our top-level (or in-tree) components that consist mostly of blocks for building GNU Radio flow graphs as well as supporting code and quality assurance (QA) code for the blocks.

The top level component structures are all the same, and only gnuradio-runtime looks different, though there are similar structural aspects to the code. A top-level component also shares the same basic structure as any Out of Tree (OOT) module we would create to build a project that works with GNU Radio (gr_modtool works for in-tree components as well as OOTs).

A GNU Radio program is structured as a flowgraph that consists of blocks. As mentioned, the blocks can be found in the GNU Radio top-level components and any OOT modules you've installed alongside GNU Radio. We first create a top_block that's the object that contains the full flowgraph. Blocks are then connected together by connecting streaming outputs to inputs or connecting message ports together.

GNU Radio blocks work off a concept of "items". We are tempted to think of signal processing applications in terms of "samples", but this isn't expressive enough for all of the different situations we work with in GNU Radio. Sometimes, a block may be operating off samples, symbols, bits, bytes, packets, frames, or other types of data structures. We generalize this into the name items. Blocks process items. We have to know what those items mean to each block.

The block is generalized such that it either knows what type of item it deals with (like a multiply_cc block works explicitly off complex data streams) or we tell it what data type to use, like a file source or sink. The block is interested in two things. First, the data type itself if it's doing operations directly on the data. The complex multiply block needs to know the data type of the stream because doing complex multiplies is very different than floating point multiplies. In other situations, like the file sink and source blocks, they just need to know how many bytes to write or read from a file. They don't care about the data structure, just the size of the data structure. So we can tell them the size, in bytes, of the item type. In the case of reading from a complex file, we give it the size of a complex item, which is 64 bits.

It's not really that bad. In fact, good Python programming practices are as good as and sometimes better than naive C/C++ programming. Working harder at the C++ code, however, is still going to be better, obviously.

More importantly, this isn't the right question to ask. GNU Radio uses Python as a scripting language, not (usually) for runtime signal processing (see the question on Python blocks, too). All of GNU Radio blocks and the scheduler are written in C++. We export the interface into Python to allow us to use that as a scripting language to make it easy to put flowgraphs together. At runtime, Python gets out of the way unless you've programmed something yourself in Python, which is common for user interface, controls, and interaction.

There is a facility to write and use a block in Python, which we call Python blocks. There's an interface between the Python domain and the runtime flow graph which allows us to write our blocks in Python and connect them to other GNU Radio blocks. Using this feature can be nice for quick prototyping, demos, and debugging. Using good Python programming techniques such as relying on Numpy and Scipy routines will help a lot here. But don't expect a Python block to be your deployed runtime version of the code unless the data rates are very low. You will probably want to translate this block into a C++ block. The exceptions are for slower parts of the graph, such as control, measurements, or even packet-level processing operating on chunks of bytes instead of samples. Measurements and profiling are your friend.

We use a standard version numbering scheme in GNU Radio: Major.API.Minor.Patch. Please see the explanation on our ChangeSets page.

A lot of users come into the project looking to experiment, including building known algorithms like phase-locked loops (PLLs). GNU Radio comes with each of the blocks to build your own PLL in a flowgraph, like a multiplier, lowpass filter, and VCO. But you try to put it together and GNU Radio tells you it won't work. That the flow graphs don't allow you to do loops. Why? PLLs are fundamental to radio and signal processing! How can it be that I can't build loops into a flow graph?

You can't perform loops in the flowgraph, but you can still do loops in GNU Radio. Let's first explore why we can't do loops in the way we might want. Data flow between blocks happens in chunks. While we might want to think of a continuous stream of samples going through a block, what really happens is a block is passed a large chunk of data from the previous block. This block processes this chunk of data in its work function and then passes it onto the next block. Data movement is a costly event, and so we want to minimize data movement to focus on data processing. To handle feedback, we must only process one sample at a time, otherwise, the feedback loop won't work. Processing a single sample means maximizing the data movement overhead and is unworkable.

Instead, let's look into a block to handle loops. Within a block, we can handle the data stream how we need to in order to look at the next sample. These algorithms like PLLs and other similar loops are common enough and fundamental enough that they probably belong in their own block, anyways. In fact, if you look at the list of GNU Radio blocks, you'll see a number of these loops already written. You can look at these for examples on how to set yourself up to perform loops like this.

Another way to handle loops is to use the asynchronous message passing interface. Messages can be sent from one block to any other block in the flow graph, in front or behind it in the data stream. Just remember that these messages are, as they are named, asynchronous. So the message doesn't arrive at any specific time relative to the data stream. So this would not be the way to implement a PLL-type loop, but another control-level loop not directly tied to the data would work fine.

GNU Radio is licensed GPLv3 or later. All code in the GNU Radio project is copyrighted by the Free Software Foundation. If you have questions about working with the license in your organization, there is a lot of material out there. The Linux Foundation has a webpage dedicated to helping understand this issue.

When developing your own project off GNU Radio, this code is obviously your own and not owned by the FSF. When contributing code to the core GNU Radio project, we need a copyright assignment for that code. Please read our Development wiki page for how to work with us in developing code and more information about the copyright assignment.

This depends. In most cases, you want to write your own module (an "out of tree" module, because it won't live inside the GNU Radio source code). Have a look at the tutorial on how to do this. If you think your block is an important DSP component or something else that should be part of the GNU Radio core, have a look at the contributor guide.

The build process (specifically make install) takes care of making sure the module is available for GNURadio and GRC.

The history is the number of items a block needs to calculate 1 output item. For a filter, this is equal to the number of taps. For a simple differentiator (y(n) = x(n) - x(n-1)), the history equals 2. Obviously, the smallest value for the history is 1.

In the work function, the number of items in your input buffer equals the number of input items plus the history minus one. Here is an example for an accumulator that outputs the sum of the last N items:

As you can see, noutput_items items of out[] are written, whereas noutput_items + history() - 1 items of in[] are read from.

If the history has the value N, the first N-1 items are "old" items, i.e. they were available in the previous call to work() (when work() is called the first time, they are set to zero).

You need to tell your OOT module to link against the right set of GNU Radio libraries. Basically, an OOT module is only told to link against RUNTIME, or libgnuradio-runtime.so. If you're using a class or block from another GNU Radio component, you'll need to add that component for proper linking. In your CMakeLists.txt file in the top-level directory of the OOT project, make sure to add whatever components you might need with this line:

set(GR_REQUIRED_COMPONENTS RUNTIME )

such as PMT, BLOCKS, FILTER, FFT, ANALOG, DIGITAL, etc.

A running flow graph is static, and can't be changed. There are two ways to implement reconfigurability:

Using lock() and unlock(), you will actually stop the flow graph, and can then disconnect and re-connect blocks. In the following example, the flow graph will run for a second, the stop the execution (lock), disconnect the source, connect a different one, and resume. The resulting file will first have data from the vector source, then lots of zeros.

Note that this is not meant for sample-precision timing, but rather for situations where time does not really matter.

If sample-timing is an issue, use general blocks to react to certain events. In the following example, we assume that you have written a general block which stops reading from the first sink at a given time, and then seamlessly switches over to the second input:

Here's some concepts you will have to understand to fully unlock all the capabilities of GNU Radio:

The SuggestedReading page has many good pointers to guide you into the basics.

There are often two issues here. One is windowing and the other is scaling. The basic flowgraph is:

source --> stream_to_vector --> forward FFT --> reverse FFT --> vector_to_stream --> sink

The windowing problem is related to the fact that we use a default window in the FFT. If you're just doing the transform to be followed by an inverse transform, you don't want to window the signal because you're changing the results of the FFT. Make sure to remove the window. You can pass an empty Python list as [] to the window parameter in the FFT options, or you can use a fft.window.rectangular(fftlen), which is just a vector of 1's. Now we're just doing the pure Fourier transform.

The scaling issue is related to how the FFT algorithm computes the results. There is an internal scaling effect of fftlen (the length of your FFT). So the output of your forward FFT is fftlen times the input. We can scale this down here if we wanted to:

... forward FFT --> multiply_const_cc(fftlen*[1.0/fftlen,]) --> reverse FFT ...

Or you can wait until you're done with the IFFT to rescale:

... forward FFT --> reverse FFT --> vector_to_stream --> multiply_const_cc(1.0/fftlen) ...

Note that in the first case, we have to pass a vector of fftlen constants with the scaling value (1.0/fftlen) because we're working with vectors at this point. Waiting until after the vector_to_stream block, we only need the single scalar that is multiplied against every value. It's still the same number of multiplications in the end.

We can solve both problems at once, by setting a rectangular window that includes the scaling to [1.0/fftlen,] * fftlen.

GNU Radio processes samples coming from hardware that are mostly-linearly-proportional to the instantaneous voltage seen at the antenna terminal. But unless GNU Radio enforced a very-strict hardware interface in which those samples are rigorously calibrated to some standard amplitude by the hardware, there's no way to know anything about absolute antenna voltages, only relative ones.

A typical receiver chain has many stages of gain and loss, filtering, decimation, etc. This will produce a lot of uncertainty about the exact proportionality between the samples that Gnu Radio processes (typically float-point values in the range {-1.0,+1.0}) and the actual voltage as seen at the antenna port.

What this means is that you must manually calibrate, over your expected operating conditions, if absolute power measurements are important to your application. This is typically accomplished use a calibrated noise source, or calibrated laboratory signal generator combined with calibrated attenuators so that you can measure at multiple points in the calibration curve.

Matt Ettus did a good talk on this.

First of all, those

things are called 'audio underruns'.

If your flow graph looks like this:

...and you see those errors, it's most likely a "2-clock-problem". The issue is, you have 2 pieces of hardware with a clock, and there's no way to perfectly align them. There are many failure modes here, but a very obvious one is this: Imagine the radio clock is ever so slightly slower than advertised, and the audio clock is faster. Then, invariably, at some point, there will be not enough data to feed into the audio sink and it will underrun. Also, remember that GNU Radio shuffles data in chunks, so there may be enough data, but not in the precise moment when the audio sink needs it.

A simple workaround is to set the Audio Sink parameter "Ok to Block" to "No". Beyond that, refer to ALSAPulseAudio#Working_with_ALSA_and_Pulse_Audio.

Most often, you updated some underlying component (e.g. UHD, gr-osmosdr, etc.) without recompiling GNU Radio. If ABI breaks, segfaults are the expected behaviour.

If you can't track down the offending module, re-link them all. If you are using UHD from source, start with that, then GNU Radio, then all of the OOTs.

Help can be found in a number of places, such as:

When posting to the mailing list, make sure that you've read our guide on reporting errors and asking questions. This is very important, and will help you get a good answer faster.

Please do not send private emails to the GNU Radio developers as they will just direct you back to the mailing list.

If you've asked on the mailing list and haven't received an answer, wait a bit longer. We are all pretty busy people and it can often take us a few days to get through our emails. If you're lucky and someone with the answer is free or if the question is simple enough, you might get an answer quickly. But don't worry if it's been a couple of days, and don't ask again too soon! Remember, you are asking others to do free work for you. Most of the time, someone will help you, but you have no claim on this.

Likewise on IRC, we are often away from our keyboard, and many might be in different time zones from your own. Again, be patient.

You might have read a number of the books and other suggested reading materials. You might then have gone through our list of tutorials. Maybe you've even been working in radio and communications for years. And yet you have a question that you think is simple or even "stupid". Well, we all have those questions and we could all benefit from good, open discussions of those questions.

Our IRC Channel and mailing list are good places to ask your questions. We don't like answering them in private, however, because even for questions you might think are stupid, others will have them too. Answering them in the public forum of our list makes them available for others to search later.


Answer is posted for the following question.

Where are gnu radio blocks stored?

Answer


Start extremely simple Your first release should be a single map with a few NPCs you can speak to and some random battles Next, try having two


Answer is posted for the following question.

How to make jrpg?

Answer


What are the benefits after filing a UCC-1. A state or county UCC section allows you to give public notice that you, as a creditor or secured party, have entered


Answer is posted for the following question.

What are the benefits after filing a ucc 1?

Answer


15 steps"1."Check to be sure you qualify. All cities have a set of requirements to drive a taxi, and you should check them to be sure you qualify. Typical requirements ."2."Train to be a taxi driver. There is typically no formal educational requirement to be a taxi driver โ€“ i.e. you don't need a high school diploma โ€“ but many ."3."Pass any required tests. Most municipalities, even if they do not have required training, do have a required test. Applicants are often charged a fee to .


Answer is posted for the following question.

How to become a taxi driver?

Answer


  1. Oil pulling. Oil pulling originated in an ancient system of alternative medicine called Ayurveda.
  2. Aloe vera. Aloe vera tooth gel may help to fight off bacteria that cause cavities.
  3. Avoid phytic acid.
  4. Vitamin D.
  5. Avoid sugary foods and drinks.
  6. Eat licorice root.
  7. Sugar-free gum.

Answer is posted for the following question.

How to remove cavity from teeth at home?


Wait...