Changes between Version 3 and Version 4 of 802.11/wlan_exp/examples/log_capture_continuous
- Timestamp:
- Apr 13, 2014, 5:04:51 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
802.11/wlan_exp/examples/log_capture_continuous
v3 v4 5 5 [[TracNav(802.11/TOC)]] 6 6 7 = 802.11 Reference Design Experiments Framework: APLog Capture Example =7 = 802.11 Reference Design Experiments Framework: Interactive Log Capture Example = 8 8 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.9 This 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. 10 10 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 .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 or STA. 12 12 13 13 To use this script: 14 14 * 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 16 16 * Open the file in a text editor and change the {{{NODE_SERIAL_LIST}}} to match your serial numbers 17 17 * Open a Python shell 18 18 * 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}}} 20 20 * 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. 21 21 … … 36 36 NOTE: In IPython, press return to see status update. 37 37 38 Duration: 270 sec Log Size: Node 0 = 419176 bytes q38 Duration: 472 sec Log Size: Node 0 = 731880 bytes quit 39 39 40 40 Ending experiment 41 41 42 Writing 420008 bytes of data to log file...43 log_files/ap_interactive_capture.hdf542 Writing 733288 bytes of data to log file... 43 interactive_capture.hdf5 44 44 Done. 45 45 … … 47 47 }}} 48 48 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. 49 NOTE: 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. 54 50 55 51 ----