Changes between Version 7 and Version 8 of Tutorials/k0SDR/Tutorial04a


Ignore:
Timestamp:
Dec 18, 2012, 7:25:49 PM (12 years ago)
Author:
nilanjan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/k0SDR/Tutorial04a

    v7 v8  
    1010 4. spectrum_console: application on console to configure & initiate spectrum sense application on node.
    1111 5. Octave / sqlite3: for post processing data measured spectrum sense data.
     12 6. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment. More information of this generator can be found [http://www.orbit-lab.org/wiki/Documentation/ArbInterference here].
    1213
    1314== Set up ==
     
    4849nilanjan@console.grid:~/UHD/SPECTRUM/w$ g++ spectrum_console.cpp -lboost_program_options-mt -loml2 -o spectrum_console
    4950}}}
     51
    5052== Usage ==
    5153
     54 * To view the available parameters for the console application
     55{{{
     56nilanjan@console.grid:~/UHD/SPECTRUM/w$ ./spectrum_console --help
     57}}}
     58
     59 * The first run will demonstrate how to use the sensing application on multiple nodes centered at different frequencies. Check the following page to view nodes corresponding to [http://www.orbit-lab.org/wiki/Documentation/USRP2_hw_map n210].[[BR]]
     60 In this case we'll be sensing on node3-3, node8-8, node13-13 on the frequencies 5.0 GHz, 5.1 GHz, 5.2 GHz respectively.[[BR]]
     61 Sampling rate option ''--rate 16e6'' yields a bandwidth of 8MHz.[[BR]]
     62 The fft size (''--num-bins 1024'') corresponds to a 1024 point fft.[[BR]]
     63 The time option (''--time 5'') runs the application for 5 seconds.
     64 Since the ''--oml file'' option is used the collected data will be store on the node locally.[[BR]]
     65{{{
     66nilanjan@console.grid:~/UHD/SPECTRUM/w$ ./spectrum_console --rate 16e6 --num-bins 1024 --time 5 --oml file --node node3-3,node8-8,node13-13 --freq 5.0e9,5.1e9,5.2e9
     67}}}
     68
     69 * The recorded spectrum data was written in a file under the root directory on each of the nodes. Copy that data file from the node to the console and check the contents. The following will copy the data collect from node3-3.
     70{{{
     71nilanjan@console.grid:~/UHD/SPECTRUM/w$ scp root@node3-3:/root/spectrum_measurement_node3-3 .
     72}}}
     73
     74 * The contents of the file is very long. Click here to see the contents of an example run.