Re: [Discuss-gnuradio] How can I separate and count the IQ samples stored

2015-09-08 Thread Marcus Müller
Hello Julio, it's not really clear what you're asking. Could you explain what you're looking at, what your system is, and what the problem you're encountering is? Best regards, Marcus On 08.09.2015 06:41, Julio Hector Aguilar Renteria wrote: > How can I separate and count the IQ samples stored

Re: [Discuss-gnuradio] Running flowgraphs from command line

2015-09-08 Thread Patrick Krämer
Hey Michael, Hey Kevin, Hey all, thanks for your help! I found that by specifying the python version I want to use when running the file, everything works fine. Like this: python2.7 if_else_mod.py This would be acceptable for me, however, I decided to do some of the stuff you suggested. I

Re: [Discuss-gnuradio] How can I separate and count the IQ samples stored

2015-09-08 Thread Chris Kuethe
File source (no repeat) -> complex to float -> 2 file sinks; one writing to "real.f32" and the other going to "imag.f32". Take the size of each output file and divide by 4. That's how many samples are in each. On Sep 7, 2015 9:41 PM, "Julio Hector Aguilar Renteria" wrote: >

Re: [Discuss-gnuradio] Convolutional Code output does not match polynomial

2015-09-08 Thread bob wole
On Tue, Sep 1, 2015 at 2:55 PM, bob wole wrote: > I am trying channel coding in gnuradio. I am using convolutional encoder > with K=7 and R=1/2 with polynomials [109, 79] (default). However I am not > getting the expected result. I input a known bit sequence, single frame >

Re: [Discuss-gnuradio] ssb - question

2015-09-08 Thread Przemek Lewandowski
Sorry I didnt attached second plot. http://postimg.org/image/h0y3640w5/ 2015-09-08 14:48 GMT+02:00 Przemek Lewandowski : > Hi everybody > > Im trying to make SSB modulation with Hilbert transform. And Im using IQ > modulator > here is schema: >

[Discuss-gnuradio] ssb - question

2015-09-08 Thread Przemek Lewandowski
Hi everybody Im trying to make SSB modulation with Hilbert transform. And Im using IQ modulator here is schema: http://postimg.org/image/gms5srret/ And I have a question. In Frequency domain there should be one peak, and on on my plot there is one - that is good, and second that is

Re: [Discuss-gnuradio] Installing GNURadio Using build script

2015-09-08 Thread Marcus D. Leech
On 09/08/2015 02:32 PM, vamsi krishna wrote: Hello Everyone, When I try to install GNURadio using the build script provided the build-gnuradio script I get the following error. [

Re: [Discuss-gnuradio] Consolidated Logic at GRCon

2015-09-08 Thread Jason Matusiak
> My name is Ryan Marlow, I'm a founder of Consolidated Logic, a new company > based out of Blacksburg, VA > working on an FPGA productivity tool we call RDA: Rapid Design Assembly. We > had a booth at GRCon this year > where we presented our tool working with Ettus's RFNoC framework for USRPs

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Marcus Müller
Hi Dave, I don't know how you installed, what OS / distro you are using etc. This is your computer, I can't really tell or teach you how to administrate it. Best regards, Marcus On 08.09.2015 20:14, Rama V wrote: > > Hey Marcus, > For reinstalling, I guess I need to first do an uninstall for

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Rama V
I built UHD manually by using the command 'cmake' and make install in the UHD build directory. Do you kindly need any other information on that which I could provide with? It could be of help. Thanks, Dave On Sep 8, 2015 2:48 PM, "Marcus Müller" wrote: > Hi Dave, > > I

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Marcus Müller
You need to do it from the same, unmodified directory where you did "make install" last. If you deleted that, the information which files have to be uninstalled are lost. You can only hope for the best and install over without deinstallation first. Best regards, Marcus On 08.09.2015 23:02, Rama

Re: [Discuss-gnuradio] ssb - question

2015-09-08 Thread Jeff Long
Unless you're building the IQ modulator with real signals for educational purposes, go with the flowgraph Ron mentioned. Multiplication by a complex sine is much easier. You can also use a Rotator or Frequency Xlating Filter to do similar things. The bandpass filter can be built in to the

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Marcus Müller
then make uninstall will be the right thing to uninstall GNU Radio. Best regards, Marcus On 08.09.2015 21:56, Rama V wrote: > > I built UHD manually by using the command 'cmake' and make install in > the UHD build directory. Do you kindly need any other information on > that which I could

Re: [Discuss-gnuradio] Reading ZMQ messages in Python

2015-09-08 Thread Stephen Harrison
try struct.unpack() On Tue, Sep 8, 2015 at 11:17 AM, Daniel Mazzer wrote: > Hello, > > I have a flowgraph that send ZMQ PUB messages generated by a custom > OOT block. The messages transmitted by GNURadio ZMQ PUB block are > received by a Python application, using a standard

Re: [Discuss-gnuradio] Reading ZMQ messages in Python

2015-09-08 Thread Marcus Müller
Hi, the "right way" to do this is use PMT's python bindings: import pmt s='\n\x08\x00\x00\x00\x01\x01\x00?\xe4\xbe\x83\x00\x00\x00\x00' p = pmt.deserialize_str(s) python_numpy_array = pmt.pmt_to_python.pmt_to_python(p) Best regards, Marcus On 08.09.2015 20:17, Daniel Mazzer wrote: > Hello, >

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Rama V
Hey Marcus, For reinstalling, I guess I need to first do an uninstall for GNU RADIO right? Do I need to type in sudo- remove? Please help. Thanks, Dave On Sep 8, 2015 11:13 AM, "Rama V" wrote: > I guess I would like to be preferred as Dave. Regarding the problem, I'll >

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Rama V
I am sorry for asking so many times. I have tried make uninstall but shows this make: *** No rule to make target 'uninstall'. Stop. Please advise what I can do. I am performing it newly. Thanks, Dave On Sep 8, 2015 3:13 PM, "Marcus Müller" wrote: > then > > make

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Rama V
Thanks for the reply. It's /gnuradio/build directory from which I need to uninstall. Thanks, Dave On Sep 8, 2015 4:03 PM, "Marcus Müller" wrote: > You need to do it from the same, unmodified directory where you did "make > install" last. If you deleted that, the

Re: [Discuss-gnuradio] Running flowgraphs from command line

2015-09-08 Thread Michael Dickens
Hi Patrick - You're on the right track. We're just following what is written (roughly) in < http://gnuradio.org/redmine/projects/gnuradio/wiki/MacInstall >. Please also note that unless you play some tricks with the +quartz variant that is available many GR dependencies, you'll have to install

Re: [Discuss-gnuradio] Reading ZMQ messages in Python

2015-09-08 Thread Daniel Mazzer
Hi Marcus, I was missing the "deserialize" call. I'll try it tomorrow. Thank you. Regards, Daniel On Tue, Sep 8, 2015 at 6:28 PM, Marcus Müller wrote: > Hi, > > the "right way" to do this is use PMT's python bindings: > > import pmt >

[Discuss-gnuradio] [USRP] tracking the transmission/receiving process

2015-09-08 Thread Logan Wu
Hello, I've been tracking the source code to figure out the procedure of transmission/receiving. All I've found out is that the parameters (e.g. freq, gain, etc.) are stored in a property tree, and messages are inserted to the tail of queue. But how does the transmitter/receiver (daughter board)

[Discuss-gnuradio] GRCon15 statistics

2015-09-08 Thread Francisco Albani
Hi! I'm curious about how many people assisted to the all the annual conferences, specially to the last one. And maybe there are more interesting statistics to know. Thanks! ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org

Re: [Discuss-gnuradio] [USRP] tracking the transmission/receiving process

2015-09-08 Thread Jeff Long
As an example, look for issue_stream_command() in uhd/host/lib/usrp/cores/rx_dsp_core_200.cpp There are separate files to control the various "cores" in the FPGA logic. And, there are multiple versions of things for different boxes, transports, etc. It starts makes sense if you read through a

[Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Rama V
Hey Marcus, Thanks for the advise. I am sorry to reply lately. So you want me to reinstall the GNU Radio again to recover the original files? If so, then I might be able to do it because there is a new version of GNU Radio 3.7.8 to remove that error. Thanks, Dave

Re: [Discuss-gnuradio] Installing GNURadio Using build script

2015-09-08 Thread vamsi krishna
Hi Marcus, RAM was the issue. It worked like charm once I increased the RAM size. Thank you. On Tuesday, 8 September 2015 11:36 AM, Marcus D. Leech wrote: On 09/08/2015 02:32 PM, vamsi krishna wrote: Hello Everyone, When I try to install GNURadio using

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Marcus Müller
Hi Rama, or Dave, first of all, can we stick with one name? I personally find Rama is a good name, but Dave is fine with me, too. However, you're having the exact same problem as Ravi, who is also using multiple names. This is really hard to follow. then: I think reinstallation is the cleanest

Re: [Discuss-gnuradio] Pybombs recipes submodule pointer update policy

2015-09-08 Thread Martin Braun
On 06.09.2015 12:18, Piotr Krysik wrote: > W dniu 05.09.2015 o 20:01, Piotr Krysik pisze: >> Hi all, >> >> I have question for pybombs developers/maintainers: >> Is there policy for updating recipes submodule pointer in the pybombs >> repository? >> >> Currently recipes submodule pointer is 29

Re: [Discuss-gnuradio] A small error in benchmark_tx file

2015-09-08 Thread Rama V
I guess I would like to be preferred as Dave. Regarding the problem, I'll follow your advise and approach if any further problems are encountered. Thanks, Dave On Sep 8, 2015 11:06 AM, "Marcus Müller" wrote: > Hi Rama, or Dave, > > first of all, can we stick with one

Re: [Discuss-gnuradio] Why cant I increase signal by 1 hz at a time with high frequencies?

2015-09-08 Thread Martin Braun
On 07.09.2015 19:33, Douglas Beonkey wrote: > It seems that when I create a signal source block and try and view the > signal on a waterfall plot or FFT plot, I can not increase the signal by > a granularity of 1 Hz at higher starting frequencies. > > Example: > If I create a signal source block

Re: [Discuss-gnuradio] ssb - question

2015-09-08 Thread Jeff Long
Your first problem is that you're using a 32k sample rate with a 20k sin/cos. This will actually come out as a 12k sin/cos, due to aliasing. Try the same thing again with a 48k sample rate and see what happens. Either bandpass filtering or a Hilbert transform can be used to create SSB. Not

Re: [Discuss-gnuradio] Running flowgraphs from command line

2015-09-08 Thread Patrick Krämer
Hi, I did the following command, as suggested: Patricks-iMac:work patrick$ sudo port select python python27 Selecting 'python27' for 'python' succeeded. 'python27' is now active. Patricks-iMac:work patrick$ python if_else_mod.py Fatal Python error: PyThreadState_Get: no current thread Abort

[Discuss-gnuradio] Problems closing a valve block with a Python Block

2015-09-08 Thread Juan Pimentel
Hello: We have successfully used a GUI block to open (or close) a valve by pressing the mouse button. Now we want to open (or close) the valve from a Python block that we are writing after comparing two messages. If the messages are the same, we want to open the valve, otherwise the valve

Re: [Discuss-gnuradio] [Discuss-GR] Running flowgraphs from command line

2015-09-08 Thread Michael Dickens
[off list] Hi Patrick - Thanks for the feedback. I've heard of your issue before; never experienced it myself. Do you mind if I ask you to do a few things to help debug & maybe we can figure out a better way to keep GR / Python / MP happy? I not, that's fine too; just thought I'd ask. 1) If you

Re: [Discuss-gnuradio] [Discuss-GR] Running flowgraphs from command line

2015-09-08 Thread Michael Dickens
My bad; let me really take this off list :) On Tue, Sep 8, 2015, at 02:07 PM, Michael Dickens wrote: > [off list] ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Reading ZMQ messages in Python

2015-09-08 Thread Daniel Mazzer
Hello, I have a flowgraph that send ZMQ PUB messages generated by a custom OOT block. The messages transmitted by GNURadio ZMQ PUB block are received by a Python application, using a standard ZMQ Library. [custom_oot_block] ---(GNURadio message)---> [ZMQ Publisher] .(ethernet).> [Python

[Discuss-gnuradio] Installing GNURadio Using build script

2015-09-08 Thread vamsi krishna
Hello Everyone, When I try to install GNURadio using the build script provided the build-gnuradio script I get the following error. [ 47%] Building CXX object gr-filter/lib/CMakeFiles/test-gr-filter.dir/qa_firdes.cc.o[ 47%] Building CXX object