Beruflich Dokumente
Kultur Dokumente
+
Step by Step
Part - 3
By
Mohammed Amer AlBatati
Getting Started
Start the OMNet IDE:
1. Lunch mingwenv.cmd
2. Type: omnetpp
workspace path.
Lets create our own. (e.g.; C:\Myworkspace)
Click OK
OMNet IDE
Overview
Workbenc
h
What's
New
Tutoria
ls
Migration
Modeling Concepts
An OMNeT++ model consists of modules that
Gate(s)
Input gate (receive data
from)
Output gate (send data
from)
Connection (link)
Modules communicate by exchanging
messages. In an actual simulation,
messages can represent
frames, packets , jobs, etc.
Simple Example
Go to Project Explorer (Window-> Show
Module
Name it (Node.ned) -> A simple module ->
Finish
Modifying Node.ned
Double Click on Node.ned.
A dual-mode (Design and Source) NED editor
is opened.
Modifying Node.ned
Double Click on Node.ned.
A dual-mode (Design and Source) NED editor
is opened.
Defining Gates
For now, let our Node with only two gates:
Creating a Network
Lets create a network with two nodes (node1
node.
Rename it if needed.
Do the same with the other node.
CTRL+SHIFT+F
To reformat the NED file.
CTRL+SPACE
When help is needed.
OMNet++ Simulator.
OK -> OK