Changes between Version 1 and Version 2 of Tutorials/k0SDR/Tutorial05
- Timestamp:
- May 15, 2013, 3:07:55 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/k0SDR/Tutorial05
v1 v2 47 47 48 48 * Download the OEDL experiment script uhd.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 The contents of the uhd file is shown with additional comments:49 The contents of the uhd file is shown with additional comments: 50 50 {{{ 51 51 nilanjan@console.grid:~/UHD$ cat uhd.rb … … 75 75 group("rxnode").uhd.u0.avgwinlen = "32" # set averaging window size for each fft bin across time. 76 76 77 group("rxnode").uhd.u0.omlfile = "spectrum.grid" # oml database file name to store fft data77 group("rxnode").uhd.u0.omlfile = "spectrum.grid" # oml database file name to store fft data 78 78 group("rxnode").uhd.u0.omlserver = "idb2:3003" # oml server 79 79 80 group("rxnode").uhd.u0.record # enablerecording thread80 group("rxnode").uhd.u0.record # start recording thread 81 81 82 82 (0..property.nfreq).each { |i| # set up loop … … 89 89 group("rxnode").uhd.u0.stop # stop recording thread 90 90 91 allGroups.uhd.u0.deactivate # turn offuhd_daemon91 allGroups.uhd.u0.deactivate # stop uhd_daemon 92 92 93 93 … … 105 105 }}} 106 106 107 * Once the script finishes, check the contents of the database file on specified oml server and directory. The data should be 108 109 recorded in ''spectrum.grid.sq3''. 107 * Once the script finishes, check the contents of the database file on specified oml server and directory. The data should be recorded in ''spectrum.grid.sq3''. 110 108 {{{ 111 109 nilanjan@console.grid:~/UHD$ ssh idb2 … … 125 123 126 124 * 5/15/2013 - Work in progress... 127 How to parse this data and128 129 130 == Frequency detection with multiple nodes. ==131 132 133 == Spectrum sensing code ==134 135 136 == Logging spectrum data directly to an OML server ==137