Changes between Version 20 and Version 21 of Tutorials/Wireless/GNURadioOFDM
- Timestamp:
- Oct 4, 2023, 6:29:35 PM (14 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Wireless/GNURadioOFDM
v20 v21 143 143 [[Image(TX_OFDM_grc.PNG, width=800px)]] 144 144 }}} 145 3. Make sure the device arguments on both nodes are correctly set as shown below. Check the center frequencies and sample rates, and make sure they match. TX_OFDM.grc has a "File Source" block which reads the text file to be transmitted. RX_OFDM.grc stores the received data in a local file that is specified in the "File Sink" block. 145 3. Make sure the device arguments on both nodes are correctly set as shown below. Check the center frequencies and sample rates, and make sure they match. TX_OFDM.grc has a "File Source" block which reads the text file to be transmitted. RX_OFDM.grc stores the received data in a local file that is specified in the "File Sink" block. Tag Debug block in RX_OFDM_GUI.grc has a Display option, which can be set to 'on', to log various tags used in the flowgraph (Please note that displaying the tags may generate a huge amount of output causing the system to hang. It is advised to turn the display on and collect the output into a file while running in non-GUI mode as shown in the next step) 146 146 {{{#!td 147 147 [[Image(OFDM_SB2_args.PNG, width=300px)]] … … 153 153 [[Image(FileSink.PNG, width=400px)]] 154 154 }}} 155 {{{#!td 156 [[Image(TagDebug.PNG, width=400px)]] 157 }}} 155 158 156 159 4. Run the receive flowgraph followed by the transmit flowgraph. The following display window with received IQ samples and constellation can be seen. Stop the flowgraph and check the received text file. 157 160 [[Image(RX_OFDM_samples.PNG, width=500px)]] 158 161 159 5. The receive GNURadio application can also be run without GUI, by generating the 162 5. The above applications can also be run without GUI, by generating Python scripts. Press F5 key to generate the Python scripts. 163 {{{#!shell 164 root@node1-1:~/GNURadioOFDMExample# python3 TX_OFDM.py 165 }}} 166 {{{#!shell 167 root@node1-2:~/GNURadioOFDMExample# python3 RX_OFDM_GUI.py >> TagDebug.txt 168 }}} 160 169