[ns] Problem About running wireless1.tcl

2007-08-26 Thread JOE

Hey everyone,

I got an unexpected problem here,hope someone could help me.
When I simulated the Wireless1.tcl in the tutorial folder,everything is
good except that the output NAM file did not come out as the others did.
I could not get the topology chart under NAM interface,Anyone could help me
is so appreciated

Here is what it displayed:
  $ns wireless1.tcl
 num_nodes is set 3
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ... DONE!
NS EXITING...   

then the ns just exited
nothing else happened


Thanks!

Regards,
Joe


Re: [ns] Problem About running wireless1.tcl

2007-08-26 Thread Kamil H. Suleiman

Hi Joe, 
What u got is perfect. The ns doesn't just run the animation unless you
use some code to do so as in exec nam wireless1-out.nam  inside your
tcl script or you can run nam wireless1-out.nam in the command
terminal to run the the nam. 

http://crg.ee.uct.ac.za/~kamil/
Kamil


On Sun, 2007-08-26 at 10:51 -0400, JOE wrote:
 Hey everyone,
 
 I got an unexpected problem here,hope someone could help me.
 When I simulated the Wireless1.tcl in the tutorial folder,everything is
 good except that the output NAM file did not come out as the others did.
 I could not get the topology chart under NAM interface,Anyone could help me
 is so appreciated
 
 Here is what it displayed:
   $ns wireless1.tcl
  num_nodes is set 3
 INITIALIZE THE LIST xListHead
 Loading connection pattern...
 Loading scenario file...
 Starting Simulation...
 channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
 highestAntennaZ_ = 1.5,  distCST_ = 550.0
 SORTING LISTS ... DONE!
 NS EXITING...   
 
 then the ns just exited
 nothing else happened
 
 
 Thanks!
 
 Regards,
 Joe