spectrum_analyser_example
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
spectrum_analyser_example [2016/12/14 10:57] – [Spectrum analyser example] onicolas | spectrum_analyser_example [2017/11/15 16:25] (current) – [Adapt the scenario file] onicolas | ||
---|---|---|---|
Line 17: | Line 17: | ||
Duplicate the folder my\_task and rename it as ofdm-sa : | Duplicate the folder my\_task and rename it as ofdm-sa : | ||
< | < | ||
- | you@yourpc: | + | you@yourpc: |
you@yourpc: | you@yourpc: | ||
</ | </ | ||
Line 39: | Line 39: | ||
We need to adapt the scenario file to include the spectrum analyzer. We are using nodes 4 and 6 to do the OFDM transmission, | We need to adapt the scenario file to include the spectrum analyzer. We are using nodes 4 and 6 to do the OFDM transmission, | ||
- | Edit '' | + | Edit '' |
< | < | ||
# | # | ||
Line 47: | Line 47: | ||
# Scenario textual description | # Scenario textual description | ||
# | # | ||
- | desc base scenario for CorteXlab | + | description: |
# Experiment maximum duration | # Experiment maximum duration | ||
# Time after which the experiment is forced to stop | # Time after which the experiment is forced to stop | ||
- | # | + | # |
- | durat 5 | + | duration: 300 |
# Node list | # Node list | ||
Line 58: | Line 58: | ||
# | # | ||
# | # | ||
- | # | + | # nodes: |
- | # entry (entry point script relative to the task root) | + | # (machine): |
- | # exit (exit point script relative to the task root. Use " | + | # command: |
- | node4: | + | nodes: |
- | entry benchmark_rx.py | + | |
- | | + | |
- | | + | |
- | node6: | + | node4: |
- | entry benchmark_tx.py | + | command: ./ |
- | | + | passive: true |
- | | + | |
- | node23: | + | |
- | entry sa.py | + | command: ./benchmark_tx.py --antenna=" |
- | | + | |
+ | node23: | ||
+ | | ||
+ | passive: true | ||
</ | </ | ||
Line 134: | Line 134: | ||
### Observe the result | ### Observe the result | ||
- | Go back to the web page where we created the graph. Around twenty seconds after launching the experiment the graph should start to animate with the result and you can observe a graph representing an OFDM transmission which should look like this :{{ : | + | Go back to the web page where we created the graph. Around twenty seconds after launching the experiment the graph should start to animate with the result and you can observe a graph representing an OFDM transmission which should look like this :{{ : |
spectrum_analyser_example.txt · Last modified: 2017/11/15 16:25 by onicolas