Changes between Version 2 and Version 3 of 802.11/wlan_exp/examples/txrx_log_capture
- Timestamp:
- Apr 13, 2014, 2:23:40 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/wlan_exp/examples/txrx_log_capture
v2 v3 7 7 = 802.11 Reference Design: TX/RX Log Capture Example = 8 8 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:9 This 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: 10 10 * Control two WARP v3 nodes from one wlan_exp script 11 11 * Use the wlan_exp framework Local Traffic Generator (LTG) to create traffic 12 12 * Capture an HDF5 log file from the data logged by each node 13 13 14 The flow of the two_node_dual_flow_capture.py script is:14 The flow of the log_capture_two_node_two_flow.py script is: 15 15 1. Initialize two WARP v3 nodes 16 16 1. Ensure nodes are configured as one AP, one STA and that the STA is associated with AP … … 30 30 * Open a Python shell 31 31 * 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}}} 33 33 34 34 The script will run for 2 minutes, then display its results: … … 64 64 65 65 66 NOTE: The log file names, i e 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:66 NOTE: 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: 67 67 {{{ 68 68 ERROR: Logfile log_files/ap_log_stats.hdf5 not able to be created 69 69 }}} 70 in this case, either change to the correct directory, or modify the file name variables. 71 70 72 ---- 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'''.