Changes between Version 10 and Version 11 of Tutorials/Wireless/wideband
- Timestamp:
- Oct 21, 2019, 3:05:24 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/wideband
v10 v11 78 78 | | | * FIFO_1 79 79 }}} 80 If you see the above at the end of uhd_usrp_probe output, the USRPs are ready. 80 If you see the above at the end of uhd_usrp_probe output, the USRPs are ready. Spreader_0 is used to spread the transmit signal, and Corrmag63avg8k_0 is the correlator on the receive side. 81 81 * If not, load the required image using uhd_image_loader 82 82 {{{ … … 85 85 86 86 ==== Set up web based streaming ==== 87 * Set up SSH tunnel from your local port 5100 to grid.orbit-lab.org:510088 {{{89 ssh -L 5100:grid.orbit-lab.org:5100 username@grid.orbit-lab.org90 }}}91 87 * Set up a web proxy for the receive node 92 88 Use run-websock command to set up the proxy (this is required for remote web based streaming) 93 89 {{{ 94 prasanthi@console.grid:~$ run-websock 5100 10.10. 1.19:5100 --daemon90 prasanthi@console.grid:~$ run-websock 5100 10.10.20.1:5100 --daemon 95 91 WARNING: no 'numpy' module, HyBi protocol will be slower 96 92 WebSocket server settings: … … 100 96 - Backgrounding (daemon) 101 97 }}} 102 98 * Set up SSH tunnel from your local port 5100 to grid.orbit-lab.org:5100 (See [https://wiki.cosmos-lab.org/wiki/tutorials/ssh_tunnel]) 99 {{{ 100 ssh -L 5100:grid.orbit-lab.org:5100 username@grid.orbit-lab.org 101 }}} 103 102 104 103 ==== Run the experiment 105 * On TX 106 * On RX 107 * Download html and run 104 * Start transmit application on the TX node. If you were assigned a group, the command below will start the application on the assigned TX USRP, with a bandwidth of 100MHz. 105 {{{ 106 root@node19-1:~# /root/uhd/host/build/examples/rfnoc_tx_mobicom --group red 107 }}} 108 The same application can be run by passing different command line parameters as shown below 109 {{{ 110 root@node19-1:~# /root/uhd/host/build/examples/rfnoc_tx_mobicom --args"addr=10.10.23.16,type=x300,skip_ddc,skip_duc" --freq 3e9 --gain 20 --duc-args="input_rate=50000000.0,output_rate=200000000.0" 111 }}} 108 112 109 110 === Run the experiment === 111 * Run rfnoc_spec_sense_display on the receive node. The command below starts the application to receive spectrum sensing samples from 4 USRP X310s at 100MSPS. 113 * Start receive application on the RX node. If you were assigned a group, the command below will start the application on the assigned RX USRP 112 114 {{{ 113 root@node1-19:~/uhd/host/build/examples# ./rfnoc_spec_sense_display --args="addr0=10.10.23.11,addr1=10.10.23.12,addr2=10.10.23.13,addr3=10.10.23.14,skip_ddc,skip_duc" --freq 5e9 --gain 15 --ddc-args="input_rate=200000000.0,output_rate=100000000.0" --num-usrp 4 --spec-sense-args="avg_size=256" 115 root@node20-1:~# ./uhd/host/build/examples/rfnoc_rx_mobicom --group red 114 116 }}} 115 * Run rfnoc_spreader on the transmit node. The command below starts the application to send a 50MHz wide PN signal on node23-17. 117 or the following could be used, when not using a topology 116 118 {{{ 117 root@node14-20:~/uhd/host/build/examples# ./rfnoc_spreader_dmafifo --args="addr=10.10.24.11,skip_ddc,skip_duc" --freq 2e9 --gain 15 --duc-args="input_rate=100000000.0,output_rate=200000000.0"119 root@node20-1:~# ./uhd/host/build/examples/rfnoc_rx_mobicom --args"addr=10.10.24.16,type=x300,skip_ddc,skip_duc" --freq 3e9 --gain 10 --ddc-args="output_rate=50000000.0,input_rate=200000000.0" 118 120 }}} 119 * Download spec_sense_display.html and open it in your browser. Once you click the Start button, you should see power spectrum display as shown below.121 * Download channel_sounding_display.html attached to this tutorial and open it in your browser. Once you click the start button, you should see PDP of the channel. 120 122 121 123 || [[Image(spec_sense_display.jpg)]]||