pavel-demin / red-pitaya-notes

Notes on the Red Pitaya Open Source Instrument
http://pavel-demin.github.io/red-pitaya-notes/
MIT License
337 stars 209 forks source link

Confusion on Install of GNURadio for Red Pitaya #720

Closed TravisAutry closed 6 years ago

TravisAutry commented 6 years ago

Hi Pavel,

First thank you for building up the SDR capabilities of the red Pitaya. I am trying to get GNURadio up and running and I am running into some issues. I have followed the instructions here http://pavel-demin.github.io/red-pitaya-notes/sdr-transceiver/ .

Description of the setup:

Description of the problem:

On the last step of your instructions you say to do

export GRC_BLOCKS_PATH=.gnuradio-companion trx_ssb.grc

but I get the error -bash: export: `trx_ssb.grc': not a valid identifier

I am having a tough time figuring out what this command is supposed to do or if it is appropriate for my mac.

I was wondering if you might have any insight as to what I am doing wrong/ steps I can take to tell gnuradio where your files are as I am unfamiliar with both gnuradio and your code.

Thanks so much, Travis

pavel-demin commented 6 years ago

On the last step of your instructions you say to do export GRC_BLOCKS_PATH=.gnuradio-companion trx_ssb.grc

Looks like you're putting the two separate commands together on a single line.

I've just checked the instructions at this link and the commands are shown as three separate lines:

cd red-pitaya-notes/projects/sdr_transceiver/gnuradio
export GRC_BLOCKS_PATH=.
gnuradio-companion trx_am.grc
pavel-demin commented 6 years ago

In gnu-radio companion I get the errors Block key "red_pitaya_source" not found Block key "red_pitaya_sink" not found

The GRC_BLOCKS_PATH environment variable should point to the location of the custom red_pitaya_ blocks. It's what export GRC_BLOCKS_PATH=. command is doing.