|
From: | Jacqueline . Walker |
Subject: | Re: [Discuss-gnuradio] guided tutorials - problem with tutorial 3 |
Date: | Thu, 12 Jan 2017 14:55:15 +0000 |
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
Hi Jacqueline, I don't think there's error in the tutorial. Please send your GRC or Python file. Thank you. Regards, On 10:54PM, Wed, Jan 11, 2017 Jacqueline.Walker <address@hidden> wrote:
-- Regards, |
tutorial3_investigation.txt
Description: tutorial3_investigation.txt
if_else_mod.py
Description: if_else_mod.py
if_else_mod_orig.py
Description: if_else_mod_orig.py
[Prev in Thread] | Current Thread | [Next in Thread] |