Re: [Discuss-gnuradio] About closing flowgraph automatically

2016-07-27 Thread Simone Ciccia S210664
Hi, I would like to thank you for the support, my issue is entirely solved applying the patch suggested in #797 Cheers :-) Il 2016-07-24 21:31 Marcus Müller ha scritto: Ah, great! This is really the patchset of my dreams :D Thanks! Should've thought of checking out next… or the redmine issue t

Re: [Discuss-gnuradio] About closing flowgraph automatically

2016-07-24 Thread Simone Ciccia S210664
Goodmorning list, thanks to everybody for your replies. I attached a minimal example illustrating the problem. Specifically, the block that causes the non stop behavior is the [PDU to tagged stream], the same encountered by Piotr and discussed in the other replies. In my case we can restrict t

[Discuss-gnuradio] About closing flowgraph automatically

2016-07-21 Thread Simone Ciccia S210664
Goodmorning, I would like to Know some methods to Close flowgraph automatically when it has finished. Some example, stop when USRP has no more samples to transmits, or a file source has read until EOF. The Run of completion option works when (for instance) you have a file source connected to ot

[Discuss-gnuradio] Multiple Flowgraph

2016-05-18 Thread Simone Ciccia S210664
I'd like to know if there is a way to execute multiple flowgraphs sequentially. for example, the first flow graph transmits data from file, when it finishes, the first flow graph becomes inactive, while another flow graph is activated to receive data. The two flow graph are executed sequentiall

[Discuss-gnuradio] Avoid "U"nderflow Techniques

2016-02-22 Thread Simone Ciccia S210664
Goodmorning Community, In the following situation | Software | |RF| | Code | ---> |Front End | | | |(Sample_Rate) | Underflow occurs when the software code does not provide samples at a constant rate as required by the RF-Front End. The known solution, abl

Re: [Discuss-gnuradio] issues with thread priority

2016-02-21 Thread Simone Ciccia S210664
uradio-runtime/lib/tpb_thread_body.cc#L87 On 21.02.2016 12:31, Simone Ciccia S210664 wrote: Hi Marcus, thank you for the support. Yes, I configured the files as follows: /etc/security/limits.conf # # #* softcore0 #roothardcore

Re: [Discuss-gnuradio] issues with thread priority

2016-02-21 Thread Simone Ciccia S210664
o set thread priority? See the Linux notes under [1]. Best regards, Marcus [1] http://files.ettus.com/manual/page_general.html#general_threading On 02/19/2016 12:22 PM, Simone Ciccia S210664 wrote: Hello, I'm experiencing some issue trying to set block thread priorities. I discover

[Discuss-gnuradio] issues with thread priority

2016-02-19 Thread Simone Ciccia S210664
Hello, I'm experiencing some issue trying to set block thread priorities. I discovered that my USRP is not able to set thread priorities since the function pthread_setschedparam(pthread_self(), policy, &sp); fails. Therefore, I tryed to test a simple block (whatever), inserting the core affi

[Discuss-gnuradio] Inspecting GNURadio Application with ControlPort and Performance Counter

2015-10-01 Thread Simone Ciccia S210664
Goodmorning, I read an interesting paper on ControlPort to inspect the performance of GNURadio blocks. I tried it and it's a very powerful toolkit, thanks for the release. Actually I want to remote monitor a target machine in which the simple flowgraph of figure (target-flowgraph.png) runs. In

[Discuss-gnuradio] file source with gr-ieee802.11 tx

2015-07-27 Thread Simone Ciccia S210664
Is there a way to make a continuous transmission with the gr-ieee802.11 transmitter? For example, reading a file (file sink), how to send the byte stream to the transmitter processing chain? ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org h

[Discuss-gnuradio] PROCESSING OF LARGE NUMBER OF SAMPLES

2015-01-21 Thread Simone Ciccia S210664
Goodmorning, I have general questions about processing a fixed number of samples. In front of the necessity to process N samples (N=8192 items) in a sinchronous block, I developed a mechanism like this: _ if(noutput_items>N) {

[Discuss-gnuradio] Get a pointer to UHD "Source" from other block in flow graph

2014-10-23 Thread Simone Ciccia S210664
How to get a UHD USRP SOURCE OBJECT within my own block ? - I already instantiate an UHD USRP SOURCE in the flowgraph and I want a pointer within my own block to read parameters. - Also, which is the effect of creating two times a new USRP SOURCE block by using "uhd::make(address)" with the

Re: [Discuss-gnuradio] How to access UHD from within my own OOT block?

2014-10-09 Thread Simone Ciccia S210664
Hi Jeroen, here a link where there is an example about how to use UHD class. http://files.ettus.com/manual/classuhd_1_1usrp_1_1multi__usrp.html go in section "Detailed description". Give me a feedback if you are able to use this class in our own block. Bests, Simone On Wed, 8 Oct 2014 14:01:39 +0

[Discuss-gnuradio] Problem installing GNURADIO on ODROID-XU UBUNTU 12.04LTS

2014-09-12 Thread Simone Ciccia S210664
Hi, I'm trying to install gnuradio with Build Gnuradio Script on ODROID-XU . First of all, when the script looks for libraries, a first error occurs for libqwtplot3d-qt4-dev, and it seems that there is no package available for ODROID-XU.

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-10 Thread Simone Ciccia S210664
eated block! On Mon, 8 Sep 2014 09:48:32 -0400, Tom Rondeau wrote: > On Wed, Sep 3, 2014 at 9:57 AM, Simone Ciccia S210664 < > simone.cic...@studenti.polito.it> wrote: > >> Very thanks for the immediate answer, >> >> Sorry, I forgot that I passed two argume

Re: [Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-03 Thread Simone Ciccia S210664
Sep 3, 2014 at 9:17 AM, Simone Ciccia S210664 < > simone.cic...@studenti.polito.it> wrote: > >> Hi, >> I created a C++ block with gr_modtool, >> following the commands: >> >> $ gr_modtool newmod PWagc >> $ gr_modtool add -t general power_control >&g

[Discuss-gnuradio] AttributeError: 'module' object has no attribute 'block_name'

2014-09-03 Thread Simone Ciccia S210664
Hi, I created a C++ block with gr_modtool, following the commands: $ gr_modtool newmod PWagc $ gr_modtool add -t general power_control I written and compiled my block with commands: $cmake ../ && make && sudo make install && sudo ldconfig Until this point all seems ok, but when I open gnuradio

[Discuss-gnuradio] Fwd: Re: USING SET/GET_GAIN UHD USRP FUNCTION

2014-09-01 Thread Simone Ciccia S210664
Original Message Subject: Re: [Discuss-gnuradio] USING SET/GET_GAIN UHD USRP FUNCTION Date: Fri, 29 Aug 2014 11:33:03 +0200 From: Simone Ciccia S210664 To: Martin Braun Hi, thank you for the answer. I have created my own gnuradio block and linked the header that contains

[Discuss-gnuradio] USING SET/GET_GAIN UHD USRP FUNCTION

2014-08-28 Thread Simone Ciccia S210664
hi, I have some problem to use USRP UHD set/get_gain functions. In my code, _impl.cc I have included: #include the header file in which virtual double get_gain() and virtual void set_gain() are defined! When I try to compile errors appear: error: ‘get_gain’ was not declared in this scope

[Discuss-gnuradio] USING BLOCK ARGUMENT

2014-08-27 Thread Simone Ciccia S210664
hi, I have created with gr_modtool a block in which is assigned as argument a float, "threshold". In the file _impl.h I have defined another variable called "d_threshold" in the private sector, while in the constructor of the file _impl.cc the assignment d_threshold=threshold; The problem is tha

[Discuss-gnuradio] AttributeError: 'module' object has no attribute "BLOCK NAME"

2014-07-31 Thread Simone Ciccia S210664
Hi at all, I have some problem in running simulation of a block on gnuradio. I have developed a simple block, .cc, .h, .i and .xml file attouched here. All code is compile with success cmake/make/make install/ldconfig but when I place the block in gnuradio, running the simulation I get Traceback

[Discuss-gnuradio] USRP - GNURADIO AGC

2014-07-25 Thread Simone Ciccia S210664
Hi at all, I need to implement an AGC to adapt the signal to the ADC's full dynamics. I work with an USRP N210 with CBX-40USRP DAUGHTERBOARD... I investigated that : There is a programmable gain amplifier (PGA) before the ADCs to amplify the input signal to utilize the entire input range of the

[Discuss-gnuradio] TX-POWER USRP N210 AND WBX DOUGHTERBOARD

2014-07-22 Thread Simone Ciccia S210664
Hi at all, I have problem to understand how an USRP used as a trasmitter works in term of transmitted power when we fix a tx_gain. Let me explain better: - The WBX Daughterboard is a wide bandwidth transceiver that provides up to 100 mW of output power and a noise figure of 5 dB. (extracted from

[Discuss-gnuradio] GNURADIO QUESTIONS

2014-07-07 Thread Simone Ciccia S210664
Goodmorning, I'm a PhD student working with gnuradio in ubuntu. The motivation for which I need to write is regarded to how gnuradio treats a project flow graph to make it as an application program, I have searched over internet and various forum but I have not find nothing. Consider that I have