git-artes / gr-isdbt

DTV ISDB-T in GNURadio
http://iie.fing.edu.uy/investigacion/grupos/artes/gr-isdbt/
Other
147 stars 35 forks source link

Error using OSMOCOM-SINK (HackRFOne) #53

Closed AudioStone closed 1 year ago

AudioStone commented 1 year ago

I was able to replicate the receiver example, but when trying to execute the tx_13seg example, there is some errors, and doesn't start compiling, hope you can help me. Screenshot from 2022-11-03 15-05-30 terminal: Generating: '/home/liam/Documents/Exercise/gr-isdbt-master/examples/tx_demo.py' Generate Error: (NameError("'gain_mode10' is not defined",), 'osmosdr.sink(\n args="numchan=" + str(${nchan}) + " " + ${args}\n)\n% if context.get(\'num_mboards\')() > 0:\n% if context.get(\'clock_source0\')():\nself.${id}.set_clock_source(${clock_source0}, 0)\n% endif\n% if context.get(\'time_source0\')():\nself.${id}.set_time_source(${time_source0}, 0)\n% endif\n% endif\n% if context.get(\'num_mboards\')() > 1:\n% if context.get(\'clock_source1\')():\nself.${id}.set_clock_source(${clock_source1}, 1)\n% endif\n% if context.get(\'time_source1\')():\nself.${id}.

AudioStone commented 1 year ago

I was able to correct the error. For detailed steps to solve it go to the next link: https://gist.github.com/gbevan/8e583b9cf87aa3c58102251454fa48a6?permalink_comment_id=3696048