[ns] How to set pause time in tcl script?
Hi everyone Can anyone tell me how to set pause time in tcl script? Thanks in advance
[ns] Help needed!!
Hi all, 1.I have to use 802.16 in ns2.34. I followed the link from one of the site, but is'nt working. Please help me how to make 802.16 work. 2.I also have plotted a graph between to nodes which shows the lost (packet dropped). Now how can i see packets dropped + packets sent = total packets. 3.I have simulated the VANET, but have take RSU as one of the node, I feel the RSU functionality should be different from the rest of the nodes. I need some suggestions on this. Regards Manonmani
[ns] Modified NS-2 works under GDB but not if outside gdb
Hi, I have a modified ns-2.34 however it appears that the modified code only works when inside gdb and not outside gdb. The modified code contains new tcl commands (in Mac802_11::command) with added command client. When outside gdb, I get this error: client lookup failed (_o62 cmd line 1) invoked from within _o62 cmd client 1 invoked from within catch $self cmd $args ret invoked from within if [catch $self cmd $args ret] { set cls [$self info class] global errorInfo set savedInfo $errorInfo error error when calling class $cls: $args $... (procedure _o62 line 2) (SplitObject unknown line 2) invoked from within $mac([expr $k+1]) client 1 (for body line 6) invoked from within for {set k 0} {$k $opt(nn)} {incr k} { set node_($k) [ $ns_ node [lindex $temp \ [expr $k+1]] ] $node_($k) base-station [AddrParams add... (file wifi-exp-psm.tcl line 144) What could be wrong? -- Carlo Santos
Re: [ns] Trace file output help for beginner
Hi, Please have a look here. It may help: http://www.ns2ultimate.com/post/2496927327/post-processing-ns2-result-using-ns2-trace-trace Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear http://www.t-issariyakul.blogspot.com http://www.ece.ubc.ca/~teerawat On Apr 12, 2012, at 4:00 PM, mbasitrizvi wrote: Im getting this for example: + 2.82793 0 1 cbr 210 --- 0 0.0 1.0 751 751 According to the documentation : + means enqueue 2.82793 is the time 0 is then src 1 is then dest cbr is then packet type 210 is then packet size after that the dashes confuse me... and what comes after it? Im trying to make sense from here: http://nsnam.isi.edu/nsnam/index.php/NS-2_Trace_Formats im running a simple script: http://pastebin.com/tCC7q95f -- View this message in context: http://old.nabble.com/Trace-file-output-help-for-beginner-tp33649856p33649856.html Sent from the ns-users mailing list archive at Nabble.com.
Re: [ns] Changes made not taking effect after compile
Hi If you would like to add a new module into NS2, please read http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2 I hope this will help. Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.ece.ubc.ca/~teerawat http://www.t-issariyakul.blogspot.com http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear On Apr 16, 2012, at 6:17 PM, Carlo Santos wrote: Good day. I am having trouble with my NS-2 installation. Every time I make changes, the changes I made do not seem to be reflected after compiling (./configure; make;). I tried adding printf in the 802_11 mac but specifically in the Mac802_11::command but when I execute a simulation script, the added printf does not appear. -- Carlo Santos
Re: [ns] Changes made not taking effect after compile
I'm not trying to add a new module. I am modifying a currently existing module. On Tue, Apr 17, 2012 at 8:27 PM, Teerawat@UBC teera...@ece.ubc.ca wrote: Hi If you would like to add a new module into NS2, please read http://www.ns2ultimate.com/post/454001969/including-new-modules-into-ns-2 I hope this will help. Best Wishes, Teerawat Issariyakul http://www.ns2ultimate.com/ http://www.ece.ubc.ca/~teerawat http://www.t-issariyakul.blogspot.com http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417 http://twitter.com/T_Bear On Apr 16, 2012, at 6:17 PM, Carlo Santos wrote: Good day. I am having trouble with my NS-2 installation. Every time I make changes, the changes I made do not seem to be reflected after compiling (./configure; make;). I tried adding printf in the 802_11 mac but specifically in the Mac802_11::command but when I execute a simulation script, the added printf does not appear. -- Carlo Santos -- Carlo Santos