OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000580OMNeT++IDE / simulation launcherpublic2012-06-15 14:522012-06-15 14:52
Assigned To 
PlatformOSOS Version
Product Version4.2.2 
Target VersionFixed in Version 
Summary0000580: Deep param assignment for channels is not working
DescriptionThe handling of channel parameter assignments is not consistent between IDE the the runtime. This was reported by [email protected]. The provided zip contains a project that can be used to reproduce the issue:

I include my exported project: when I run it, the “foo” param is set to 1 both as seen in the TkEnv inspectors and as printed from the program, while I would like it to be “4”.
Besides, the parameter can only be set either in omnetpp.ini or in the network definition. This is ok, but the Editor’s error message is not explicit (it says “unused entry (does not match any parameter)”).

It is not possible to set the channel parameter from the NED file with deep param assignement. Neither port nor port$o addressing is working in the parameters section (deep param assignement).
The 'portr$' style works tough from INI file. Unfortunately port$o generates a warning in IDE (falsely) complaining unused entry but this addressing sets the parameter correctly. '' does not generate warning but its not working either in the runtime.
Additional InformationA possible workaround is setting the parameter in INI file by using the syntax:

Netw.test*.port* = 45

i.e. use * instead of $o
TagsNo tags attached.
Attached Fileszip file icon [^] (6,884 bytes) 2012-06-15 14:52

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-06-15 14:52 rhornig New Issue
2012-06-15 14:52 rhornig File Added:

Copyright © 2000 - 2022 MantisBT Team
Powered by Mantis Bugtracker