-
Notifications
You must be signed in to change notification settings - Fork 14
Updating Radio_Astro Files
jmakous edited this page Jul 16, 2020
·
28 revisions
- Open the terminal window.
- From your home directory (
cd
), go to the gr-radio_astro folder:cd gr-radio_astro
- Type
git status
. Check the "On branch ..." statement at the top. You want to be in the gr38 branch. To get there, typegit checkout gr38
. - If a warning message shows up about local changes made that could overwrite files, type
git stash
. - Type
git status
to check that you are "On branch gr38". - Type
git pull
.- If a warning message shows up about local changes made that could overwrite files, type
git stash
. - Then type
git pull
again.
- If a warning message shows up about local changes made that could overwrite files, type
- Change to the
build
directory:cd build
- Type
rm -rf *
. NOTE: Make sure you are in thebuild
directory before typingrm -rf *
! - Then run the following:
cmake ..
sudo make
sudo make install
- The update is complete.
-
Open Gnuradio from the terminal window by typing
gnuradio-companion
-
Close any previous version of
spectrometer_w_cal.grc
that might be open in Gnuradio. -
Open the new version of
spectrometer_w_cal.grc
from the folder/gr-radio_astro/examples/
-
Open the program.
-
Before running, open the prefix variable box in the upper right corner of the Gnuradio canvas, and change the folder path name in the Value box. HINT: A method for reducing path name errors is described as follows:
a. Open the File Navigation window (folder icon). b. Navigate to the folder to which you want to save the spectrum files. c. Right click on the folder. d. Select Properties. e. Double click the "Parent folder:" path and copy it to the clipboard. d. In the prefix variable box in the `spectrometer_w_cal.grc` program, paste the path name inside the quotes in the **Value** box. (Delete any existing path name.) e. Then append the actual folder name to the end of the parent path. Be sure to separate folder names with a / and end with a /. d. Example: Parent folder: home/Jansky/radio_astronomy data folder name: horn_data_2020 Value to type into the "prefix" variable box: "home/Jansky/radio_astronomy/horn_data_2020/"
-
The program should be ready to run on your computer!