Reputation: 15
I followed the tutorial for Gnu Radio called, "Guided Tutorial GNU Radio in C++".
Link: https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_C%2B%2B
After some trouble with other errors, I have finally gotten the module to appear in Gnu Radio Companion. I tried to follow the image given in the tutorial and I received this error:
File "/home/Username/top_block.py", line 77
self.samp_rate = samp_rate = 32k
^
SyntaxError: invalid syntax
I was wondering , what I need to do. Any help?
Upvotes: 0
Views: 647
Reputation: 36346
"32k" isn't valid python. You need to use 32000, 32e3 or something that's valid python in these fields!
Upvotes: 1