Relationship between Delay and Distance

70 views
Skip to first unread message

Jai

unread,
Oct 6, 2012, 4:04:19 AM10/6/12
to omn...@googlegroups.com
Hi everyone,

I am using ethernet LAN, I wanted to know the relationship between delay time and distance between the node, let me clear If I set delay=10.0us then what would be the distance between the nodes. 

Your quick reply would be appreciated.

Regards,
Mr. Jaipal

Rudolf Hornig

unread,
Oct 8, 2012, 2:35:22 AM10/8/12
to omn...@googlegroups.com
channel EtherLink extends DatarateChannel
{
    double length @unit(m) = default(10m);
    delay = replaceUnit(length / 2e8, "s");

Jaipal Dhobale

unread,
Oct 8, 2012, 7:45:06 AM10/8/12
to omn...@googlegroups.com
Sir,

Can U make it more clear? please.


--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
 
 



--
Regards
Mr. Dhobale J V

Rudolf Hornig

unread,
Oct 8, 2012, 10:57:43 AM10/8/12
to omn...@googlegroups.com
delay = length / 2e8

speed of signal is usually calculated as 2e8 m/s

Jaipal Dhobale

unread,
Oct 9, 2012, 12:58:04 AM10/9/12
to omn...@googlegroups.com
Thanks a lot.
Reply all
Reply to author
Forward
0 new messages