[ns] How to to set the pause time of node in TCL script

2011-08-12 Thread srinivaskanakala


sir any body help me to set the pausetime of every node separately. not using
setdest.
-- 
View this message in context: 
http://old.nabble.com/-Wireless---AODV--HOWTO-stop-simulation-right-after-a-node-dies--tp31565622p32251095.html
Sent from the ns-users mailing list archive at Nabble.com.



[ns] How to to set the pause time of node in TCL script

2011-07-28 Thread Wei Zhang

Hello All,



I would like you help me to set the pause time of node in TCL script.





I try the following code but it has error: setdest –n num
nodes –p pause time –s speed –t Time –x
x –y y





I can only set the speed and coordinate and it is ok:





$ns_ at 10 $node_(0) setdest  300 680 5





Please help me soon.





Thank you in advance.





Wei