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
Reporterrhornig 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
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 test1.port.channel.foo 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$o.channel.foo' 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. 'port.channel.foo' 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*.channel.foo = 45

i.e. use * instead of $o
TagsNo tags attached.
Attached Fileszip file icon bugreport.zip [^] (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: bugreport.zip


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker