Re: [Discuss-gnuradio] issue about message port of grextras

2014-04-25 Thread Damon
I got it. If the message port defined in grextras is disconnected, the message sink or source block will not in the flowgraph. Thanks Tom. Best regards, Damon On Thu, Apr 24, 2014 at 12:01 AM, Damon qiu.guowang...@gmail.com mailto:qiu.guowang...@gmail.com wrote: Hi Tom, Thanks for

Re: [Discuss-gnuradio] installing gnuradio e110

2014-04-25 Thread julian
Hello Marcus, i have updated the gnuradio from git and now i have this error when make: [ 60%] Built target _digital_swig_swig_tag [ 60%] Building CXX object gr-digital/swig/CMakeFiles/_digital_swig.dir/digital_swigPYTHON_wrap.cxx.o g++: Internal error: Killed (program cc1plus) Please submit a

Re: [Discuss-gnuradio] installing gnuradio e110

2014-04-25 Thread Philip Balister
On 04/25/2014 06:23 AM, julian wrote: Hello Marcus, i have updated the gnuradio from git and now i have this error when make: [ 60%] Built target _digital_swig_swig_tag [ 60%] Building CXX object gr-digital/swig/CMakeFiles/_digital_swig.dir/digital_swigPYTHON_wrap.cxx.o g++: Internal

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Michael Ossmann
On Fri, Apr 25, 2014 at 04:14:30PM +0400, Anton Komarov wrote: Hi, you can find in attach AM demodulator grc file. Everything is straight forward with demod but audio file generated looks weird. Only positive values of amplitude. The particular definition of amplitude adopted by GNU Radio

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Anton Komarov
But when we have only positive values that means in fact we have 0.5 DC offset, and that is bad. Moreover i've made test recording with GQRX - waveform is fine! Looking into the code, nothing special, am demod-low-pass-wav-sink. -- public PGP key http://pastebin.com/dqZqgyVE On Fri, Apr 25,

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Michael Ossmann
On Fri, Apr 25, 2014 at 05:25:54PM +0400, Anton Komarov wrote: But when we have only positive values that means in fact we have 0.5 DC offset, and that is bad. Moreover i've made test recording with GQRX - waveform is fine! Looking into the code, nothing special, am demod-low-pass-wav-sink.

Re: [Discuss-gnuradio] Test

2014-04-25 Thread Tom Rondeau
It looks like this was a gnu.org mail server problem. And it appears as though at least most of the messages were just delayed in getting out and not actually lost. Tom On Thu, Apr 24, 2014 at 11:25 PM, Robert Ghilduta robert.ghild...@gmail.com wrote: Yea there's definitely something weird

Re: [Discuss-gnuradio] How to reduce reconfiguration latency

2014-04-25 Thread Tom Rondeau
On Thu, Apr 24, 2014 at 10:14 PM, Vanush Vaswani van...@gmail.com wrote: Try decreasing the buffer size in gnuradio-runtime/lib/flat_flowgraph.cc I use: #define GR_FIXED_BUFFER_SIZE 2048 There are a number of hooks to each block to set various values to help you control stuff, like

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Anton Komarov
Thanks a lot. It does work! -- public PGP key http://pastebin.com/dqZqgyVE On Fri, Apr 25, 2014 at 5:41 PM, Michael Ossmann m...@ossmann.com wrote: On Fri, Apr 25, 2014 at 05:25:54PM +0400, Anton Komarov wrote: But when we have only positive values that means in fact we have 0.5 DC

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Marcus Leech
An AM demodulator is a squaring function. It can only *ever* produce positive values. You can remove DC offset by using a high-pass filter after it. on Apr 25, 2014, Anton Komarov anton.koma...@gmail.com wrote: But when we have only positive values that means in fact we have 0.5 DC offset,

[Discuss-gnuradio] [PATCH] cross build: undo bad side effect of commit dee85a7f4932c2475d9e84c5f92c2f3220aed3e6

2014-04-25 Thread Andy Walls
The use of VERBATIM in commit dee85a7f4932c2475d9e84c5f92c2f3220aed3e6 affected the expansion of ${pyexe_native} for cross builds: #!/usr/bin/env;python is not the same as #!/usr/bin/env python Signed-off-by: Andy Walls a...@silverblocksystems.net -- diff --git

[Discuss-gnuradio] for loop int i in block

2014-04-25 Thread MHMND Herath
Dear sir What is the maximum i value in for loop in a c++ block Neil ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] installing gnuradio e110

2014-04-25 Thread julian
Hello Philip, thanks for the help but i found another problem with this and didn´t find any solution on the web. i´m trying to create the swap file folowing this instrucctions i found here(i´m not sure if they are correct): http://elinux.org/BeagleBoardUbuntu#Creating_a_Swapfile

Re: [Discuss-gnuradio] for loop int i in block

2014-04-25 Thread Marcus Leech
That would depend on the type of "i", but generally, if a single-precision "int", then 2^31. But this is a generic programming and C/C++ question, not specifically related to Gnu Radio at all. on Apr 25, 2014, MHMND Herath mh...@ou.ac.lk wrote: Dear sir What is the maximum i value in for loop

Re: [Discuss-gnuradio] for loop int i in block

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This question is very unclear. Please clarify. On 25.04.2014 16:58, MHMND Herath wrote: Dear sir What is the maximum i value in for loop in a c++ block Neil ___ Discuss-gnuradio mailing list

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Actually I'm a little confused - Is seeing an AGC in an AM demodulator something you usually do? Especially the feedforward AGC should be rather err jumpy with a scope of but 256 samples, unless I'm missing something; f_sample seems to be 1024ksps,

Re: [Discuss-gnuradio] GnuRadio/USRP1 application compatible HandHeld Wideband 33 Megahertz – 4.4 Gigahertz Software Defined Radio

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi anonymous, although I feel your mail is kind of bold advertisement, I'm going to comment on this: - - Using LibUSRP is a bad choice. It's been outdated *for years*. UHD is the way to go. - - Recent GNU Radio (3.7 and 3.6.*) doesn't support

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Anton Komarov
Marcus, w/o AGC audio sometimes is creapy. I have tested AGC2, tried to play with attack and decay, but at last when there is a plane in the vicinity dongle overloads and sound become very loud. Then i tested FAGC and it fits well! 1024M/64 gives 16k and 256 samples equals - 62 ms of signal. Works

Re: [Discuss-gnuradio] [PATCH] cross build: undo bad side effect of commit dee85a7f4932c2475d9e84c5f92c2f3220aed3e6

2014-04-25 Thread Tom Rondeau
On Fri, Apr 25, 2014 at 10:47 AM, Andy Walls a...@silverblocksystems.netwrote: The use of VERBATIM in commit dee85a7f4932c2475d9e84c5f92c2f3220aed3e6 affected the expansion of ${pyexe_native} for cross builds: #!/usr/bin/env;python is not the same as #!/usr/bin/env python

Re: [Discuss-gnuradio] [PATCH] cross build: undo bad side effect of commit dee85a7f4932c2475d9e84c5f92c2f3220aed3e6

2014-04-25 Thread Andy Walls
On Fri, 2014-04-25 at 11:38 -0400, Tom Rondeau wrote: On Fri, Apr 25, 2014 at 10:47 AM, Andy Walls Thanks, Andy. In the future, can you either open an Issue on gnuradio.org or send us a pull request through github? That helps us track these things and makes sure they don't get lost.

Re: [Discuss-gnuradio] Waveform after AM demodulation looks weird

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A shoot, I overlooked the 64 decimation rate... Sorry about that. On 25.04.2014 17:36, Anton Komarov wrote: Marcus, w/o AGC audio sometimes is creapy. I have tested AGC2, tried to play with attack and decay, but at last when there is a plane in

Re: [Discuss-gnuradio] Finding max index in a vector

2014-04-25 Thread Tom Rondeau
On Thu, Apr 24, 2014 at 11:32 AM, Ed Criscuolo edward.l.criscu...@nasa.govwrote: How do I find the index of the max value in a vector from GRC? The max_xx block outputs the max value, but not its index, despite what it's documentation says: Data is passed in as a vector of length from

Re: [Discuss-gnuradio] Finding max index in a vector

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ed, I'm on a train. I wanted to try out how long it takes to do it including implementing rudimentary QA. So I just went ahead and tried: about 205s, most spent on figuring out how to get the IO signature straight. Enjoy:

Re: [Discuss-gnuradio] controlling Digital I/O from GRC

2014-04-25 Thread Marcus Müller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ben, this is basically hardware access that can't be abstracted to a sample stream, so no, you can't do it with GRC out of the box. What you can do is write a C++ class, implementing a message receiver, communicating with the USRP, and wrap that

Re: [Discuss-gnuradio] controlling Digital I/O from GRC

2014-04-25 Thread Marcus Leech
Actually, I've always thought that it would be useful to be able to acquire a "handle" for a block, for use in "helper functions" within GRC, you can actually achieve a fair amount with "helper code" that is hung off of buttons or function-probes and the like. All of the GPIO stuff in gr-uhd is

[Discuss-gnuradio] GRC - python code generation quirk for Function Probe with empty BlockID

2014-04-25 Thread Darren Long
Hi, I've been pottering around in GRC trying to get a pair of function probe's to update the QT fosphor GUI sink's centre frequency by calling self.set_freq(float(subprocess.check_output(['/usr/bin/rigctl', '-m', '2', 'f']).strip())) at 5Hz and self.set_samp_rate(self.samp_rate) at 20Hz.

[Discuss-gnuradio] Works better than USB 3.0 SDR devices running some apps --- Re: GnuRadio/USRP1 application compatible HandHeld Wideband 33 Megahertz ? 4.4 Gigahertz Software Defined Radio

2014-04-25 Thread Software RadioUSA
Marcus, Let's find out and compare USB 2.0 SDR devices running certain applications versus your USB 3.0 SDR devices ? No more talking please. The ASRP1, now to be called, SDR MIMO, will be available next month as well too to provide USRP1 applications reliable SDR environments. I've had it

Re: [Discuss-gnuradio] Works better than USB 3.0 SDR devices running some apps --- Re: GnuRadio/USRP1 application compatible HandHeld Wideband 33 Megahertz ? 4.4 Gigahertz Software Defined Radio

2014-04-25 Thread Tom Rondeau
Martin, I wanted to publicly address this kind of behavior that we've talked about in the past because I want to make sure everyone recognizes how we try and do business here. We really work hard on this mailing list to keep the discussion civil and technical. Arguments are welcome, but they need

[Discuss-gnuradio] Recommended gr-ais repo/branch/commit for GnuRadio 3.7.x (latest git) and UHD 3.7.1?

2014-04-25 Thread Andy Walls
Hi. What is the recommended gr-ais repo/branch/commit that yields a working gr-ais with GnuRadio 3.7.x (git commit 3831dd37c8df19e25fa258db4d393ee068889dae) and the Ettus UHD 3.7.1 GitHub shows this fork network: https://github.com/bistromath/gr-ais/network Right now I'm using bistromath/gr-ais

Re: [Discuss-gnuradio] Recommended gr-ais repo/branch/commit for GnuRadio 3.7.x (latest git) and UHD 3.7.1?

2014-04-25 Thread Nick Foster
754C is correct. What hardware are you using? Are you sure you have a line-of-sight view to ships? On Fri, Apr 25, 2014 at 2:14 PM, Andy Walls a...@silverblocksystems.netwrote: Hi. What is the recommended gr-ais repo/branch/commit that yields a working gr-ais with GnuRadio 3.7.x (git commit

Re: [Discuss-gnuradio] Recommended gr-ais repo/branch/commit for GnuRadio 3.7.x (latest git) and UHD 3.7.1?

2014-04-25 Thread Andy Walls
Ettus X310. No ship needed; I have a known good transponder connected through RF cables and attenuators to the X310. :) I can send AIS text and safety messages on demand, and the transponder will out its own position messages every 3 minutes since it is stationary. Regards, Andy On Fri,

[Discuss-gnuradio] X300 PCIe issues

2014-04-25 Thread Robert McGwier
I have my new x300's. The NI ExpressCard-8360B is recognized by my Intel 5, Lenovo, 64 bit machine running U 14.04 LTS. I naively assumed that given the way things had gone before, that this would be a low impact out of the box experience. uhd_find_devices finds nothing. So I go and dig and

Re: [Discuss-gnuradio] X300 PCIe issues

2014-04-25 Thread Matt Ettus
You are using ubuntu 14.4 which has a new kernel. It will take us a little while to get our kernel module working with it. In the mean time, going to an older kernel or distribution will fix it. This does not affect ethernet connections. Matt On Apr 25, 2014 11:38 PM, Robert McGwier

Re: [Discuss-gnuradio] How to reduce reconfiguration latency

2014-04-25 Thread Bolin Hsu
Thanks for suggestions of Vanush, Marcus, and Tom. I am happy to report that I was able to reduced the wasted samples from about 30k to about 1.5k. Here's what I tried: (1) #define GR_FIXED_BUFFER_SIZE 2048 in flat_flowgraph.cc. This gave me the result reported above. The down side of this

[Discuss-gnuradio] GUI development in GNU radio companion

2014-04-25 Thread ali hanif
Hi all, Is it possible to make a GUI in GRC as we can do in MATLAB?? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio