12.07.2015 Views

Creating Custom 3D Network Visualizations with OPNET Modeler®

Creating Custom 3D Network Visualizations with OPNET Modeler®

Creating Custom 3D Network Visualizations with OPNET Modeler®

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1588 <strong>Creating</strong> <strong>Custom</strong> <strong>3D</strong> <strong>Network</strong> <strong>Visualizations</strong> <strong>with</strong> <strong>OPNET</strong> Modeler®a) Receiver init (rx_init): Obtain the MAC address of the WLAN layer. This is used duringreception to check if a packet is destined for this node or just something that wasreceived due to the broadcast. The MAC address is stored as state associated <strong>with</strong> thereceiver for later use during receptions.b) Transmission start (xmit_start): Checks if the packet is a WLAN data packet and if thecontent is a bit range from known application traffic. If that’s the case, associate astate <strong>with</strong> the transmission <strong>with</strong> appropriate information relative to the packet:• Destination MAC address• Application color• Application Ovis layer• <strong>3D</strong> offset: This ensures that lines representing multiple active applications are notobscuring each other by drawing them <strong>with</strong> slight offsets depending on theapplication type.c) Reception start (rcpt_start): If the transmission has an associated state, use that and thereception’s receiver’s state to create an appropriate line. Each line stays visible forsome simulation time (controlled via attributes of the process model that appear asconfiguration attributes of the visualization configuration node) after which asimulation event invokes a function that destroys the line.A small portion of the reception start code is missing and awaits your input to complete.9. Scroll down to the end of the o1588_lab2_rcpt_start function (line 241) and fill in the missingpart.Deleted:Deleted:Deleted:Formatted: Bullets and NumberingCONFIDENTIAL – RESTRICTED ACCESS: This information may not be disclosed, copied, or transmitted in any format <strong>with</strong>out the prior written consent of <strong>OPNET</strong> Technologies, Inc.© 2010 <strong>OPNET</strong> Technologies, Inc.Page 39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!