Changes between Version 2 and Version 3 of 802.11/wlan_exp/examples/txrx_log_capture


Ignore:
Timestamp:
Apr 13, 2014, 2:23:40 PM (10 years ago)
Author:
welsh
Comment:

--

Legend:

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

    v2 v3  
    77= 802.11 Reference Design:  TX/RX Log Capture Example =
    88
    9 This example of the Experiments Framework uses two WARP v3 nodes, one configured as an AP, the other as a STA.  The two_node_dual_flow_capture.py will capture a log file of LTG traffic flows between the AP and STA and write the data to an HDF5 log file for later processing.  This example demonstrates how to:
     9This example of the Experiments Framework uses two WARP v3 nodes, one configured as an AP, the other as a STA.  The log_capture_two_node_two_flow.py will capture a log file of LTG traffic flows between the AP and STA and write the data to an HDF5 log file for later processing.  This example demonstrates how to:
    1010 * Control two WARP v3 nodes from one wlan_exp script
    1111 * Use the wlan_exp framework Local Traffic Generator (LTG) to create traffic
    1212 * Capture an HDF5 log file from the data logged by each node
    1313
    14 The flow of the two_node_dual_flow_capture.py script is:
     14The flow of the log_capture_two_node_two_flow.py script is:
    1515 1. Initialize two WARP v3 nodes
    1616 1. Ensure nodes are configured as one AP, one STA and that the STA is associated with AP
     
    3030 * Open a Python shell
    3131 * CD to the '''Python_Reference/examples/txrx_log''' directory from the expanded 802.11 Reference design archive
    32  * Run {{{python two_node_dual_flow_capture.py}}}
     32 * Run {{{python log_capture_two_node_two_flow.py}}}
    3333
    3434The script will run for 2 minutes, then display its results:
     
    6464
    6565
    66 NOTE:  The log file names, ie AP_HDF5_FILENAME and STA_HDF5_FILENAME variables in the script, use relative paths from the '''Python_Reference/examples/txrx_log/''' directory so if you are trying to run the script from a different directory, you may see:
     66NOTE:  The log file names, i.e. the AP_HDF5_FILENAME and STA_HDF5_FILENAME variables in the script, use relative paths from the '''Python_Reference/examples/txrx_log/''' directory so if you are trying to run the script from a different directory, you may see:
    6767{{{
    6868ERROR: Logfile log_files/ap_log_stats.hdf5 not able to be created
    6969}}}
     70in this case, either change to the correct directory, or modify the file name variables.
     71
    7072----
    71 '''Source:''' the script is included in the 802.11 Reference Design archive at '''Python_Reference/examples/txrx_log/two_node_dual_flow_capture.py'''.
     73'''Source:''' the script is included in the 802.11 Reference Design archive at '''Python_Reference/examples/txrx_log/log_capture_two_node_two_flow.py'''.