Changes between Initial Version and Version 1 of 802.11/wlan_exp/examples/txrx_log


Ignore:
Timestamp:
Apr 11, 2014, 3:42:39 PM (10 years ago)
Author:
welsh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 802.11/wlan_exp/examples/txrx_log

    v1 v1  
     1{{{#!comment
     2[[Include(wiki:802.11/beta-note)]]
     3}}}
     4
     5[[TracNav(802.11/TOC)]]
     6
     7= 802.11 Reference Design:  TX/RX Log Example =
     8
     9This example of the Experiments Framework uses two WARP v3 nodes, one configured as an AP, the other as a STA.  The first example, logger_two_node_dual_flow.py will record a log file of LTG traffic flows between the AP and STA.  Then the next two examples will process that recorded log file to print interesting information about the traffic flows. This example demonstrates how to:
     10 * Control two WARP v3 nodes from one wlan_exp script
     11 * Use the wlan_exp framework Local Traffic Generator (LTG) to create traffic
     12 * Record an HDF5 log file from the data logged by each node
     13 * Use python packages to extract and process the log data
     14
     15The flow of the logger_two_node_dual_flow.py script is:
     16 1. Initialize two WARP v3 nodes
     17 1. Ensure nodes are configured as one AP, one STA and that the STA is associated with AP
     18 1. Start a fully-backlogged locally generated traffic (LTG) flow from AP -> STA
     19 1. Wait 30 seconds
     20 1. Start a fully-backlogged locally generated traffic (LTG) flow from STA -> AP
     21 1. Wait 30 seconds
     22 1. Stop the locally generated traffic (LTG) flow from STA -> AP
     23 1. Wait 30 seconds
     24 1. Stop the locally generated traffic (LTG) flow from AP -> AP
     25 1. Read the log data from each node and write an HDF5 log file
     26
     27To run this example:
     28 * Setup wlan_exp (see [wiki:../../GettingStarted Getting Started] for details)
     29 * Configure two WARP v3 nodes with the 802.11 Reference Design bitstream- one AP, one STA
     30 * Open the file in a text editor and change the {{{NODE_SERIAL_LIST}}} to match your serial numbers
     31 * Open a Python shell
     32 * CD to the '''Python_Reference/Examples''' directory from the expanded 802.11 Reference design archive
     33 * Run {{{python logger_two_node_dual_flow.py}}}
     34
     35The script will run for 2 minutes, then display its results:
     36{{{
     37
     38TBD
     39
     40}}}
     41
     42----
     43'''Source:''' the script is included in the 802.11 Reference Design archive at '''Python_Reference/examples/txrx_log/logger_two_node_dual_flow.py'''.
     44
     45The [source:/ReferenceDesigns/w3_802.11/python/examples/txrx_log/logger_two_node_dual_flow.py latest version of the logger_two_node_dual_flow.py script] is also shown below.
     46
     47[[Include(source:/ReferenceDesigns/w3_802.11/python/examples/txrx_log/logger_two_node_dual_flow.py)]]