Changes between Version 4 and Version 5 of DSC/dc_trial1
- Timestamp:
- Jun 14, 2013, 3:21:22 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DSC/dc_trial1
v4 v5 4 4 Use OEDL script to execute hurdle3 transmit and receive benchmark scripts from the grid. 5 5 6 In this tutorial we'll use the USRPs on the grid for FFT-based spectrum sensing. Each USRP (centered on a frequency with specified bandwidth) will collect data into an OML server for post processing. For details on available USRP2s on the grid, please check the status page in [https://www.orbit-lab.org/loginService/ControlPanel Control Panel] or check the [http://www.orbit-lab.org/wiki/Hardware/fDevices/gUSRP#USRPdevices available USRP2 HW table].7 8 6 == Hardware / Software Resources utilized == 9 7 1. Two grid nodes with USRPs. 10 2. ''baseline-gnu-12-04-32bit.ndz'': disk image loaded onto nodes. This image has all the pre -compiled - software required to configure the USRPs and analyze recorded data. The USRP2's interface with the node is already configured.8 2. ''baseline-gnu-12-04-32bit.ndz'': disk image loaded onto nodes. This image has all the prerequisite software to configure the USRPs. 11 9 3. Orbit's Arbitrary Waveform Injection System: used to inject noise or simple signal into RF environment. [http://www.orbit-lab.org/wiki/Software/bAM/mInterf#InterferenceAggregateManager More information of this generator can be found here.] 12 10 4. Packet server: This is server that resides on the grid console and used by a transmitting node to send data packets over the air via USRP. 13 5. dc.rb: this is the ODEL experiment script to run the transmit and receive scripts.11 5. dc.rb: this is the ODEL experiment script to manage GNURadio code, interference service and packet server and execute the hurdle (i.e. run the transmit and receive scripts). 14 12 15 13 == Set up == 16 14 * To get started first make a reservation on the [https://www.orbit-lab.org/loginService/ControlPanel Orbit Scheduler] for using the Grid. 17 15 18 * After logging into grid console, make sure all nodes are turned off 16 * After logging into grid console, make sure all nodes are turned off (in the example below, turn off all the nodes in the grid): 19 17 {{{ 20 nilanjan@console.grid:~$ omf tell -a offh -t system:topo:n210 18 username@console.grid:~$ omf tell -a offh -t system:topo:all 21 19 }}} 22 20 23 * Verify state of node before continuing. Make sure allnodes are in the POWEROFF state.21 * Verify state of node before continuing. Make sure nodes are in the POWEROFF state. 24 22 {{{ 25 nilanjan@console.grid:~$ omf stat23 username@console.grid:~$ omf stat 26 24 }}} 27 25 28 * Image nodes 26 * Image nodes (this will image all nodes with USRPs with SBX daughtercards): 29 27 {{{ 30 nilanjan@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t system:topo:n210-r 2028 username@console.grid:~$ omf load -i baseline-gnu-12-04-32bit.ndz -t inventory:topo:sbx -r 20 31 29 }}} 32 30 33 31 * After nodes are imaged, verify that nodes are in POWEROFF state. Otherwise issue the following to turn them off for a reboot 34 32 {{{ 35 nilanjan@console.grid:~$ omf tell -a offh -t system:topo:n210 33 username@console.grid:~$ omf tell -a offh -t inventory:topo:sbx 36 34 }}} 37 35 38 36 * Turn nodes back on and verify they are in POWERON state 39 37 {{{ 40 nilanjan@console.grid:~$ omf tell -a on -t system:topo:n210 38 username@console.grid:~$ omf tell -a on -t inventory:topo:sbx 41 39 }}} 42 40 43 * Download the [ http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb OEDL experiment script] to your local directory.41 * Download the [attachment:dc.rb OEDL experiment script] to your local directory. 44 42 {{{ 45 nilanjan@console.grid:~/UHD$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb43 username@console.grid:~/UHD$ wget http://www.orbit-lab.org/raw-attachment/wiki/DSC/dc_trial1/dc.rb 46 44 }}} 47 45 … … 50 48 * Type to following command to run the experiment. This will start the packet server, configure and start the interference generator and finally kick off the transmit and receive benchmark scripts within the nodes. 51 49 {{{ 52 nilanjan@console.grid:~/UHD$ omf exec dc.rb50 username@console.grid:~/UHD$ omf exec dc.rb 53 51 }}} 54 52 55 53 * The output should look similar to the following: 56 54 {{{ 57 nilanjan@console.grid:~/UHD$ omf-5.4 exec dc.rb55 username@console.grid:~/UHD$ omf-5.4 exec dc.rb 58 56 59 57 INFO NodeHandler: OMF Experiment Controller 5.4 (git 578791f)