[ns] urgent wireless scripts

2007-10-08 Thread Aaron Holmes
I currently just started using the ns2.31, and am not that good with Otcl scripting. I am trying to run the simple-wireless.tcl script, when I run it I get num_nodes is set 2 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl INITIALIZE THE LIST xListHead Starting Simulation...

Re: [ns] urgent wireless scripts

2007-10-08 Thread Tara Arezoumand
you can see wireless2.tcl to found nam running codes. and add those codes to your script. for define it: set namtrace[open wireless2-out.nam w] $ns_ namtrace-all-wireless $namtrace $val(x) $val(y) ( x & y defined above) and in "proc stop{}" after "close $namtrace" add this: