Re: [Discuss-gnuradio] SDR R820T2

2015-08-28 Thread Andreas Ladanyi
Hi Pedro, i dont know about your linux distro or the way of your gnuradio installation. You need the gr-osmosdr package for the RTL block in gnuradio. You have to blacklist the dvb_usb_rtl28xxu module in your modprobe configuration. This are the basics in a short for driving RTL sticks in gn

[Discuss-gnuradio] Soundcards / alsa block / sample rates

2015-09-20 Thread Andreas Ladanyi
i use a soundcard which could sample at a sample rate of 192 kbits. if i have a look at the alsa block i could see options up to sample rate of 48k. Because i could set the sample rate in the alsa block i think that the alsa block is able to set sample rate of a soundcard. So how could i tell gnura

Re: [Discuss-gnuradio] Soundcards / alsa block / sample rates

2015-09-21 Thread Andreas Ladanyi
Hi Tom,   > I'm not sure that I understand. What "alsa block"? Are you talking about the audio source/sink blocks? And I'm assuming you mean inside GRC?   Yes, sorry, I mean the audio sink block which talks to the alsa system.   >The sample rate of this blocks is a combo box that is editable, whi

Re: [Discuss-gnuradio] Soundcards / alsa block / sample rates

2015-09-25 Thread Andreas Ladanyi
57 khz and 76khz.   regards, Andy   Gesendet: Montag, 21. September 2015 um 22:39 Uhr Von: "Marcus Müller" An: discuss-gnuradio@gnu.org Betreff: Re: [Discuss-gnuradio] Soundcards / alsa block / sample rates What device string are you using?   On 21.09.2015 22:32, Andreas Ladanyi wr

Re: [Discuss-gnuradio] Soundcards / alsa block / sample rates

2015-09-26 Thread Andreas Ladanyi
I solved the problem.   The issue was an overdriven amplifier because the output gain was to high and so there are a lot of noise and phantom signals.   Gesendet: Freitag, 25. September 2015 um 23:12 Uhr Von: "Andreas Ladanyi" An: "Marcus Müller" Cc: discuss-gnuradio

[Discuss-gnuradio] create lookup tables

2015-12-20 Thread Andreas Ladanyi
Hi,   i want to create a file for example with a sine lookup table. I use a signal source und a file sink. I think about how it is possible to get sine array with a amount of 255 (8 bit) values with 8 bit for each entry.   andy ___ Discuss-gnuradio m

Re: [Discuss-gnuradio] create lookup tables

2015-12-26 Thread Andreas Ladanyi
ector source block. andy M On 20.12.2015 13:40, Andreas Ladanyi wrote: Hi, i want to create a file for example with a sine lookup table. I use a signal source und a file sink. I think about how it is possible to get sine array with a amount of 255 (8 bit) values with 8 bit for each entry.

Re: [Discuss-gnuradio] create lookup tables

2015-12-26 Thread Andreas Ladanyi
Hi Marcus, Well, first: Signal Source can't produce 8bit signed integers by itself, so you'll have to convert whatever you configure the signal source for to char, eg. you could set it to "float" and use the "float to char" conversion. Make sure the result has amplitude 127. Properly configur

Re: [Discuss-gnuradio] create lookup tables

2015-12-26 Thread Andreas Ladanyi
Hi Marcus, My first idea is: python has to sample the 256 samples (for one period) from lookup table in exactly one second. So i think i need a timer which calls the next sample in the lookup table all 3,9 ms. My first idea above was to produce the sine wave from the lookup table (which i ha

[Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Andreas Ladanyi
Hi,   iam trying to compile GNURadio with the build-gnuradio script. Iam running a BananaPi (armv7 / cortex-a9) with the last raspian image for the Pi.   The building process showed me two error messages. One message was that cmake is below 2.8.10. So i compiled and installed the last cmake 3.1

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Andreas Ladanyi
I must correct a detail. The datasheet tells me that bananapi has a Cortex-A7. cat /proc/cpuinfo: Processor: ARMv7 Processor rev 4 (v7l) processor: 0 BogoMIPS: 1431.55 processor: 1 BogoMIPS: 1436.46 Features: swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-09 Thread Andreas Ladanyi
On Fri, Jan 9, 2015 at 1:37 PM, Andreas Ladanyi wrote: I must correct a detail. The datasheet tells me that bananapi has a Cortex-A7. cat /proc/cpuinfo: Processor: ARMv7 Processor rev 4 (v7l) processor: 0 BogoMIPS: 1431.55 processor: 1 BogoMIPS: 1436.46 Features

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-10 Thread Andreas Ladanyi
Am 09.01.2015 um 23:29 schrieb Tech: I think when I built it I used: cmake -DCMAKE_CXX_FLAGS="-mcpu=cortex-a7 -mfpu=neon-vfpv4 -mtune=cortex-a7 -funsafe-math-optimizations" ../ -Wno-dev I also had to enable swap space because the bpi doesn't have enough memory for some of the compile stages:

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-11 Thread Andreas Ladanyi
With the latest LUbuntu (instead of the latest raspian like in my last mails) version of Banana Pi the following error results when compiling gnuradio with the gnuradio build-script: Linking CXX executable test_all libvolk.so.0.0.0: undefined reference to `volk_32fc_x2_multiply_32fc_neonasm'

Re: [Discuss-gnuradio] Compiling GNURadio on BananaPI

2015-01-11 Thread Andreas Ladanyi
With the latest LUbuntu (instead of the latest raspian like in my last mails) version of Banana Pi the following error results when compiling gnuradio with the gnuradio build-script: Linking CXX executable test_all libvolk.so.0.0.0: undefined reference to `volk_32fc_x2_

[Discuss-gnuradio] FATAL: No supported device found

2015-01-13 Thread Andreas Ladanyi
Hi, Bananapi / LUbuntu After building GNURadio with the build-script and compiling / installing with success i can start gnuradio-companion or any gnuradio based py application but i get the following error messages. === linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.001

Re: [Discuss-gnuradio] FATAL: No supported device found

2015-01-14 Thread Andreas Ladanyi
Hi, Bananapi / LUbuntu After building GNURadio with the build-script and compiling / installing with success i can start gnuradio-companion or any gnuradio based py application but i get the following error messages. === linux; GNU C++ version 4.8.2; Boost_105400; UHD_003.008.001

Re: [Discuss-gnuradio] FATAL: No supported device found

2015-01-14 Thread Andreas Ladanyi
Hi Marcus & Tom,   yes, iam using the buil-gnuradio script. The process was interrupt when the gnuradio build process was working. I had to start cmake manualy like described on the gnuradio website for "native compiling" and it was ok.   I know uninstalled the gr-osmso via make uninstall and t

[Discuss-gnuradio] Testing an GRC project runs nearly 200% CPU

2015-01-15 Thread Andreas Ladanyi
Hi, iam testing an UKW Radio Receiver GRC project (gr-rds) on bananapi. The application starts. The tuned radio station sounds clicking. Changing any parameter in the GUI is very difficult/slow. top tells me a memory usage about 20 %. CPU usage is nearly 200 % (bananapi has 2 CPUs). At any w

Re: [Discuss-gnuradio] Testing an GRC project runs nearly 200% CPU

2015-01-16 Thread Andreas Ladanyi
Hi Marcus,   Yes, i tested this project with the same RTL stick on an "old" dual-core (actually i dont  know the exact CPU parameters) notebook and it works perfectly. If i start the project from the console via "python2.7 file.py" i get no warnings. Andreas   Hello Andreas, you never need a

Re: [Discuss-gnuradio] Testing an GRC project runs nearly 200% CPU

2015-01-16 Thread Andreas Ladanyi
device to small ?   And yes the python process is about CPU 180 %  in top, i could remember. The other processes had a small mem and cpu usage.     Cheers, Andreas   Gesendet: Freitag, 16. Januar 2015 um 09:43 Uhr Von: "Marcus Müller" An: "Andreas Ladanyi" Cc: disc

[Discuss-gnuradio] gnuradio-companion and multithreading

2015-01-21 Thread Andreas Ladanyi
Hi, iam testing gnuradio-companion editor on the Bananapi LUbuntu. When i am editing a block or drawing a block i recognize in top that the python process has a 100% CPU (i have 2 CPUs) load. The gnuradio-companion editor reacts very slow. Is it possible to tell the editor or python to use 2

Re: [Discuss-gnuradio] gnuradio-companion and multithreading

2015-01-25 Thread Andreas Ladanyi
Hi Marcus, Hi Andreas, GRC is already as multithreaded as GTK applications can generally be -- I think the bottleneck here is really your Bananapi's CPU, its RAM and its graphics card driver. If i stop the drawing of all the graphs in the compiled GNU Radio application, i could change parameter

Re: [Discuss-gnuradio] Help with GRC and 3.7

2015-02-07 Thread Andreas Ladanyi
Hi chris, i installed the GRC 3.7 via the build-script (http://www.sbrac.org/files/build-gnuradio) from GNURadio. With the build script a lot of blocks will be installed. The RTL-SDR source will be installed and works. I think the result of the build-script is a good and working GNURadio base

[Discuss-gnuradio] set block parameters / variables from cmd line ?

2015-04-03 Thread Andreas Ladanyi
Hi, i want to run an gnuradio .py application from the command line and want to choose parameters (like the frequency or sound level) on the command line. So i think about if it is possible to set block parameters / variables without graphical sliders or graphical textboxes from the command l

Re: [Discuss-gnuradio] set block parameters / variables from cmd line ?

2015-04-03 Thread Andreas Ladanyi
ameter block ? Am 03.04.2015 um 09:56 schrieb Chris Kuethe: You want a "Parameter" block, from the Variables section. On Fri, Apr 3, 2015 at 12:51 AM, Andreas Ladanyi wrote: Hi, i want to run an gnuradio .py application from the command line and want to choose parameters (like th

Re: [Discuss-gnuradio] set block parameters / variables from cmd line ?

2015-04-03 Thread Andreas Ladanyi
Hi Chris, That's it. Thank you very much :-) Andy Am 03.04.2015 um 19:50 schrieb Chris Kuethe: here's an example. "python parameter_demo.py --help" maybe run your script with --help to see what options it will accept... On Fri, Apr 3, 2015 at 10:20 AM, Andreas Ladanyi

[Discuss-gnuradio] transfer parameters/variables per TCP/UDP socket

2015-04-05 Thread Andreas Ladanyi
Hi, i have two grc applications. One TCP server application and one TCP client application. I want to change a parameter with a WX GUI slider on the client side and transport it to the server side. My first idea was to connect a variable / parameter block with a TCP/UDP block and set a specif

Re: [Discuss-gnuradio] transfer parameters/variables per TCP/UDP socket

2015-04-05 Thread Andreas Ladanyi
i want to correct myself. I dont want to transfer the parameter/variable itself. I want to transfer the content of it. Am 05.04.2015 um 19:57 schrieb Andreas Ladanyi: Hi, i have two grc applications. One TCP server application and one TCP client application. I want to change a parameter with

[Discuss-gnuradio] Problem TCP blocks

2015-05-12 Thread Andreas Ladanyi
Hi,   iam trying to setup a grc project with 2 TCP sinks server blocks each with own TCP port but both TCP blocks with the same IP.  So i want to open 2 different TCP Ports at the same host and same IP.  At the other grc project iam trying to setup 2 TCP source client blocks which connect to the

[Discuss-gnuradio] grc - libGL error: failed to load driver: i965

2015-05-18 Thread Andreas Ladanyi
Hi,   when i want to start a grc project i get the error message: libGL error: failed to load driver: i965   Iam working on odroid (MALI 400 GPU) 3 with Ubuntu 14 and i start the grc via ssh and X-Forwarding on my PC.   The grc project i want to start and run on the odroid works great and the

Re: [Discuss-gnuradio] Problem TCP blocks

2015-05-18 Thread Andreas Ladanyi
radio.org/doc/doxygen/classgr_1_1blocks_1_1file__descriptor__sink.html [2] https://github.com/gnuradio/gnuradio/blob/master/grc/grc_gnuradio/blks2/tcp.py#L70 [3] https://github.com/marcusmueller/gr-tcp/blob/master/python/tcp_sink.py really, just wrote this in a hurry. didn't even care to syntax chec

[Discuss-gnuradio] alsa problem

2015-05-25 Thread Andreas Ladanyi
Hi together, i am using grc 3.7.6.1. The system is odroid with ubuntu 14. I tested the alsa system with aplay and the sound works. When i start my project on odroid i get the following error message. On my desktop pc with grc 3.7.2.1 / ubuntu 14 the grc alsa works. INFO: Audio sink arch:

Re: [Discuss-gnuradio] grc - libGL error: failed to load driver: i965

2015-05-25 Thread Andreas Ladanyi
with the mali driver could be load instead of the armsoc driver. The reaction of all windows / textboxes / sliders are better. This problem was not only with the gnuradio guis instead it was a general problem. The libgl error is always present. Am 18.05.2015 um 15:06 schrieb Andreas Ladanyi

[Discuss-gnuradio] gr-osmosdr airspy compiling error

2015-05-26 Thread Andreas Ladanyi
Hi, i try to install gnuradio and some apps with pybombs and app_store. When i want install and build gr-osmosdr i get the following error message: [ 2%] Building CXX object lib/CMakeFiles/gnuradio-osmosdr.dir/airspy/airspy_source_c.cc.o /home/odroid/pybombs/src/gr-osmosdr/lib/airspy/airspy_s

Re: [Discuss-gnuradio] GRC Reacting Slowly

2015-05-27 Thread Andreas Ladanyi
Hi rich, on which hardware platform are you working ? Is this a PC or embedded device ? cheers, Andy Am 27.05.2015 um 01:09 schrieb Richard Bell: GNU Radio 3.7.8, Ubuntu 14.04 I have an admittedly large number of blocks in my current flow graph because I'm in the middle of some hardcore de

Re: [Discuss-gnuradio] GRC Reacting Slowly

2015-05-29 Thread Andreas Ladanyi
Hi Murray, thats an interesting fact. My project has a lot (i didnt count them) of blocks. I have the same delay problem on my PC and on my embedded device. On the embedded device its slower than on my pc :-) If i use only a few blocks than the delay is short. So i think your theory and su

[Discuss-gnuradio] question developing a new block

2015-06-04 Thread Andreas Ladanyi
Hi, i read some tutorials about creating new blocks. Iam asking my self a simple question and i think i couldnt find the answer: How is it possible to fill a python grc variable block with data from another block C++ variable. I know between C++ and python is the SWIG Framework. What to prog

Re: [Discuss-gnuradio] question developing a new block

2015-06-05 Thread Andreas Ladanyi
Hi Marcus, Dear Andreas, How is it possible to fill a python grc variable block with data from another block C++ variable. not really. GRC variables are a concept that doesn't exist in the flow graph or, really, in the python file that GRC generates. They just are python variables used when se

Re: [Discuss-gnuradio] Problem with TCP Source and TCP Sink Block

2015-07-03 Thread Andreas Ladanyi
Hi Marcus, is it possible to remove GNURadio from 12.04 with apt-get and install the GNURadio 3.7 branch with pybombs without switching to Ubuntu 14 ? I dont know if the dependencies are ok for 3.7 in 12.04. regards, Andy Am 03.07.2015 um 18:36 schrieb Marcus Müller: Hi Anamay Kane, that s

Re: [Discuss-gnuradio] Raspberry PI 2 build failure

2015-07-04 Thread Andreas Ladanyi
Hi Ron, have a look at https://gnuradio.org/redmine/projects/gnuradio/wiki/Embedded You have to native compile: cmake -DCMAKE_C_FLAGS="-march=armv7 -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a7" -DCMAKE_ASM_FLAGS="-march=armv7 -mthumb-interwork -mfloat-abi=hard -mfpu=neon"

[Discuss-gnuradio] Using external usb soundcard

2015-08-11 Thread Andreas Ladanyi
Hi, i want to use an external usb sound device. It works without any problems when playing back music. I dont know how the audio sink block or gnuradio works with this extern sound device. Howto tell gnuradio to read all possible sample rate values and use this device ? Andy ___

Re: [Discuss-gnuradio] Using external usb soundcard

2015-08-11 Thread Andreas Ladanyi
Hi Marcus, Hi Andy, assuming a modern linux. Ubuntu 14, yes i think this is a modern linux. In the Audio sink/source, you can enter the device name; potential names can be found by running aplay -L GNU Radio doesn't know anything about the supported rates of sound cards; you will need to try

Re: [Discuss-gnuradio] Using external usb soundcard

2015-08-11 Thread Andreas Ladanyi
Hi Marcus My soundcard support sample rates up to 192khz. So iam asking me how this sample rate could be set manual or the automatic selected samplerate could be veryfied. In the audio sink block max. 48khz could be set. What device name are you using? If you happen to use "" or "default", it's

Re: [Discuss-gnuradio] gr-rds

2015-08-23 Thread Andreas Ladanyi
Hi Michael, i read your mail and i could remember i had a similar problem with a lot of lost sync and bad block messages. My solution was to use a different RTL USB stick and to play with antenna type / antenna position and the gain of the RTL stick. I used a "classical" lamda / 2 dipol UKW