Changes between Version 25 and Version 26 of WARPLab/QuickStart


Ignore:
Timestamp:
May 6, 2013, 4:27:04 PM (11 years ago)
Author:
murphpo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/QuickStart

    v25 v26  
    1 [[TracNav(WARPLab7/TOC)]]
     1[[TracNav(WARPLab/TOC)]]
    22
    33= Quick Start =
     
    77
    88=== 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.
    1010 1. Open MATLAB and change the current path to the {{{M_Code_Reference}}} directory from the downloaded archive.
    1111 1. Run {{{wl_setup}}} on the MATLAB command line.
     
    4949There are a few resources for getting help with using WARPLab for your own designs:
    5050
    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.
     511. The [wiki:../Reference/Utility#wl_cmd_list wl_cmd_list] is a function that allows you to display all commands than an object supports.
     521. The [wiki:../Reference/Utility#wl_cmd_doc wl_cmd_doc] is a function that will display documentation for a particular command.
    53531. The WARP forums ([http://warpproject.org/forums/]) are a great place to ask questions.
    5454
     
    127127
    128128==== 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:
     129If 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:
    130130
    131131{{{
     
    166166  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)
    167167  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.