You are not logged in.
Pages: 1
In current reference designs of WARP Lab, seems the Matlab code in the current workshops is usually for the two boards control. Do we have existing code for more than 2 boards control? And besides the Matlab code, if 3+ boards are involved in the WARP lab, do we need to modify the C code running on the Powerpc?
Offline
We've done lots of research work with 3+ WARPLab nodes, but none of the examples do this. The reference C and m code do not require modification for up to 16 nodes. The only "catch" is calling warplab_initialize() with an argument indicating the number of nodes:
%3 Node Example: [socketHandles, packetNum] = warplab_initialize(3); udp_Sync = socketHandles(1); udp_node1 = socketHandles(2); udp_node2 = socketHandles(3); udp_node3 = socketHandles(4);
If you omit the argument, it assumes two nodes (i.e. the return vectors have three elements; one per node, plus the sync handle).
Be sure the DIP switches on your nodes are set correctly (0/1/2 for IP addresses 10.0.0.1/2/3).
Offline
Thank you. I will try it.
Offline
Pages: 1