Re: [ns] [Wireless - AODV] HOWTO stop simulation right after a node dies?

2011-05-10 Thread Clederson
Thank you very much for your answer. My problem is now solved! []'s On Sat, May 7, 2011 at 11:43 AM, fivos wrote: > My previous answer is wrong i think but you get the point. You need to > return (TCL_ERROR) at the c++ function that was called by TCL. > You can then catch the error at your tcl

Re: [ns] node's range

2011-05-10 Thread Clederson
This might help you: http://mailman.isi.edu/pipermail/ns-users/2004-July/043516.html On Tue, May 10, 2011 at 9:59 AM, s s wrote: > > in the name of God > > Hi friends I want to change the node's range in wireless network .how I can > change it? > > Best Regards > Sarah > -- Clederson

Re: [ns] How to change energy config of perticular mobile node in

2011-05-10 Thread Clederson
Since the node-config is set in the Simulator instance, the first thing that comes to my mind is to set up node-config in Simulator instance for every single node you want and then start your simulation. I'm pretty sure this is not the best way. On Tue, May 10, 2011 at 8:42 PM, Bipul Chandra wr

[ns] How to change energy config of perticular mobile node in

2011-05-10 Thread Bipul Chandra
Hi, I am doing my simulation on ad-hoc network and i am using NS-2. I am creating a bunch of mobile nodes. However, i don;t want all of these nodes to have same initial energy. I want to have them different initial energy Do any one knows how to override the initial config of a node ? Any sugge

[ns] Segmentation fault error..

2011-05-10 Thread yugesh gowda
Hi I am doing some project in Ns2.. I have attached ma project files below.. When i run the program it gives segmentation fault.. It is supposed to be run for 100s.. If any changes are to be done please inform me.. Thanx in advance. Urgent...

[ns] How to pass multiple objects from oTcl to c++ ???

2011-05-10 Thread lukman_hanif
Hi, Anybody knows how to pass multiple objects from oTcl to c++ ?? For example I want to retrieve 2 link head object ( link_($src1:$dst1) and link_($src2:$dst2) ) from oTcl calling from C++ Simulator class NsObject* Simulator::getTheLinks(ParentNode *src1, int dst1, ParentNode *src2, int

Re: [ns] RTP over wireless connection between two nodes

2011-05-10 Thread pebbles
Thanx a lot for your answer! I used PUMA, but I think there's sth wrong with the packet order. I also saw too many RTP packets and too few RTCP. -- View this message in context: http://old.nabble.com/RTP-over-wireless-connection-between-two-nodes-tp31407109p31586209.html Sent from the ns-users

Re: [ns] about command "$ns rtmodel-at 1.0 down $n(1) $n(2)"

2011-05-10 Thread ma-haiyuan
Thanks for your reply! but there is no command "Iif" in tcl/lib/ns-link.tcl. it is " Link instproc all-connectors op { foreach c [$self info vars] { $self instvar $c if ![info exists $c] continue if [array size $c] continue foreach var [$self set $c] { if [catch "$var info class"] {

[ns] node's range

2011-05-10 Thread s s
in the name of God Hi friends I want to change the node's range in wireless network .how I can change it? Best Regards Sarah

[ns] packets dropped on TTDD

2011-05-10 Thread s s
In the name of God Hi friends I need to run TTDD in urgent. when I run TTDD code on ns-2.1b8a it shows the packets dropped. and I can not run nam file.it creates nam file but it doesnt show anything. can ny body help me? Best Regards Sarah

[ns] Help in Implementing project

2011-05-10 Thread yugesh gowda
Hi I am doing some project in Ns2.. I have attached ma project files below.. When i run the program it gives segmentation fault.. It is supposed to be run for 100s.. If any changes are to be done please inform me.. Thanx in advance. Urgent...

Re: [ns] Problem in GPSR implementation

2011-05-10 Thread Teerawat@UBC
Hi, A lot of people are having the same problem. I am curious why. My guess is just because the GPSR are not incorporated to NS2 properly. These links might help: http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2 http://www.ns2ultimate.com/post/689847378/c-and-otcl-lin

Re: [ns] a simple question about the format of a trace file : Thank you

2011-05-10 Thread pradeep_ramesh
Hi Zakia Iam pradeep,am doing project on GPSR,could you please send me the tcl script to me. Thanks pradeep pradeepsecx...@yahoo.com 00447501001287 Zakia Khalfallah wrote: > > > > Hi friends, > i'm simulating the GPSR protocol combined with the location service HLS . > the trace file that i

Re: [ns] Problem in GPSR implementation

2011-05-10 Thread pradeep_ramesh
Hi vanshi iam doing performance test on gpsr.could you please send me tcl script for GPSR .it will be so helpfull to me thanks pradeep pradeepsecx...@yahoo.com 00447501001287 vamshikr wrote: > > > Hi all, > I was using "GPSR_KeLiu_SUNY_Binghamton". > tar packet to simulate the GPSR proto

[ns] [NS-ANS] Re: Needed awk script for throughput in wireless scenario

2011-05-10 Thread Teerawat@UBC
Hi, If you are interested in learning how tracing works in NS2, please read http://www.ns2ultimate.com/post/3995318343/post-processing-ns2-result-using-ns2-trace-main-post The above posts are based on the normal trace. If you are interested in wireless trace you might have to modify it a bit.