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: Martin Braun
Subject: Re: [Discuss-gnuradio] guided tutorials - problem with tutorial 3
Date: Thu, 12 Jan 2017 17:59:02 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1

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
> 




reply via email to

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