ned design view does not display nodes

181 views
Skip to first unread message

Erik Baumert

unread,
Oct 28, 2017, 12:38:09 PM10/28/17
to OMNeT++ Users
Hi everyone,

I'm new to Omnet and just making my way through the tutorial. However, I'm stuck in Part 4.1. I defined the .ned file as required, but rather than displaying the different nodes, I just see a single one, which makes visualization obsolete. Did I overlook something? Appreciating your help! I attached the view I'm getting and what it's supposed to look like, from the tutorial.

My .ned file:

simple Txc10
{
    parameters:
        @display("i=block/routing");
    gates:
        input in[];  // declare in[] and out[] to be vector gates
        output out[];
}
network Tictoc10
{
    @display("bgl=3;bgb=376,278");
    submodules:
        tic[6]: Txc10 {
            @display("p=107,149");
        }
    connections:
        tic[0].out++ --> {  delay = 100ms; } --> tic[1].in++;
        tic[0].in++ <-- {  delay = 100ms; } <-- tic[1].out++;

        tic[1].out++ --> {  delay = 100ms; } --> tic[2].in++;
        tic[1].in++ <-- {  delay = 100ms; } <-- tic[2].out++;

        tic[1].out++ --> {  delay = 100ms; } --> tic[4].in++;
        tic[1].in++ <-- {  delay = 100ms; } <-- tic[4].out++;

        tic[3].out++ --> {  delay = 100ms; } --> tic[4].in++;
        tic[3].in++ <-- {  delay = 100ms; } <-- tic[4].out++;

        tic[4].out++ --> {  delay = 100ms; } --> tic[5].in++;
        tic[4].in++ <-- {  delay = 100ms; } <-- tic[5].out++;
}

Capture.JPG
step10[2].png

Attila Török

unread,
Oct 28, 2017, 12:46:22 PM10/28/17
to OMNeT++ Users
Hi Erik,

What you see is expected, you did nothing wrong.
At the moment submodule vectors are displayed as a single icon in the IDE, with [n] indicating their size. We know that this is inconsistent with what you see at runtime, as you illustrated. We plan to improve this at some time in the future, but there are many other issues with higher priority on our roadmap.

Attila


--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Erik Baumert

unread,
Oct 28, 2017, 12:52:16 PM10/28/17
to OMNeT++ Users
Hi Attila,

thanks for the swift reply. That's too bad but I get there's more pressing issues to fix.

Thanks!
Erik
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages