Changes between Version 6 and Version 7 of Tutorials/Wireless/mmwave Paam Mobile


Ignore:
Timestamp:
Dec 5, 2023, 10:47:25 PM (12 months ago)
Author:
Abhi Adhikari
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Wireless/mmwave Paam Mobile

    v6 v7  
    4242Run `/root/tx.grc` and `/root/rx.grc` in `Terminal 1` and `Terminal 2`, respectively. Obtain the frequency plot shown below.
    4343[[Image(basic_mobile_tx_rx.png, 900px)]]
     44
     45Now, we will run the beam-steering scripts being used for the NRDZ project. Using `gnuradio-companion` in `Terminal 2`, make sure the file sink is enabled for `/root/rx.grc`.
     46[[Image(file_sink_on.png, 900px)]]
     47
     48In `Terminal 1`, run:
     49{{{
     50root@mob4-1:~/rest# ./tx-rest.py
     51}}}
     52
     53`Terminal 1` output:
     54{{{
     553x3 TRIALS: [(-10, 0), (0, 0), (10, 0)]
     56Estimated Experiment Time: 1.75 minutes (105 seconds)
     57Press enter to confirm experiment execution.
     58http://rfdev-mob4-2.sb1.cosmos-lab.org:3000/array_mgmt/connect?dev_name=Local&txrx=tx&pol=h&ics=all&num_elements=4&verify=False 200 <?xml version="1.0" encoding="UTF-8"?>
     59<response status="OK">
     60  <action service="array_mgmt" name="connect" ipaddr="Local">
     61<ERROR detail=" Array is already connected" />
     62  </action>
     63</response>
     64
     65Warm-up for 15 seconds...
     66[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.1.0.4-release
     67[INFO] [X300] X300 initialization sequence...
     68[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
     69[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
     70[INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a
     71[INFO] [X300] Radio 1x clock: 200 MHz
     72[WARNING] [MULTI_USRP] Calling multi_usrp::recv_async_msg() is deprecated and can lead to unexpected behaviour. Prefer calling tx_stream::recv_async_msg().
     73[INFO] [MULTI_USRP]     1) catch time transition at pps edge
     74[INFO] [MULTI_USRP]     2) set times next pps (synchronously)
     75[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
     76Press Enter to quit: Beginning TX!
     77TRIALS: [(-10, 0), (0, 0), (10, 0)]
     78Steering beam to (-10,0), waiting 10 seconds...
     79Delimiting for 5 seconds
     80127.0.0.1 - - [05/Dec/2023 22:31:55] "POST /RPC2 HTTP/1.1" 200 -
     81Setting amplitude to 0.001
     82127.0.0.1 - - [05/Dec/2023 22:32:00] "POST /RPC2 HTTP/1.1" 200 -
     83http://rfdev-mob4-2.sb1.cosmos-lab.org:3000/array_mgmt/steer?dev_name=Local&theta=-10&phi=0 200 <?xml version="1.0" encoding="UTF-8"?>
     84<response status="OK">
     85  <action service="array_mgmt" name="steer" ipaddr="Local">
     86    <step name="steering" duration="0.061728"/>
     87  </action>
     88</response>
     89
     90}}}
     91
     92In `Terminal 2`, run:
     93{{{
     94**root@mob4-1:~/rest# ./tx-rest.py**
     95}}}
     96
     97`Terminal 2` output:
     98{{{
     993x3 TRIALS: [(-10, 0), (0, 0), (10, 0)]
     100Estimated Experiment Time: 1.75 minutes (105 seconds)
     101Press enter to confirm experiment execution.
     102http://rfdev-mob4-2.sb1.cosmos-lab.org:3000/array_mgmt/connect?dev_name=Local&txrx=tx&pol=h&ics=all&num_elements=4&verify=False 200 <?xml version="1.0" encoding="UTF-8"?>
     103<response status="OK">
     104  <action service="array_mgmt" name="connect" ipaddr="Local">
     105<ERROR detail=" Array is already connected" />
     106  </action>
     107</response>
     108
     109Warm-up for 15 seconds...
     110[INFO] [UHD] linux; GNU C++ version 9.3.0; Boost_107100; UHD_4.1.0.4-release
     111[INFO] [X300] X300 initialization sequence...
     112[INFO] [X300] Connecting to niusrpriorpc at localhost:5444...
     113[INFO] [X300] Using LVBITX bitfile /usr/share/uhd/images/usrp_x310_fpga_HG.lvbitx
     114[INFO] [GPS] Found an internal GPSDO: LC_XO, Firmware Rev 0.929a
     115[INFO] [X300] Radio 1x clock: 200 MHz
     116[WARNING] [MULTI_USRP] Calling multi_usrp::recv_async_msg() is deprecated and can lead to unexpected behaviour. Prefer calling tx_stream::recv_async_msg().
     117[INFO] [MULTI_USRP]     1) catch time transition at pps edge
     118[INFO] [MULTI_USRP]     2) set times next pps (synchronously)
     119[WARNING] [0/Radio#0] Attempting to set tick rate to 0. Skipping.
     120Press Enter to quit: Beginning TX!
     121TRIALS: [(-10, 0), (0, 0), (10, 0)]
     122Steering beam to (-10,0), waiting 10 seconds...
     123Delimiting for 5 seconds
     124127.0.0.1 - - [05/Dec/2023 22:31:55] "POST /RPC2 HTTP/1.1" 200 -
     125Setting amplitude to 0.001
     126127.0.0.1 - - [05/Dec/2023 22:32:00] "POST /RPC2 HTTP/1.1" 200 -
     127http://rfdev-mob4-2.sb1.cosmos-lab.org:3000/array_mgmt/steer?dev_name=Local&theta=-10&phi=0 200 <?xml version="1.0" encoding="UTF-8"?>
     128<response status="OK">
     129  <action service="array_mgmt" name="steer" ipaddr="Local">
     130    <step name="steering" duration="0.061728"/>
     131  </action>
     132</response>
     133
     134}}}
     135