Re: [Discuss-gnuradio] Need an "indicator" on the GUI display

2014-01-28 Thread Isdren Gineer
If you build a wx.App application you can use wx.StaticBitmap indicators for each channel. The bitmap for each channel can then be SetBitmap() to either a red or green circle, for example, depending on whether the power exceeds a threshold. The power measurements and threshold checks can be perform

Re: [Discuss-gnuradio] Resolution of USRP N210 and N200

2013-11-06 Thread Isdren Gineer
To add to what Ben has wrote, if decimation is involved in the processing stages it is possible to get a higher resolution than that of the initial samples. For example, a decimation by a factor of two can increase the bit precision by one. So in this case, it could depend on where the interface is

Re: [Discuss-gnuradio] Specify which methods show up in SWIG version of C++ block

2013-10-09 Thread Isdren Gineer
When you create a block with gr_modtool your implementation goes in the lib/[block_name]_impl.[h|cc] files. However, the swig procedures look at the include/[package_name]/[block_name].h files to determine which methods to expose in the generated python class. So, to make a C++ method available in

Re: [Discuss-gnuradio] Possibly incorrect gr_msg_queue.delete_head_nowait() implementation

2013-10-03 Thread Isdren Gineer
0 prior to calling gr.msg_queue.delete_head(). On Thu, Oct 3, 2013 at 3:33 PM, Isdren Gineer < gineer.isd...@nkiengineering.com> wrote: > Of course, if 0 is returned, msg2_out would not be an message instance, > but it would be possible to check if msg2_out == 0 before trying to call

Re: [Discuss-gnuradio] Possibly incorrect gr_msg_queue.delete_head_nowait() implementation

2013-10-03 Thread Isdren Gineer
Of course, if 0 is returned, msg2_out would not be an message instance, but it would be possible to check if msg2_out == 0 before trying to call any instance methods. On Thu, Oct 3, 2013 at 3:27 PM, Isdren Gineer < gineer.isd...@nkiengineering.com> wrote: > According to the docu

[Discuss-gnuradio] Possibly incorrect gr_msg_queue.delete_head_nowait() implementation

2013-10-03 Thread Isdren Gineer
According to the documentation comments, gr_msg_queue::delete_head_nowait() should return 0 if no message is available. The current implementation, however, results in a core dump. For example, when executed in a script, the eleven lines: #/usr/bin/env python from gnuradio import gr q = gr.msg_qu

Re: [Discuss-gnuradio] Activating/Deactivating Blocks in real time

2013-10-03 Thread Isdren Gineer
Perhaps the gr.copy() block will accomplish what you need. Help on function copy in module gnuradio.gr.gnuradio_core_general: copy(*args, **kwargs) copy(size_t itemsize) -> gr_copy_sptr output[i] = input[i] When enabled (default), this block copies its input to its output. When disa

Re: [Discuss-gnuradio] USRP Clipping?

2013-09-19 Thread Isdren Gineer
ant attenuation in the signal path. > > On Sep 19, 2013, at 7:53 AM, "Marcus D. Leech" wrote: > > On 09/19/2013 10:45 AM, Isdren Gineer wrote: > > I am using N210 USRP's with WBX daughtercards connected with a loopback > kit implementing a 8-PSK waveform. When I

[Discuss-gnuradio] USRP Clipping?

2013-09-19 Thread Isdren Gineer
I am using N210 USRP's with WBX daughtercards connected with a loopback kit implementing a 8-PSK waveform. When I start transmitting, I get a clean constellation. After a short time however (~5 sec) it appears that the receiver temporarily loses phase lock. The eight point constellation degrades su

[Discuss-gnuradio] Initial state options for Viterbi algorithm

2013-07-31 Thread Isdren Gineer
When instantiating a Viterbi decoding block, there are options to specify what the initial and final states should be or that they are unknown. This poses no problems if the FEC encoder is initialized similarly for each block of data. However, when multiple blocks of data are encoded without resett

[Discuss-gnuradio] Initial state options for Viterbi algorithm

2013-07-30 Thread Isdren Gineer
When instantiating a Viterbi decoding block, there are options to specify what the initial and final states should be or that they are unknown. This poses no problems if the FEC encoder is initialized similarly for each block of data. However, when multiple blocks of data are encoded without resett