Dear Philip,
This question is related to my previous one where I asked how to avoid the use 
of cmake.
Now I built a bash script that essentially run the command (after the set of 
the toolchain environment):

$CXX $1.cpp –o $1 –luhd –lboost_system –lboost_program_options –lboost_thread

Now I’m using the examples provided by Ettus rx_multi_samples.cpp where I added 
the rx frequency, the rx gain, the rx bandwidth and disabling the verbose 
options it seams to runs fine.
One aspect at the moment is not clear.
The only value for the bandwidth is 56MHz.
If I request 5MHz I obtain always 56MHz. There is a way to obtain the desired 
BW?
In any case thank you Philip for your support


_____________________________________________
Telecom Italia | TIM

Daniele Disco
Engeenering & Tilab – Wireless Access
Wireless Innovation
Via Reiss Romoli, 274 – 10148 Torino
tel . +39 011 228 7271
cell. +39 331 600 1113
Fax. +39 06 4186 5196
Tim Official: Facebook<https://www.facebook.com/TimOfficialPage> - 
Twitter<https://twitter.com/tim_official>
www.tim.it<http://www.tim.it/>

From: Philip Balister [via GnuRadio] [mailto:ml-node+s4n56829...@n7.nabble.com]
Sent: lunedì 9 novembre 2015 14:51
To: Disco Daniele
Subject: Re: usrp->get_rx_sensor_names() @ettus-b210 and ettus-E310

On 11/09/2015 08:44 AM, Daniele Disco wrote:
> I tried to use 
> http://files.ettus.com/e3xx_images/e310-release-002/oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh<http://files.ettus.com/e3xx_images/e310-release-002/oecore-x86_64-armv7ahf-vfp-neon-toolchain-nodistro.0.sh>
>
> But during the execution of cmake -DCMAKE_TOOLCHAIN_FILE=etc. etc. etc.
> The procedure fails because in this case the sw does not found  make
> (Python checking for Mako templates 0.4 or geater - "import mako" faild)
> And the Makefile is not built.

A couple of quick notes.

1) Use only the toolchain that matches the image you are using on your
e310. At this point use Release-3. (I see from this email you tried
release-2 which doesn't have mako, but see next point)

2) The toolchain already has uhd installed in it, so you do not need
compile uhd.

3) Try compiling a small program that initializes uhd and see if you can
get that working.

Philip

>
> BR
> Daniele
>
>
> _____________________________________________
> Telecom Italia | TIM
>
> Daniele Disco
> Engeenering & Tilab - Wireless Access
> Wireless Innovation
> Via Reiss Romoli, 274 - 10148 Torino
> tel . +39 011 228 7271
> cell. +39 331 600 1113
> Fax. +39 06 4186 5196
> Tim Official: Facebook<https://www.facebook.com/TimOfficialPage> - 
> Twitter<https://twitter.com/tim_official>
> www.tim.it<http://www.tim.it/>
>
> From: Marcus Müller-3 [via GnuRadio] [mailto:[hidden 
> email]</user/SendEmail.jtp?type=node&node=56829&i=0>]
> Sent: lunedì 9 novembre 2015 11:31
> To: Disco Daniele
> Subject: Re: usrp->get_rx_sensor_names() @ettus-b210 and ettus-E310
>
> Hi Daniele,
>
> that's a crash. I'm including usrp-users (because this is not inherently
> related to GNU Radio, that might be the best place to discuss this);
> follow up on either list, as you deem correct.
>
> so, get_rx_sensor_names seems to crash. Hm; as I don't have an E310
> right at hand, I can only read the source code, and from that, I'm not
> quite sure why UHD would fail to find the rx frontend tree it tries to
> access in get_rx_sensor_names. First sanity check: the version of UHD
> you used to cross-compile is the same as running on the E310, right?
>
> I think this might be easiest to debug if you did the two things:
>
> on your PC with B210:
> uhd_usrp_probe --tree > b210.property_tree.txt
> on your E310:
> uhd_usrp_probe --tree > e310.property_tree.txt
>
> and share both files.
>
> Best regards,
> Marcus
>
>
> On 09.11.2015 09:41, Daniele Disco wrote:
>
>> The error is "Segmentation fault"
>>
>>
>>
>> --
>> View this message in context: 
>> http://gnuradio.4.n7.nabble.com/usrp-get-rx-sensor-names-ettus-b210-and-ettus-E310-tp56815p56818.html
>> Sent from the GnuRadio mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> [hidden email]</user/SendEmail.jtp?type=node&node=56822&i=0>
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=56822&i=1>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
> ________________________________
> If you reply to this email, your message will be added to the discussion 
> below:
> http://gnuradio.4.n7.nabble.com/usrp-get-rx-sensor-names-ettus-b210-and-ettus-E310-tp56815p56822.html
> To unsubscribe from usrp->get_rx_sensor_names() @ettus-b210 and ettus-E310, 
> click here<
> NAML<http://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
> Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle 
> persone indicate. La diffusione, copia o qualsiasi altra azione derivante 
> dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora 
> abbiate ricevuto questo documento per errore siete cortesemente pregati di 
> darne immediata comunicazione al mittente e di provvedere alla sua 
> distruzione, Grazie.
>
> This e-mail and any attachments is confidential and may contain privileged 
> information intended for the addressee(s) only. Dissemination, copying, 
> printing or use by anybody else is unauthorised. If you are not the intended 
> recipient, please delete this message and any attachments and advise the 
> sender by return e-mail, Thanks.
>
> [rispetta l'ambiente]Rispetta l'ambiente. Non stampare questa mail se non è 
> necessario.
>
>
>
> logo Ambiente_foglia2.jpg (928 bytes) 
> <http://gnuradio.4.n7.nabble.com/attachment/56828/0/logo%20Ambiente_foglia2.jpg>
>
>
>
>
> --
> View this message in context: 
> http://gnuradio.4.n7.nabble.com/usrp-get-rx-sensor-names-ettus-b210-and-ettus-E310-tp56815p56828.html
> Sent from the GnuRadio mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> [hidden email]</user/SendEmail.jtp?type=node&node=56829&i=1>
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>

_______________________________________________
Discuss-gnuradio mailing list
[hidden email]</user/SendEmail.jtp?type=node&node=56829&i=2>
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

________________________________
If you reply to this email, your message will be added to the discussion below:
http://gnuradio.4.n7.nabble.com/usrp-get-rx-sensor-names-ettus-b210-and-ettus-E310-tp56815p56829.html
To unsubscribe from usrp->get_rx_sensor_names() @ettus-b210 and ettus-E310, 
click 
here<http://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=56815&code=ZGFuaWVsZS5kaXNjb0B0ZWxlY29taXRhbGlhLml0fDU2ODE1fC04MDgzNDk3MDI=>.
NAML<http://gnuradio.4.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: 
http://gnuradio.4.n7.nabble.com/usrp-get-rx-sensor-names-ettus-b210-and-ettus-E310-tp56815p56833.html
Sent from the GnuRadio mailing list archive at Nabble.com.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to