Changes between Version 3 and Version 4 of 802.11/wlan_exp/examples/log_capture_continuous


Ignore:
Timestamp:
Apr 13, 2014, 5:04:51 PM (10 years ago)
Author:
welsh
Comment:

--

Legend:

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

    v3 v4  
    55[[TracNav(802.11/TOC)]]
    66
    7 = 802.11 Reference Design Experiments Framework: AP Log Capture Example =
     7= 802.11 Reference Design Experiments Framework: Interactive Log Capture Example =
    88
    9 This example of the Experiments Framework provides an interactive script for initializing one WARP v3 node as an AP, waiting, then retrieving the node's log and writing it to an HDF5 log file.
     9This example of the Experiments Framework provides an interactive script for initializing one WARP v3 node, waiting, then retrieving the node's log and writing it to an HDF5 log file.
    1010
    11 This script is ideal for capturing a log file with Tx and Rx events recorded from Wi-Fi clients using the 802.11 Reference Design AP.
     11This script is ideal for capturing a log file with Tx and Rx events recorded from Wi-Fi clients using the 802.11 Reference Design AP or STA.
    1212
    1313To use this script:
    1414 * Setup wlan_exp (see [wiki:../../GettingStarted Getting Started] for details)
    15  * Configure one WARP v3 node using the 802.11 Reference Design AP bitstream
     15 * Configure one WARP v3 node using the 802.11 Reference Design AP bitstream or 802.11 Reference Design STA bitstream
    1616 * Open the file in a text editor and change the {{{NODE_SERIAL_LIST}}} to match your serial numbers
    1717 * Open a Python shell
    1818 * CD to the '''Python_Reference/examples/txrx_log''' directory from the expanded 802.11 Reference design archive
    19  * Run {{{python log_capture_ap_interactive.py}}}
     19 * Run {{{python log_capture_interactive.py}}}
    2020 * After running this script you can analyze the log file using the wlan_exp log tools. Refer to the [wiki:../txrx_log_analysis txrx_log analysis examples] to get started processing your log file.
    2121
     
    3636  NOTE:  In IPython, press return to see status update.
    3737
    38 Duration:       270 sec     Log Size:    Node 0      =     419176 bytes     q
     38Duration:       472 sec     Log Size:    Node 0      =     731880 bytes     quit
    3939
    4040Ending experiment
    4141
    42 Writing 420008 bytes of data to log file...
    43     log_files/ap_interactive_capture.hdf5
     42Writing 733288 bytes of data to log file...
     43    interactive_capture.hdf5
    4444Done.
    4545
     
    4747}}}
    4848
    49 NOTE:  By default, the script will try to use the file name:  {{{log_files/ap_interactive_capture.hdf5}}}.  You are free to override this behavior on the command line:  {{{python log_capture_ap_interactive.py <my_file_name>}}}.  Just remember that the script uses 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:
    50 {{{
    51 ERROR: Logfile log_files/ap_interactive_capture.hdf5 not able to be created
    52 }}}
    53 in this case, either change to the correct directory, or supply an appropriate file name.
     49NOTE:  By default, the script will try to use the file name:  {{{interactive_capture.hdf5}}}.  You are free to override this behavior on the command line:  {{{python log_capture_interactive.py <my_file_name>}}}.  This script will write the log file to your current directory.
    5450
    5551----