migrate ned fom Omnet 3.x file nttNet.ned

53 views
Skip to first unread message

L. Jacob Mariscal Fernández

unread,
Jun 22, 2012, 7:55:03 AM6/22/12
to omn...@googlegroups.com
greetings from Sanlúcar, SW Spain.

Applying manual of migration, when use migratened over file nttNed.ned from antnet project http://www.omnetpp.org/omnetpp/doc_details/2119-antnet-40 got the following error:

./nttNet.ned:43: Error: cannot modify parameter/gate properties in a submodule or connection

The related lines:
"
submodules:
   rte: nodetype[numNodes] like genericNetworkNode;
    parameters:
"

So following manual i think i should convert to module interface, but always got error because the brackets of the array [ ]
I tried rte: <nodetype>[numNodes] like IGenericNetworkNode;
and several variants with the array declarations, but always got error, any idea?

Thanks in advance,
Reply all
Reply to author
Forward
0 new messages