discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] guided tutorials - problem with tutorial 3


From: Jacqueline . Walker
Subject: Re: [Discuss-gnuradio] guided tutorials - problem with tutorial 3
Date: Fri, 13 Jan 2017 11:01:27 +0000

Hi Martin,

Sorry, I did forget to put all that in, still learning including how to use a 
list for help.
Right - I have it on a VM running Archlinux (4.8.13-1 - I only started a week 
ago) and I used pacman to install the package gnuradio 3.7.10.1-3. 
At that point after installing the gnuradio package I had to go and fetch extra 
packages (gtk2, gtk3, python-lxml and python2-cheetah) to make the grc work. I 
am not sure if maybe I should have explicitly installed gnuradio-companion? But 
once I'd installed the extra packages it worked fine - until I started the 
python programming part.

Thanks,
Jacqueline






-----Original Message-----
From: Discuss-gnuradio [mailto:address@hidden On Behalf Of Martin Braun
Sent: 13 January 2017 01:59
To: address@hidden
Subject: Re: [Discuss-gnuradio] guided tutorials - problem with tutorial 3

Which platform are you running on?

-- M

On 01/12/2017 06:55 AM, Jacqueline.Walker wrote:
> Hi Kartik,
> 
>  
> 
> Well, no I would think there ought not be an error in the tutorial, 
> but the fact remains that if I run the 'if_else_mod.py' from the 
> ~/solutions/gr-tutorial/examples/tutorial3/python/ folder I get the 
> exact same runtime errors, so it might be something in the build.  I 
> attach my own if_else_mod.py file which has been produced by my 
> firstly generating if_else.py from the flowgraph which I have built as 
> instructed in the tutorial and then doing exactly as instructed in the 
> tutorial the modifications to the def _variable_function_probe_0_probe():.
> 
> I also attach the 'solutions' version of the if_else_mod.py (called
> if_else_mod_orig.py) and a file which summarises investigations made 
> so far and the results of Kompare to discover the differences in the code.
> Clearly the grc generates code which differs somewhat from the samples 
> in the ~/python directory (which are from an older version, clearly).
> 
> I don't know if it is anything to do with the 'tb = if_else' line - I 
> am about to test that out.
> 
>  
> 
> Thanks
> 
> Regards
> 
> Jacqueline
> 
>  
> 
>  
> 
> *From:*Kartik Patel [mailto:address@hidden
> *Sent:* 11 January 2017 21:32
> *To:* Jacqueline.Walker; address@hidden
> *Subject:* Re: [Discuss-gnuradio] guided tutorials - problem with 
> tutorial 3
> 
>  
> 
> Hi Jacqueline,
> 
> I don't think there's error in the tutorial. Please send your GRC or 
> Python file.
> 
> Thank you.
> 
> Regards,
> Kartik Patel
> 
>  
> 
> On 10:54PM, Wed, Jan 11, 2017 Jacqueline.Walker 
> <address@hidden <mailto:address@hidden>> wrote:
> 
>     Hello,
> 
>      
> 
>     Trying the tutorial three - python in gnu radio and the 'if_else'
>     mod file. I get this run-time error even with the tutorial/solutions
>     file so it might be a build thing.
> 
>      
> 
>     Basically when it runs with the added if val == 1: block it raises 
> an
> 
>     Attribute error top_block_sptr has no attribute named analog_sig
>     _/x1/_source block - (sorry not correctly copied but you get the
>     idea hopefully) - in other words it does not recognise the analog
>     signal source that you have and that you are trying to modify the
>     freq and/or amplitude of under control of the simple if/else using
>     the probe_signal variable as outlined in the tutorial.
> 
>     Is there something missing in the build or is it some error in the
>     file/instructions in the tutorial?
> 
>      
> 
>     Thanks
> 
>     Jacqueline
> 
>     _______________________________________________
>     Discuss-gnuradio mailing list
>     address@hidden <mailto:address@hidden>
>     https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> --
> 
> Regards,
> Kartik Patel
> B.Tech. Final Year
> Electronics and Communication Engineering Indian Institute of 
> Technology, Roorkee
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

[Prev in Thread] Current Thread [Next in Thread]