[ns] Plot of trace file in Gnuplot

2007-07-14 Thread Saleemsheikh
hi , Plz help me in making plot from trace file, plz tell me how i extract the data from any trace file. Regards, Saleem Sheikh -- View this message in context: http://www.nabble.com/Plot-of-trace-file-in-Gnuplot-tf4078905.html#a11593319 Sent from the ns-users mailing list archive at

Re: [ns] C++ pointer to TCL objects

2007-07-14 Thread Sampath N. Ranasinghe
Hi Boris, the way to obtain a c++ pointer to a TclObject is as follows int ApplicationLookup::command (int argc, const char* const* argv) { if {argc==3) { if (strcmp(argv[1],get-myapp)==0){ Tcl tcl = Tcl::instance(); MyApp * app = (MyApp*)tcl.lookup(argv[2]); return

Re: [ns] changing antenna range in NS-2.

2007-07-14 Thread Tiago Junqueira
Hi, I don't know if you're just talking about changing the distance, in order to do it you just have to increase the transmitted power Pt_ and check the variable distCST_: #To have 240m,using freespace set opt(prop) Propagation/FreeSpace ;# radio-propagation model #(...)

[ns] ns was killed after running for a while

2007-07-14 Thread Nguyen Lan
Dear all, After running my simulation for a while, it was killed by ... ?. Here is what I have on the terminal. I don't know what happended. Please help me ! INITIALIZE THE LIST xListHead Starting Simulation... channel.cc:sendUp - Calc highestAntennaZ_ and distCST_ highestAntennaZ_ = 1.5,

[ns] Possible NOAH bug fix

2007-07-14 Thread Arunchandar Vasan
This is a quick fix for (what I think is) a possible bug in NOAH multi-hop extension that I got off the NOAH webpage of Joerg Widmer. I thought this might be of some use to people using this code... === Problem: Multi-hop static routes