Changes between Version 2 and Version 3 of Tutorials/k0SDR/Tutorial05
- Timestamp:
- May 15, 2013, 3:36:37 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/k0SDR/Tutorial05
v2 v3 7 7 1. 4 grid nodes with a USRP2 connect via Ethernet. 8 8 2. ''ubuntu-12-04-uhd-daemon.ndz'': node image with all the precompiled software required to configure the USRPs. 9 3. ''uhd .rb'' - OEDL script executed on the console. This script configures the USRPs for data collection at specified frequencies, sampling rate, etc...9 3. ''uhd_exp1.rb'' - OEDL script executed on the console. This script configures the USRPs for data collection at specified frequencies, sampling rate, etc... 10 10 4. ''uhd_daemon'' - a node background process that bridges the gap between OMF commands and USRP2. 11 11 … … 46 46 }}} 47 47 48 * Download the OEDL experiment script uhd.rbto your local directory on the console. Executing this script will tell the USRP2 record spectrum data for a few seconds at different carrier frequencies.48 * Download the OEDL experiment script [http://www.orbit-lab.org/raw-attachment/wiki/Tutorials/GNURadio/OmfExperiment1/uhd_exp1.rb uhd_exp1.rb] to your local directory on the console. Executing this script will tell the USRP2 record spectrum data for a few seconds at different carrier frequencies. 49 49 The contents of the uhd file is shown with additional comments: 50 50 {{{ 51 nilanjan@console.grid:~/UHD$ cat uhd .rb51 nilanjan@console.grid:~/UHD$ cat uhd_exp1.rb 52 52 defProperty('rxfreq', 2400e6, "Starting rx frequency") 53 53 defProperty('rxstep', 10e6, "Rx frequency increments") … … 56 56 57 57 58 defGroup('rxnode', 'node1-1.grid.orbit-lab.org,node1-2.grid.orbit-lab.org,node1-19.grid.orbit-lab.org,node1-20.grid.orbit-lab.org') 59 58 defGroup('rxnode', 'node1-1.grid.orbit-lab.org,node1-2.grid.orbit-lab.org,node1-19.grid.orbit-lab.org,node1-20.grid.orbit-lab.org') 60 59 { |n| 61 60 } … … 65 64 info "Give machines some time to warm up" 66 65 wait 4 67 68 66 69 67 allGroups.uhd.u0.activate # starts uhd_daemon … … 102 100 * To run the experiment script: 103 101 {{{ 104 nilanjan@console.grid:~/UHD$ omf exec uhd .rb102 nilanjan@console.grid:~/UHD$ omf exec uhd_exp1.rb 105 103 }}} 106 104