14 | | 1. Configure one WARP v3 node using the 802.11 Reference Design AP bitstream |
15 | | 1. update s/n |
16 | | 1. Run |
| 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 |
| 16 | * Open the file in a text editor and change the {{{NODE_SERIAL_LIST}}} to match your serial numbers |
| 17 | * Open a Python shell |
| 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}}} |
| 20 | |
| 21 | The script will run until you type either 'q', 'quit' or press 'Ctrl-C' and then write the log file: |
18 | | output |
| 23 | Initializing experiment |
| 24 | |
| 25 | Reseting the network config for all nodes on subnet 10.0.0. |
| 26 | Initializing W3-a-00006 as Node 0 |
| 27 | Initializing the time of all nodes on 10.0.0 to: 0.0 |
| 28 | Adding current time to log for nodes on 10.0.0 |
| 29 | |
| 30 | Run Experiment: |
| 31 | |
| 32 | Use 'q' or Ctrl-C to end the experiment. |
| 33 | |
| 34 | NOTE: In IPython, press return to see status update. |
| 35 | |
| 36 | Duration: 270 sec Log Size: Node 0 = 419176 bytes q |
| 37 | |
| 38 | Ending experiment |
| 39 | |
| 40 | Writing 420008 bytes of data to log file... |
| 41 | log_files/ap_interactive_capture.hdf5 |
| 42 | Done. |
| 43 | |
| 44 | Experiment Finished. |
22 | | After running this script you can analyze the log file using the wlan_exp log tools. Refer to the [wiki:../txrx_log txrx_log examples] to get started processing your log file. |
| 47 | 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: |
| 48 | {{{ |
| 49 | ERROR: Logfile log_files/ap_interactive_capture.hdf5 not able to be created |
| 50 | }}} |
| 51 | in this case, either change to the correct directory, or supply an appropriate file name. |
| 52 | |
| 53 | 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. |
| 54 | |
| 55 | ---- |
| 56 | '''Source:''' the script is included in the 802.11 Reference Design archive at '''Python_Reference/examples/txrx_log/log_capture_ap_interactive.py'''. |