Re: [Discuss-gnuradio] Saving GNURadio flowgraph as vector graphics

2016-11-16 Thread Dan CaJacob
Try converting the png to a vector format first, but yes, a native vector format would be nice. On Wed, Nov 16, 2016 at 1:57 PM Suman Bhunia wrote: > Hello, > > I want to include a flowgraph in my paper. When I save it as png, the > picture becomes little blurry in the final pdf version. I was w

Re: [Discuss-gnuradio] Bug in GR runtime related to lock/unlock and tag propagation

2016-11-16 Thread Johnathan Corgan
On Wed, Nov 16, 2016 at 10:55 AM, Eugene Grayver wrote: > I came across a nasty bug in the runtime. It has something to do with the > tag pruning code after a flowgraph is reconfigured. My guess is that some > counter is not being reset, even though the output buffer is reset. It is > easy to

Re: [Discuss-gnuradio] Tag propagaton bug in pack_k_bits_bb

2016-11-16 Thread Johnathan Corgan
On Wed, Nov 16, 2016 at 5:15 PM, Eugene Grayver wrote: > I found a tag propagation bug in pack_k_bits_bb. Example python file to > demonstrate the bug is below. This block takes every 2 bits and packs them > into one output. Thus, a tag on input 0 should come out on output 0, and > tag on inpu

Re: [Discuss-gnuradio] debugging runtime errors

2016-11-16 Thread Johnathan Corgan
On Wed, Nov 16, 2016 at 1:56 PM, Tom Early wrote: > Maybe cmake should error out if it can't find swig. Or am I missing > something in the big picture? > ​It's entirely possible run GNU Radio as a pure C++ application wrapping C++ native and OOT blocks; in those cases, we have the option to not

[Discuss-gnuradio] Tag propagaton bug in pack_k_bits_bb

2016-11-16 Thread Eugene Grayver
Hello, I found a tag propagation bug in pack_k_bits_bb. Example python file to demonstrate the bug is below. This block takes every 2 bits and packs them into one output. Thus, a tag on input 0 should come out on output 0, and tag on input 7 should come out on output 3. However, as can be s

Re: [Discuss-gnuradio] debugging runtime errors

2016-11-16 Thread Tom Early
Okay, my mistake. After more carefully reading the build output, I realized my system was missing swig. There was just a little, easy-to-miss comment about not finding swig buried in the "cmake .." output. Maybe cmake should error out if it can't find swig. Or am I missing something in the big

Re: [Discuss-gnuradio] PDUs in GNU Radio for UHD USRP Sink

2016-11-16 Thread Collins, Richard
Hey Sean, Thanks for the heads up. I was just looking through the pdu_to_tagged_stream block for debugging. I noticed the comment about blocking, and wondered if a dedicated message handler would be a better option than overloading "calculate_output_stream_length". Thanks for the info about the t

[Discuss-gnuradio] Saving GNURadio flowgraph as vector graphics

2016-11-16 Thread Suman Bhunia
Hello, I want to include a flowgraph in my paper. When I save it as png, the picture becomes little blurry in the final pdf version. I was wondering if I could save the flowgraph in vector graphics format such as eps, svg, etc. Thanks, Suman ___

[Discuss-gnuradio] Bug in GR runtime related to lock/unlock and tag propagation

2016-11-16 Thread Eugene Grayver
Hello, I came across a nasty bug in the runtime. It has something to do with the tag pruning code after a flowgraph is reconfigured. My guess is that some counter is not being reset, even though the output buffer is reset. It is easy to demonstrate by hooking up a usrp_source to tag_debug.

[Discuss-gnuradio] Probing value when no items

2016-11-16 Thread David Halls
Hi guys, I am showing EVM (a block we have written) in a text box using a probe signal, in an OFDM system based on MB's OFDM example. this works fine when packets are being received, but I would like to show 0 when no packets are received (no items coming through HPD), rather than just the E

Re: [Discuss-gnuradio] PDUs in GNU Radio for UHD USRP Sink

2016-11-16 Thread Collins, Richard
Got it! Thanks to a little guidance from ee.k...@gmail.com and some debugging, I found out that the dictionary in my PDU appeared as empty. That's because I was doing things like: pmt::dict_add(d_pdu_meta, tx_sob, pmt::PMT_T); instead of: d_pdu_meta = pmt::dict_add(d_pdu_meta, tx_sob, pmt::PMT_T);

Re: [Discuss-gnuradio] PDUs in GNU Radio for UHD USRP Sink

2016-11-16 Thread Sean Nowlan
I think you will have to write a custom block that is similar to the pdu_to_tagged_stream block, but doesn't inherit from tagged_stream_block to avoid the limitation on the number of samples that can be handled. Here's how I'd do it, but keep in mind I haven't tried this and you may get into troubl

[Discuss-gnuradio] debugging runtime errors

2016-11-16 Thread Tom Early
I would like to follow up a suggestion that my "AttributeError: 'module' object has no attribute ..." runtime error is caused by an improperly linked OOT. I am unsure how to do that. Can someone point me in the correct direction? Thanks! ___ Discus