Changes between Version 25 and Version 26 of WARPLab/QuickStart
- Timestamp:
- May 6, 2013, 4:27:04 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WARPLab/QuickStart
v25 v26 1 [[TracNav(WARPLab 7/TOC)]]1 [[TracNav(WARPLab/TOC)]] 2 2 3 3 = Quick Start = … … 7 7 8 8 === Setting up the WARPLab 7 Framework === 9 1. Download the latest WARPLab Reference Design Release ([wiki: WARPLab7/Downloads Download]) and unzip it to a location of your choosing.9 1. Download the latest WARPLab Reference Design Release ([wiki:../Downloads Download]) and unzip it to a location of your choosing. 10 10 1. Open MATLAB and change the current path to the {{{M_Code_Reference}}} directory from the downloaded archive. 11 11 1. Run {{{wl_setup}}} on the MATLAB command line. … … 49 49 There are a few resources for getting help with using WARPLab for your own designs: 50 50 51 1. The [wiki: WARPLab7/Reference/Utility#wl_cmd_list wl_cmd_list] is a function that allows you to display all commands than an object supports.52 1. The [wiki: WARPLab7/Reference/Utility#wl_cmd_doc wl_cmd_doc] is a function that will display documentation for a particular command.51 1. The [wiki:../Reference/Utility#wl_cmd_list wl_cmd_list] is a function that allows you to display all commands than an object supports. 52 1. The [wiki:../Reference/Utility#wl_cmd_doc wl_cmd_doc] is a function that will display documentation for a particular command. 53 53 1. The WARP forums ([http://warpproject.org/forums/]) are a great place to ask questions. 54 54 … … 127 127 128 128 ==== WARPLab Test ==== 129 If the ping test indicates that your PC and your Ethernet switch support jumbo frames, the next step is to see if WARPLab works with jumbo frames. When node objects are first set up in a WARPLab script, they run a test with their associated boards to see what maximum payload size can be supported. First, re-run the [wiki: WARPLab7/Reference/Utility#wl_setup 'wl_setup'] function in {{{M_Code_Reference}}} and select that you would like to enable jumbo frame support. Next, ensure one WARP board is programmed with the WARPLab bitstream and configured with DIP switch '0'. Then, copy and paste the following lines to the MATLAB command line:129 If the ping test indicates that your PC and your Ethernet switch support jumbo frames, the next step is to see if WARPLab works with jumbo frames. When node objects are first set up in a WARPLab script, they run a test with their associated boards to see what maximum payload size can be supported. First, re-run the [wiki:../Reference/Utility#wl_setup 'wl_setup'] function in {{{M_Code_Reference}}} and select that you would like to enable jumbo frame support. Next, ensure one WARP board is programmed with the WARPLab bitstream and configured with DIP switch '0'. Then, copy and paste the following lines to the MATLAB command line: 130 130 131 131 {{{ … … 166 166 1. Add the pnet folder to your MATLAB path. The pnet folder should contain pnet.m and th pnet.mex binary (i.e. pnet.mexw64) 167 167 1. Verify pnet is recognized by running {{{pnet('version');}}} on the MATLAB command line. The output should print the version number. 168 1. Re-run the [wiki: WARPLab7/Reference/Utility#wl_setup 'wl_setup'] function in {{{M_Code_Reference}}}. The final prompt will be to select which type of transport you want to use. If you have added a compatible, compiled pnet to your path, the script will list it as an option you can select. Note: simply re-running 'wl_setup' and selecting java is sufficient for switching back to the built-in java routines. You do not need to explicitly remove pnet from your MATLAB path.168 1. Re-run the [wiki:../Reference/Utility#wl_setup 'wl_setup'] function in {{{M_Code_Reference}}}. The final prompt will be to select which type of transport you want to use. If you have added a compatible, compiled pnet to your path, the script will list it as an option you can select. Note: simply re-running 'wl_setup' and selecting java is sufficient for switching back to the built-in java routines. You do not need to explicitly remove pnet from your MATLAB path.