[ns] tutorial-simple wireless example..
Shrawan C. Surender
shrawans at psu.edu
Mon Jun 27 10:06:13 PDT 2005
I guess when you executed the "wireless-mitf.tcl" file, there were two
output files that were created. One is "wireless_mitf.tr" and the other
is "wireless_mitf.nam". If you execute the second file using nam by
this command: " nam wirless_mitf.nam & ", then you will see a visual
animation of the two nodes passing packets among themselves.
But if you want to use the first trace file "wireless_mitf.tr", then you
should transform a subset of the data available in that trace file into
a comprehensible form and then try to plot it with xgraph. Some related
help can be seen in "NS by example" (http://nile.wpi.edu/NS/), where
they show how to analyze the .tr file using simple perl and awk
commands. Hope this helps.
>I have a question about the first wireless example in
>Marc Greis' tutorial ,which consists of 2 mobilenodes.
>I tried lastly updated version of this example which
>exists in the directory: tcl/ex with name :
>When I run the tcl by writing:
>"xgraph wireless_mitf.tr" ,a graphic doesn't appear
>and also a warning (from line 1 to 49960) says:
>Error in file `wireless_mitf.tr' at line 49960.
>What is the problem here and What should I do?
>Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the Ns-users