Changes between Version 1 and Version 2 of Tutorials/k0SDR/Tutorial05


Ignore:
Timestamp:
May 15, 2013, 3:07:55 PM (11 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial05

    v1 v2  
    4747
    4848 * 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:
    5050{{{
    5151nilanjan@console.grid:~/UHD$ cat uhd.rb
     
    7575  group("rxnode").uhd.u0.avgwinlen = "32"          # set averaging window size for each fft bin across time. 
    7676
    77   group("rxnode").uhd.u0.omlfile = "spectrum.grid" # oml database filename to store fft data
     77  group("rxnode").uhd.u0.omlfile = "spectrum.grid" # oml database file name to store fft data
    7878  group("rxnode").uhd.u0.omlserver = "idb2:3003"   # oml server
    7979
    80   group("rxnode").uhd.u0.record                    # enable recording thread
     80  group("rxnode").uhd.u0.record                    # start recording thread
    8181
    8282  (0..property.nfreq).each { |i|                   # set up loop
     
    8989  group("rxnode").uhd.u0.stop                      # stop recording thread
    9090
    91   allGroups.uhd.u0.deactivate                      # turn off uhd_daemon
     91  allGroups.uhd.u0.deactivate                      # stop uhd_daemon
    9292
    9393
     
    105105}}}
    106106
    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''.
    110108{{{
    111109nilanjan@console.grid:~/UHD$ ssh idb2
     
    125123
    126124 * 5/15/2013 - Work in progress...
    127  How to parse this data and
    128 
    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