[Discuss-gnuradio] Saving PMTs as Python Dictionaries to .Mat File

2014-10-08 Thread Jonathan Fox
type ) to array The snippet of code to save is this: scip.io.savemat(savefile, dict(info)) savefile is a string that is a user set arguement. info is the dictionary. I don't know if anyone on this list has tried to do what I am doing but I would appreciate any insi

Re: [Discuss-gnuradio] Saving PMTs as Python Dictionaries to .Mat File

2014-10-09 Thread Jonathan Fox
about PMTs. I fixed my problem now. Thank you. Jonathan On Thu, Oct 9, 2014 at 4:16 AM, Martin Braun wrote: > We have functions to convert PMTs to corresponding Python types. Have > you tried those? to_python()? > > M > > On 10/09/2014 02:57 AM, Jonathan Fox wrote: > > I h

[Discuss-gnuradio] Issue with tuntap_pdu

2014-11-06 Thread Jonathan Fox
pdu::make: tun_alloc failed (are you running as root?) Of course I am running this as root. Why can't I have two instances of this running? Jonathan Fox ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Issue with tuntap_pdu

2014-11-10 Thread Jonathan Fox
On Thu, Nov 6, 2014 at 6:41 PM, Jonathan Fox <31...@cardinalmail.cua.edu> wrote: > I am trying to run the example simple_trx.py script from the gr-mac module > and I am having an issue related to what I believe is > gr::blocks::tuntap_pdu. > > This is what I am doing. >

[Discuss-gnuradio] Trouble with PMTs

2015-01-18 Thread Jonathan Fox
I'm updating older code from using the old streaming messaging to the new and improved message passing and PMTs. However I am getting an error compiling. Here is the code snippet: void energy_detector_sink_f_impl::send_to_message_p(float *out, int items_consumed) { pmt::pmt_t msg = pmt::c

Re: [Discuss-gnuradio] Trouble with PMTs

2015-01-19 Thread Jonathan Fox
Thanks for the help. The first thing I did was search the compiler error but wasn't successful in finding a well written answer such as yours. On Mon, Jan 19, 2015 at 2:12 AM, Martin Braun wrote: > On 01/19/2015 12:28 AM, Jonathan Fox wrote: > > void energy_detect

Re: [Discuss-gnuradio] [USRP-users] USRP N210 Signal Phase Issue

2014-01-07 Thread Jonathan Fox
Also, what RF gain are you setting? Does it exceed the maximum input > level of the spectrum analyser? > > Are you connected directly, or with an antenna? > > > > On Tue, Jan 7, 2014 at 3:03 PM, Jonathan Fox > <31...@cardinalmail.cua.edu>wrote: > >> A coll

Re: [Discuss-gnuradio] [USRP-users] USRP N210 Signal Phase Issue

2014-01-08 Thread Jonathan Fox
lto: > discuss-gnuradio-bounces+ralph=schmid@gnu.org] *On Behalf Of *Matt > Ettus > *Sent:* Wednesday, January 08, 2014 2:25 AM > *To:* Jonathan Fox > *Cc:* GNURadio Discussion List > *Subject:* Re: [Discuss-gnuradio] [USRP-users] USRP N210 Signal Phase > Issue >

[Discuss-gnuradio] Byte Input into Custom Modulator

2014-02-06 Thread Jonathan Fox
Got a question concerning the byte data type in GNU Radio. I am writing my own PSK modulator and I am having an issue understanding how the byte data type appears as I am using it for my input. I know byte is a char data type in C++ however how does it come in? Is it the binary data stream of a ch

Re: [Discuss-gnuradio] Byte Input into Custom Modulator

2014-02-06 Thread Jonathan Fox
Answers my question, thank you for the response. Jon On Thu, Feb 6, 2014 at 7:41 PM, Martin Braun wrote: > On 06.02.2014 16:24, Jonathan Fox wrote: > >> Got a question concerning the byte data type in GNU Radio. I am writing >> my own PSK modulator and I am having an issue

[Discuss-gnuradio] Question Concerning Custom Modulator Block

2014-02-17 Thread Jonathan Fox
Dear List, I am writing a custom QPSK modulator block (demod is next) and I am caught up on figuring out the output. I am taking the byte data type (which I am using C++ char) and for each bit of the byte I would have a custom symbol per bit rate. For an absolute minimum in a successful PSK syst

Re: [Discuss-gnuradio] Question Concerning Custom Modulator Block

2014-02-18 Thread Jonathan Fox
On Tue, Feb 18, 2014 at 5:30 AM, Martin Braun wrote: > On 02/18/2014 12:28 AM, Jonathan Fox wrote: > > Dear List, > > > > I am writing a custom QPSK modulator block (demod is next) and I am > > caught up on figuring out the output. > > > > I am taking the by

[Discuss-gnuradio] Fwd: Question Concerning Custom Modulator Block

2014-02-20 Thread Jonathan Fox
Forgot to hit reply all. On Wed, Feb 19, 2014 at 3:30 AM, Martin Braun wrote: > On 02/19/2014 12:23 AM, Jonathan Fox wrote: > > Thank you for the response, I apologize, I wasn't very clear at all in > > explaining my problem and I can see that I came across confusing. L

Re: [Discuss-gnuradio] Fwd: Question Concerning Custom Modulator Block

2014-02-20 Thread Jonathan Fox
On Thu, Feb 20, 2014 at 2:33 PM, Martin Braun wrote: > On 02/20/2014 01:49 PM, Jonathan Fox wrote: > > I know the I/O signature would control that part. So noutput_items is > > set in the IO signature, the size of it increases when a vector output > > is set. So if I call s

Re: [Discuss-gnuradio] GNU Radio Live SDR Environment 3.7.3 released

2014-03-18 Thread Jonathan Fox
I am pretty sure it just refers to the instruction set which is compatible with x86. On Tue, Mar 18, 2014 at 4:31 PM, David McQuate wrote: > I notice "amd64" in the torrent file name. > I suppose this will not work on an Intel Core 2 Duo machine... > > On 3/18/2014 8:51 AM, Johnathan Corgan wr

Re: [Discuss-gnuradio] rx_ofdm Does Not Work Past Synchronizer

2014-03-19 Thread Jonathan Fox
+1. No effect but I am not ruling out that it wouldn't help. The video is interesting enough that I am going to continue watching after the first half, maybe I can figure out more from there. Jon On Wed, Mar 19, 2014 at 7:50 AM, Martin Braun wrote: > On 03/19/2014 12:25 AM, Jonathan

Re: [Discuss-gnuradio] rx_ofdm Does Not Work Past Synchronizer

2014-03-20 Thread Jonathan Fox
est is to use the hier blocks for OFDM (you still need to > reduce amplitude), they will set up everything in a way that will work > for sure. See the loopback example in gr-digital/examples/ofdm. > > M > > On 03/19/2014 08:41 PM, Jonathan Fox wrote: > > Thanks for the respon

Re: [Discuss-gnuradio] OFDM RX Script Recovery After Interference

2014-04-28 Thread Jonathan Fox
Thanks for responding. No, everything is from the master branch, other than I split the ofdm_loopback script into tx and rx scripts but the blocks went unchanged. Jon On Sat, Apr 26, 2014 at 12:10 PM, Martin Braun wrote: > On 04/21/2014 09:02 PM, Jonathan Fox wrote: > > Hey list, ano

[Discuss-gnuradio] Out of Tree Block Not Showing up in GRC

2014-05-06 Thread Jonathan Fox
I have two out of tree blocks I want to add to GRC, everything compiles and installs correctly except for the GRC component (not shown in GRC). So this should be an XML issue and I think it is related to my attempts at making a drop down option choice concerning the detection of white space/closed

Re: [Discuss-gnuradio] Out of Tree Block Not Showing up in GRC

2014-05-06 Thread Jonathan Fox
blocks will show up. Problem is I need those two variables. What am I doing wrong with my XML? Jon On Tue, May 6, 2014 at 10:00 AM, Jonathan Fox <31...@cardinalmail.cua.edu>wrote: > I have two out of tree blocks I want to add to GRC, everything compiles > and installs correctly ex

Re: [Discuss-gnuradio] Out of Tree Block Not Showing up in GRC

2014-05-06 Thread Jonathan Fox
: > Take a look at: > > https://github.com/BogdanDIA/gr-dvbt/blob/master/grc/dvbt_inner_coder.xml > > Ron > > > On 5/6/2014 7:00 AM, Jonathan Fox wrote: > >> I have two out of tree blocks I want to add to GRC, everything compiles >> and installs correctly exc

Re: [Discuss-gnuradio] Out of Tree Block Not Showing up in GRC

2014-05-07 Thread Jonathan Fox
s/blob/master/grc/dvbs_puncture_bb.xml >> >> Ron >> >> On 5/6/2014 11:55 AM, Jonathan Fox wrote: >> >>> Thanks for the response, I was looking at the opt tags and I am still >>> confused about how to do it. Do I need to set it up like this: &

[Discuss-gnuradio] Make Errors with Out of Tree Block

2014-05-09 Thread Jonathan Fox
I have an energy detector block and I am trying to gr_message with it: void energy_detector_sink_f_impl::send_to_message_q(float *buffer, int buffersz) { gr_message_sprt msg = gr_make_message(0, sizeof(float), buffersz, sizeof(float)*buffersz); memcpy(msg->msg(), buffer, sizeof

Re: [Discuss-gnuradio] Make Errors with Out of Tree Block

2014-05-12 Thread Jonathan Fox
Share pointer abbreviation: S-P-T-R not S-P-R-T. Thanks for the pointer about typos Martin. On Sat, May 10, 2014 at 8:49 AM, Martin Braun wrote: > On 05/10/2014 12:34 AM, Jonathan Fox wrote: > > I have an energy detector block and I am trying to gr_message with it: > &g

[Discuss-gnuradio] Hierarchical Block Installation Source

2014-05-20 Thread Jonathan Fox
This may be a dumb question but where do the custom hierarchical blocks generated in GRC get installed too? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] Using an OFDM Modulation for Transmit_Path.py and Receive_Path.py

2014-05-29 Thread Jonathan Fox
I am building a hierarchical block for an OFDM tranceiver (two classes in the same py file) and I was wondering if I could save time by using the old transmit_path and receive_path scripts. Would they work with the OFDM modulator and demod from the default build? Thanks Jon __

[Discuss-gnuradio] Data Collection Across Multiple Machines and USRPs

2014-06-03 Thread Jonathan Fox
Hey list, this is a question for anyone that has used the USRPs and GNU Radio for synchronized data collection. I need to collect data using USRP N210s across a wireless network for a field test. Basically the USRPs would be connected to laptops running GNU radio and the laptops themselves will be

[Discuss-gnuradio] Removing GNU Radio Throughly

2014-06-24 Thread Jonathan Fox
Just recently I decided to update my old build of GNU Radio (3.6 release from Dec '13) to the newest one. Due to overly conservative and arbitrary network policies, my CentOS machines are forbidden to interact with the internet, so that means no build_gnuradio or PyBombs. I think I didn't throughly

Re: [Discuss-gnuradio] Removing GNU Radio Throughly

2014-06-24 Thread Jonathan Fox
rging. On Tue, Jun 24, 2014 at 6:42 PM, Jonathan Fox <31...@cardinalmail.cua.edu> wrote: > Just recently I decided to update my old build of GNU Radio (3.6 release > from Dec '13) to the newest one. Due to overly conservative and arbitrary > network policies, my CentOS machines

Re: [Discuss-gnuradio] Removing GNU Radio Throughly

2014-06-24 Thread Jonathan Fox
t the job done (even with 3.7). > > svn.tapr.org/repos_sdr_hpsdr/trunk/N5EG/GRC3.6/Gnuradio_remove > > -- Tom, N5EG > > > > > On Tue, Jun 24, 2014 at 3:48 PM, Jonathan Fox <31...@cardinalmail.cua.edu> > wrote: > >> I forgot a crucial bit of informat

Re: [Discuss-gnuradio] Removing GNU Radio Throughly

2014-06-25 Thread Jonathan Fox
terminal. I am going to do some research into before I open up a email chain. I still have another machine to fix but I will say that I am better off than I was yesterday. Thanks, Jon On Tue, Jun 24, 2014 at 9:01 PM, Jonathan Fox <31...@cardinalmail.cua.edu> wrote: > Hey thanks, &

Re: [Discuss-gnuradio] Removing GNU Radio Throughly

2014-06-25 Thread Jonathan Fox
On Wed, Jun 25, 2014 at 4:51 PM, Tom Rondeau wrote: > On Wed, Jun 25, 2014 at 4:45 PM, Jonathan Fox <31...@cardinalmail.cua.edu> > wrote: > >> So I ran the nuke script and failed to realize it was meant for the older >> builds; libusrp and python2.5 was the give away

[Discuss-gnuradio] Narrowband Tunnel.py Error

2014-07-24 Thread Jonathan Fox
I am currently running GNU Radio 3.7.4 and I am getting an error running the stock narrowband tunnel.py script. This is what I am getting: [root@cobra narrowband]# ./tunnel.py -f 146.0M -a addr="10.2.8.104" linux; GNU C++ version 4.4.7 20120313 (Red Hat 4.4.7-4); Boost_104100; UHD_003.007.001-64-g

Re: [Discuss-gnuradio] Narrowband Tunnel.py Error

2014-07-24 Thread Jonathan Fox
//github.com/balint256/gr-mac > > Mike > > -- > Mike Jameson M0MIK BSc MIET > Ettus Research Technical Support > Email: supp...@ettus.com > Web: http://ettus.com > > > On Thu, Jul 24, 2014 at 10:15 PM, Jonathan Fox <31...@cardinalmail.cua.edu > > wrote: >

Re: [Discuss-gnuradio] Narrowband Tunnel.py Error

2014-07-25 Thread Jonathan Fox
On Fri, Jul 25, 2014 at 1:13 PM, Tom Rondeau wrote: > On Thu, Jul 24, 2014 at 7:42 PM, Jonathan Fox <31...@cardinalmail.cua.edu> > wrote: > >> Thanks for the response. >> >> A colleague of mine recommended going into the uhd_interface file and >> change t

[Discuss-gnuradio] Make Error for OOT Module

2014-08-12 Thread Jonathan Fox
I'm taking my old spectrum sensing module and moving it over to 3.7.4. My strategy is to create a new block and copy and relevant code over while making sure nothing old that doesn't conform to 3.7.4 is left out. This is on the same machine the block was created on so no transferring and leaving th

Re: [Discuss-gnuradio] Make Error for OOT Module

2014-08-12 Thread Jonathan Fox
On Tue, Aug 12, 2014 at 4:15 PM, Jonathan Fox <31...@cardinalmail.cua.edu> wrote: > I'm taking my old spectrum sensing module and moving it over to 3.7.4. My > strategy is to create a new block and copy and relevant code over while > making sure nothing old that doesn't

[Discuss-gnuradio] Metafile Sink Execution Time

2014-08-25 Thread Jonathan Fox
How long it takes for the Metafile Sink to began recording data? I have a "No GUI" script that is a simple USRP source, throttle, and metafile sink. All have a 1M sample rates; the metafile sink has a relative rate of change of 1, 1M segment size, and have a detached header. I start my script up

Re: [Discuss-gnuradio] Metafile Sink Execution Time

2014-08-25 Thread Jonathan Fox
*. In graphs with real hardware, everything is "paced" by the > hardware. > > > > > > > > > On 2014-08-25 15:12, Jonathan Fox wrote: > > How long it takes for the Metafile Sink to began recording data? > > I have a "No GUI" script that i

Re: [Discuss-gnuradio] Metafile Sink Execution Time

2014-08-25 Thread Jonathan Fox
What about delays for a multiple USRP sinks and metafile sinks? I had to wait 10 seconds before I could start recording when I used a script like that. On Mon, Aug 25, 2014 at 5:05 PM, Marcus D. Leech wrote: > On 08/25/2014 04:30 PM, Jonathan Fox wrote: > > Got rid of it and it sped

Re: [Discuss-gnuradio] detecting spectrum holes

2012-03-22 Thread Jonathan Fox
On 3/22/12, mle...@ripnet.com wrote: > > > On Thu, 22 Mar 2012 15:38:18 +0200, Abdelrahman Ahmed wrote: > >> > frist of all i have two laptops with ubuntu 11.10 x32bit installed > inside windows 7 professional x64, i used this link in synaptic to > install gnuradio packages: >> >> 11.10 contains 3

Re: [Discuss-gnuradio] spectrum sensing in gnuradio-companion

2012-03-23 Thread Jonathan Fox
I am actually doing something similar for cognitive radio, the best way to go about it is to follow the tutorial online for how to write a signal processing block http://www.gnu.org/software/gnuradio/doc/howto-write-a-block.html (I do find a little vague on some parts); you can browse google for a

Re: [Discuss-gnuradio] File Sink Size

2012-04-03 Thread Jonathan Fox
Thats is weird because with me, the file sink will not save anything above 1024 in real format. Granted, I never tried anything below that. -Jon On 4/3/12, frankist wrote: > > Hi, > > I am using gnuradio companion and I noticed that the block "file sink" isn't > written if the number of complex

[Discuss-gnuradio] build-gnuradio script with RedHat Enterprise Linux 6

2012-06-19 Thread Jonathan Fox
I am trying to use the build-gnuradio script on a RedHat Enterprise Linux 6 machine and I can not download certain packages. Those packages being wxPython-devel, pygsl, qwtplot3d-qt4-devel, and Orc. I have enabled the optional package stream at the RHN so that is how I was able to narrow it down th

Re: [Discuss-gnuradio] build-gnuradio script with RedHat Enterprise Linux 6

2012-06-21 Thread Jonathan Fox
Hat. -Jon Fox On Tue, Jun 19, 2012 at 1:56 PM, Jonathan Fox <31...@cardinalmail.cua.edu>wrote: > I am trying to use the build-gnuradio script on a RedHat Enterprise Linux > 6 machine and I can not download certain packages. Those packages being > wxPython-devel, pygsl, qwtplot3d

Re: [Discuss-gnuradio] Doing CPR on "How to write a block"

2012-07-10 Thread Jonathan Fox
You have my gratitude. Every person I met that has used GNU Radio share a common complaint, the lack of documentation. The improvements to the wiki over the last month of been a step in the right direction in my honest opinion. -Jon Fox On Tue, Jul 10, 2012 at 11:43 AM, Martin Braun (CEL) wrote:

Re: [Discuss-gnuradio] Someone the calculation the Resolution Bandwidth (RBW), USRP2 + RFX900 with and usrp2_fft.py

2012-07-20 Thread Jonathan Fox
On Fri, Jul 20, 2012 at 3:57 AM, Martin Braun (CEL) wrote: > On Thu, Jul 19, 2012 at 03:55:05PM -0500, Julio Hector Aguilar Renteria > wrote: > > Hi, All > > Someone the calculation the Resolution Bandwidth (RBW), USRP2 + RFX900 > with and > > usrp2_fft.py ? > > Julio, > > can you *please* stop po

[Discuss-gnuradio] Custom Block Issue

2012-07-27 Thread Jonathan Fox
I am trying to create a custom block that does energy detection. I used the gr-modtool.py to generate the appropriate directory and files and added my algorithm and necessary code to the header and cc. I also added the XML file for the GRC It compiled without error but when I tried testing it out,

Re: [Discuss-gnuradio] Custom Block Issue

2012-07-30 Thread Jonathan Fox
On Fri, Jul 27, 2012 at 6:12 PM, Josh Blum wrote: > > > On 07/27/2012 02:01 PM, Jonathan Fox wrote: > > I am trying to create a custom block that does energy detection. I used > the > > gr-modtool.py to generate the appropriate directory and files and added > my >

Re: [Discuss-gnuradio] Custom Block Issue

2012-07-31 Thread Jonathan Fox
Thanks. I completely forgot about the filters in the front of the flowgraph. Removing them fixed the problem. I still have not figured out the vector thing though. -Jon On Tue, Jul 31, 2012 at 1:11 AM, Josh Blum wrote: > > > On 07/30/2012 11:20 AM, Jonathan Fox wrote: > > On Fr

Re: [Discuss-gnuradio] Custom Block Issue

2012-08-03 Thread Jonathan Fox
Mark this one resolved. I was just missing something from my XML file. On Tue, Jul 31, 2012 at 4:59 PM, Jonathan Fox <31...@cardinalmail.cua.edu>wrote: > Thanks. I completely forgot about the filters in the front of the > flowgraph. Removing them fixed the problem. > > I stil

[Discuss-gnuradio] build-gnuradio on Scientific Linux 6.3

2013-03-20 Thread Jonathan Fox
ve successfully installed GNU Radio on RHEL before. I appreciate any help on this matter. Thanks. Jonathan Fox ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] build-gnuradio on Scientific Linux 6.3

2013-03-20 Thread Jonathan Fox
On Wed, Mar 20, 2013 at 1:51 PM, wrote: > ** > > On 20 Mar 2013 12:47, Jonathan Fox wrote: > > I am having a problem with the build-gnuradio script on Scientific Linux > 6.3 (x86_64). I added myself to sudoers and tried running the script but I > usually get this this out

Re: [Discuss-gnuradio] build-gnuradio on Scientific Linux 6.3

2013-03-21 Thread Jonathan Fox
On Thu, Mar 21, 2013 at 4:29 AM, Martin Luelf wrote: > > Possibly Ubuntu sets up /usr/local to be regular-user > > writeable, but that would be a horrible security flaw. > > At least for my Ubuntu 12.04 /usr/local is owned by root:root with 0755 > permissions and everything else would have given

Re: [Discuss-gnuradio] build-gnuradio on Scientific Linux 6.3

2013-03-22 Thread Jonathan Fox
On Thu, Mar 21, 2013 at 7:52 PM, Jonathan Fox <31...@cardinalmail.cua.edu>wrote: > On Thu, Mar 21, 2013 at 4:29 AM, Martin Luelf wrote: > >> > Possibly Ubuntu sets up /usr/local to be regular-user >> > writeable, but that would be a horrible security flaw. >>

Re: [Discuss-gnuradio] Question for the community about the plausibility of an idea.

2013-05-24 Thread Jonathan Fox
On Fri, May 24, 2013 at 1:02 PM, Ashworth Payne wrote: > Would it be technically possible to create a virtual band of frequencies on > a server and multicast that out to interested participants? > > Think amateur radio or citizens band, simulated online. Narrow-bandwidth > voice in multiple modes

Re: [Discuss-gnuradio] Question for the community about the plausibility of an idea.

2013-05-24 Thread Jonathan Fox
On Fri, May 24, 2013 at 1:21 PM, Marcus D. Leech wrote: > On 05/24/2013 01:15 PM, Mike Jameson wrote: > > Hi, > > Do you mean something like this? > > http://websdr.ewi.utwente.nl:8901/ > > Mike > > -- > Mike Jameson M0MIK BSc MIET > Email: m...@scanoo.com > Web: http://scanoo.com > > > On Fri, Ma

Re: [Discuss-gnuradio] GNU Radio presentation at Virginia Tech, Monday

2013-05-30 Thread Jonathan Fox
On Thu, May 30, 2013 at 5:06 PM, Tom Rondeau wrote: > Hi everyone, > > We've been holding GNU Radio Hackfests every now and then in the past. > These are meant for the main, core developers to get together and > develop new material and features, fix bugs, and figure out where we > want to go as a