Changes between Version 3 and Version 4 of Tutorials/k0SDR/Tutorial24
- Timestamp:
- Oct 12, 2017, 4:46:01 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/k0SDR/Tutorial24
v3 v4 10 10 * Load prasanthi-rfnoc-specsense-9-14.ndz on an ORBIT node. 11 11 {{{ 12 omf load -i prasanthi-rfnoc-specsense-9-14.ndz -t node1-1912 prasanthi@console.grid:~$ omf load -i prasanthi-rfnoc-specsense-9-14.ndz -t node1-19 13 13 }}} 14 * Once imaging is done, turn the node on 14 * Once imaging is done, turn the node on and log in 15 15 {{{ 16 omf tell -a on -t node1-19 16 prasanthi@console.grid:~$ omf tell -a on -t node1-19 17 prasanthi@console.grid:~$ ssh root@node1-19 17 18 }}} 18 * Wait for the node to turn on and log in 19 {{{ 20 ssh root@node1-19 21 }}} 19 22 20 ==== Prepare Receive USRPs ==== 23 21 * Pick USRP X310s from the MIMO racks 23-1...8, 23-11...18 and load spectrum sensing FPGA image on them. 24 22 {{{ 25 uhd_image_loader --args="addr0=10.10.23.11,addr1=10.10.23.12,addr2=10.10.23.13,add4=10.10.23.14" --fpga-path="/root/bit/x310_spec_sense_2ddc_1duc_7_14.bit"23 root@node1-19:~# uhd_image_loader --args="addr0=10.10.23.11,addr1=10.10.23.12,addr2=10.10.23.13,addr4=10.10.23.14" --fpga-path="/root/bit/x310_spec_sense_2ddc_1duc_7_14.bit" 26 24 }}} 27 25 * Power cycle USRPs so that the new FPGA image is active 28 26 {{{ 29 omf tell -a offh -t node23-11 30 omf tell -a on -t node23-11 27 prasanthi@console.grid:~$ omf tell -a offh -t node23-11 28 prasanthi@console.grid:~$ omf tell -a on -t node23-11 29 }}} 30 * Running uhd_usrp_probe on the X310s with spectrum sensing FPGA image should give the following 31 {{{ 32 | | _____________________________________________________ 33 | | / 34 | | | RFNoC blocks on this device: 35 | | | 36 | | | * DmaFIFO_0 37 | | | * Radio_0 38 | | | * Radio_1 39 | | | * DUC_0 40 | | | * DDC_0 41 | | | * DDC_1 42 | | | * SpecSense_0 43 | | | * FIFO_0 44 31 45 }}} 32 46 ==== Prepare Transmit Node ==== … … 34 48 * Load prasanthi-channel-sounder.ndz on an ORBIT node. 35 49 {{{ 36 omf load -i prasanthi-channel-sounder.ndz -t node1-2050 prasanthi@console.grid:~$ omf load -i prasanthi-channel-sounder.ndz -t node1-20 37 51 }}} 38 * Once imaging is done, turn the node on 52 * Once imaging is done, turn the node on and log in 39 53 {{{ 40 omf tell -a on -t node1-20 54 prasanthi@console.grid:~$ omf tell -a on -t node1-20 55 prasanthi@console.grid:~$ ssh root@node1-20 41 56 }}} 42 * Wait for the node to turn on and log in 43 {{{ 44 ssh root@node1-20 45 }}} 57 46 58 ==== Prepare Transmit USRP ==== 47 59 * Pick a USRP X310 for transmitting, and load the spectrum spreader FPGA image 48 60 {{{ 49 uhd_image_loader --args="addr=10.10.23.17" --fpga-path="/root/bit/x310_spreader_4_28.bit"61 root@node1-20:~# uhd_image_loader --args="addr=10.10.23.17" --fpga-path="/root/bit/x310_spreader_4_28.bit" 50 62 }}} 51 63 * Power cycle the USRP so that the new FPGA image is active 52 64 {{{ 53 omf tell -a offh -t node23-17 54 omf tell -a on -t node23-17 65 prasanthi@console.grid:~$ omf tell -a offh -t node23-17 66 prasanthi@console.grid:~$ omf tell -a on -t node23-17 67 }}} 68 * Running uhd_usrp_probe on the X310 with spectrum spreader FPGA image should give the following 69 {{{ 70 | | _____________________________________________________ 71 | | / 72 | | | RFNoC blocks on this device: 73 | | | 74 | | | * DmaFIFO_0 75 | | | * Radio_0 76 | | | * Radio_1 77 | | | * DUC_0 78 | | | * Spreader_0 79 | | | * FIFO_0 80 | | | * FIFO_1 55 81 }}} 56 82 ==== Set up SSH tunnel from your local port 5100 to grid.orbit-lab.org:5100 ==== … … 59 85 }}} 60 86 ==== Set up a web proxy for the receive node ==== 61 Verify that Webproxy is running(this is required for remote web based streaming)87 Use run-websock command to set up the proxy (this is required for remote web based streaming) 62 88 {{{ 63 nilanjan@.grid:~$ run-websock 5100 10.10.1.19:5100 --daemon 89 prasanthi@console.grid:~$ run-websock 5100 10.10.1.19:5100 --daemon 90 WARNING: no 'numpy' module, HyBi protocol will be slower 64 91 WebSocket server settings: 65 92 - Listen on :5100 … … 68 95 - Backgrounding (daemon) 69 96 }}} 97 === Run the experiment === 98 ==== On the receive node ==== 70 99