Changes between Version 3 and Version 4 of WARPLab/Reference/NodesConfig


Ignore:
Timestamp:
May 6, 2013, 7:51:57 AM (11 years ago)
Author:
welsh
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WARPLab/Reference/NodesConfig

    v3 v4  
    33= Nodes Config =
    44
    5   The Nodes Config utility allows a user greater flexibility when specifying the configuration information of a [wiki:WARPLab7/Reference/Architecture/Classes#Node wl_node] as part of the [wiki:WARPLab7/Reference/Utility#wl_initNodes wl_initNodes] setup process.  Please note that in order to use the wl_nodesConfig utility, the
     5  The Nodes Config utility allows a user greater flexibility when specifying the configuration information of a [wiki:WARPLab7/Reference/Architecture/Classes#Node wl_node] as part of the [wiki:WARPLab7/Reference/Utility#wl_initNodes wl_initNodes] setup process.  Please note that in order to use the wl_nodesConfig utility, you must satisfy the following system requirements:
    66
    7 || [[Image(wiki:GettingStarted/files:important.png,nolink,valign=middle)]] || wl_nodesConfig only works with WARP v3 hardware and the [wiki:HardwareUsersGuides/WARPv3/UserIO dip switches] must have a value of all '1's (ie 0xF) ||
     7'''System Requirements'''
     8* WARPLab 7.1.0 or later
     9* WARP v3 hardware
     10* User [wiki:HardwareUsersGuides/WARPv3/UserIO dip switches] must have a value of all '1's (ie 0xF)
     11
    812
    913== wl_nodesConfig ==
     
    97101== Example Setup ==
    98102
    99 Coming soon ...
     1031. Make sure you have completed the [wiki:GettingStarted/WARPv3/Hardware Getting to Know the WARP v3 Hardware] page so you are familiar with the WARP v3 hardware.
     104
     1052. Set the User IO [wiki:HardwareUsersGuides/WARPv3/UserIO dip switches] to a value of all '1's (ie 0xF).
     106
     1073. Power on the board and download the appropriate bit stream. See [wiki:Exercises/13_4/IntroToSDK Introduction to the Xilinx Software Development Kit (SDK)] for an example of this.
     108
     1094. Once the board finishes its boot sequence, the [wiki:HardwareUsersGuides/WARPv3/UserIO Seven Segment Display] on the board should read "--".  Now the board is in a state where it is ready to receive commands from Matlab.
     110
     1115. Given you have a valid configuration file, from Matlab you can then execute the following lines to push the configuration information to the node:
     112
     113{{{
     114nodesConfig = wl_nodesConfig('read', 'my_node_config_file.txt')
     115nodes = wl_initNodes(nodesConfig)
     116}}}
     117
     1186. If the update was successful, the [wiki:HardwareUsersGuides/WARPv3/UserIO Seven Segment Display] on the board should now contain the ID number you assigned the node in the configuration file.  Also, you should be able to ping the node using the IP address you assigned in the file.
     119
     120
     121== Additional Questions and Feedback ==
     122If you have any additional questions about this exercise or other feedback, please post to the [http://warp.rice.edu/forums/ WARP Forums].
    100123
    101124
    102125
    103 
    104 
    105 
    106 
    107 
    108