12.07.2015 Views

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

The ns Manual (formerly ns Notes and Documentation)1 - NM Lab at ...

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

% c<strong>at</strong> wireless.nam | tee saved_tracefile.nam | nam -Sometimes it is a bug in nam <strong>and</strong> sometimes it is a problem with the way your tracefile is form<strong>at</strong>ted. You may expect nam todo something th<strong>at</strong> it won’t do. Part of the philosophy in the design of nam is th<strong>at</strong> the detail of an anim<strong>at</strong>ion is h<strong>and</strong>led by thetracefile which makes nam more flexible but pushes some of the anim<strong>at</strong>ion complexity on to the programmer gener<strong>at</strong>ing thetracefile.46.1.11 Nam Trace File Form<strong>at</strong> Lookup TableThis is a listing of all possible nam trace event codes <strong>and</strong> the flags associ<strong>at</strong>ed with them. It was taken from the source code inthe file parser.cc. You can gener<strong>at</strong>e your own table by running nam -p.# : comment – this line is ignoredT :n :Dummy event to be used in time synchroniz<strong>at</strong>ion-t timenode-t time-s node id-v shape (circle, box, hexagon)-c color-z size of node-a address-x x loc<strong>at</strong>ion-y y loc<strong>at</strong>ion-i label color-b label-l label-o previous color-S st<strong>at</strong>e (UP, DOWN, COLOR)-L previous label-p label loc<strong>at</strong>ion-P previous label loc<strong>at</strong>ion-i i<strong>ns</strong>ide label color-I previous i<strong>ns</strong>ide label color-e label color-E previous label color-u x velocity-U x velocity-V y velocity-T node stop time-w wireless node405

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!