[ns] Fwd: noce count

2013-04-10 Thread Sailu D
how to get the count of the nodes present in the network dynamically ?

[ns] tcl instance

2013-04-12 Thread Sailu D
can anyone help me with the code lines to count number of nodes dynamically by using tcl instance in AODV ( n/w layer ) . In which part of aodv code do i have to put these lines so that result can displayed on my terminal ? or is there any else way to obtain the node count dynamically ? thank

[ns] pause time

2013-04-12 Thread Sailu D
how to set pause time for the nodes in tcl script ?

[ns] node address

2013-04-13 Thread Sailu D
can any one tell me how to get address of all the nodes created in the newtork ? thank you .

[ns] calling function through tcl

2013-04-13 Thread Sailu D
i have writen a function in dsdv.cc num() which will return me a integer count . Now how do i cal this function through my tcl script ?

[ns] convergence time

2013-04-14 Thread Sailu D
can any one help me with the awk or perl script to calculate convergence time from trace file .

[ns] adding to node configuration

2013-04-15 Thread Sailu D
$ns_ node-config -mobileIP ON \ -adhocRouting $opt(adhocRouting) \ -llType $opt(ll) \ -macType $opt(mac) \ -ifqType $opt(ifq) \ -ifqLen $opt(ifqlen) \ -antType $opt(ant) \ -propType $opt(prop) \ -phyType $opt(netif) \ -channelType $opt(chan) \ -topoInstance $topo \ -wiredRouting ON \ -agentTrace O

[ns] about setdest

2013-05-02 Thread Sailu D
hello , can any one please help me about how to cal the setdest inside tcl script that is , i want to write "setdest -v 1 -n 10 -p 20 -M 20 -t 60 -x 40 -y 40 > filename " inside tcl... what is the exact way i can put this up in ? thanks in advance .

[ns] cplot.tcl and gnuplot

2013-05-02 Thread Sailu D
hello , i want to plot graphs from the results i got using throughput.awk i found throughput and these are stored in n1 file using this n1 how can i plot graph in gnuplot ? there are files cplot.tcl and gnuplot.pl in ns-2.35 bin folder . But i dont know how to execute them . Can any one ple

[ns] setdest doubt

2013-05-03 Thread Sailu D
hellow, if i give " which setdest " in terminal it gives me /usr/bin in indep-utils/cmu-scen-gen/setdest/ in """setdest.cc""" or """setdest2.cc""" if i try to print sumting like fprintf (stdout, " pause : %.2f", PAUSE); even after configuring and making , this particular change i made is