Change datarate of a channel in omnetpp.ini

31 views
Skip to first unread message

fnord

unread,
Jan 15, 2018, 8:43:27 AM1/15/18
to OMNeT++ Users
Hi,

I would like to change the datarate of a channel as a parameter within the omnetpp.ini, and not directly in the .ned-file:

channel MyComChannel extends EtherLink

{

    datarate = default(100Mbps);

    ber = 0;

    per = 0;

    @display("ls=red");

}


In contrast to a network, I was not able to do this for a channel. Is there an way to da that, resulting in a line for the .ini-file (e.g. **.datarate = 1Gbps)?

Thanks,
fnord
Reply all
Reply to author
Forward
0 new messages