[Discuss-gnuradio] Getting consistent noutput_items

2017-10-25 Thread Mike Rex
I am having a problem adapting a UDP sink block for sending raw protocol frames. I am using a 32KB binary file source connected to my Sink connecting to my Source on another PC, finally outputting to a file sink.  My expectation/goal is that my output file is identical to the input file so

Re: [Discuss-gnuradio] XML parameter checking

2017-10-19 Thread Mike Rex
rk (notice the double =; this is comparison, not assignment!). For comparison, see the gr-audio/grc/analog_nbfm_rx.xml, for example. Best regards, Marcus On 2017-10-19 04:02, Mike Rex wrote: What would be the best way to make sure the user enters a parameter that is a multiple of 8 in the GR

[Discuss-gnuradio] XML parameter checking

2017-10-18 Thread Mike Rex
What would be the best way to make sure the user enters a parameter that is a multiple of 8 in the GRC XML file?  My first thought is this might do the trick, but seems there is no mod function for XML.  Any suggestions? $psize % 8 = 0 or $psize mod 8 = 0 Thanks in advance, Mike

Re: [Discuss-gnuradio] Install GNU Radio Live CD to Hard Disk

2017-09-07 Thread Mike Rex
Murray, You can make the Live DVD have persistence if you use a USB drive instead of DVD.  I use a 32GB USB key for this purpose.  I strongly recommend USB 3.0. https://www.gnuradio.org/blog/using-gnu-radio-live-sdr-environment/ Scroll down to the section "Creating a Bootable USB Drive with

Re: [Discuss-gnuradio] RuntimeError: udp_sink(1): insufficient connected output ports

2017-09-01 Thread Mike Rex
liblog4cpp5. Try installing liblog4cpp5-dev (sudo apt-get install liblog4cpp5-dev) and rebuilding GNU Radio. Ron On 08/31/2017 08:17 PM, Mike Rex wrote: gnuradio version: 3.7.12git-218-g811bee8c installed from build-gnuradio script. Dev PC: Xubuntu 16.04 running in VM Workstation  (mentioned because

[Discuss-gnuradio] RuntimeError: udp_sink(1): insufficient connected output ports

2017-08-31 Thread Mike Rex
gnuradio version: 3.7.12git-218-g811bee8c installed from build-gnuradio script. Dev PC: Xubuntu 16.04 running in VM Workstation  (mentioned because some python bugs are hypervisor effected only) Problem: I am getting errors when running flow graphs in GRC after adding variables to the

Re: [Discuss-gnuradio] Command line compile GRC xml

2017-08-30 Thread Mike Rex
Corrective action: I will tell colleague we need newer gnuradio version. Regards, Mike On 2017-08-30 7:03 PM, Mike Rex wrote: Marcus, Thank you for the reply. There was a miscommunication with my colleague.   He got a /different /error with grcc and not gtk related.  He ran the gnuradio

Re: [Discuss-gnuradio] Command line compile GRC xml

2017-08-30 Thread Mike Rex
s, Marcus On 30.08.2017 23:04, Mike Rex wrote: Not sure if you posted the url you intended, that link only used the GUI to generate the python. This method was specifically what I was trying to avoid. So it sounds like grcc can't do what I was looking for if it requires X11. Regards On 2017-08-29 9:11

Re: [Discuss-gnuradio] Command line compile GRC xml

2017-08-30 Thread Mike Rex
/2017 08:32 PM, Mike Rex wrote: That looks like its exactly what I am looking for.  Probably good to mention in the gnuradio wiki "Developing GNU Radio" section.  Note to self... Thanks! Regards, Mike If you're running on a DSP device, you might not want X11 to try and startup. If

Re: [Discuss-gnuradio] Command line compile GRC xml

2017-08-29 Thread Mike Rex
That looks like its exactly what I am looking for.  Probably good to mention in the gnuradio wiki "Developing GNU Radio" section.  Note to self... Thanks! Regards, Mike On 2017-08-29 7:56 PM, Kyeong Su Shin wrote: Are you looking for 'grcc'? Regards, Kyeong Su Shin

[Discuss-gnuradio] Command line compile GRC xml

2017-08-29 Thread Mike Rex
I'm looking for a way to compile a GRC xml example into a python flow graph to be ran on a headless DSP device.  When I googled for the options,  I got this Ubuntu page (http://manpages.ubuntu.com/manpages/xenial/man1/gnuradio-companion.1.html) based on 3.7.9.1 that had the "--compile" option.