Hi Jacqueline,
I was able to run all attached files. I even tried your steps in
tutorial3_investigation, but couldn't reproduce the error. Hence, I believe it
is the problem during the build. Also, it is not the error because of tb =
if_else() line.
Can you run make test command from the build directory? If no, then please
provide the logs for the same.
Also, please share the output of the command "cmake ../".
Regards,Kartik Patel
On Thu, Jan 12, 2017 8:25 PM, Jacqueline.Walker jacqueline.wal...@ul.ie
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:kartikpatel1...@gmail.com]
Sent: 11 January 2017 21:32
To: Jacqueline.Walker; discuss-gnuradio@gnu.org
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 <jacqueline.wal...@ul.ie> 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
Discuss-gnuradio@gnu.org
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
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio