Re: [ns] NS2 EvalVid urgent
Hello, thanks for the answer. I tried already to write in finish proc : exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e The etmp4 execution file located in the same folder as the tcl script file. sd_a01 and rd_a01 created by this tcl script, and located also in the same folder. st_a01 is the input file, located also in the same folder. and I got error : ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl 9.9333 300 records ns: finish: couldn't execute etmp4: no such file or directory while executing exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e (procedure finish line 6) invoked from within finish On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote: yes you can run them. Check http://www.tcl.tk/man/tcl8.5/tutorial/Tcl26.html On Sun, May 1, 2011 at 11:06 AM, Tami Nesher vessely...@gmail.com wrote: Hi, I am asking about the example in the link: http://140.116.72.80/~smallko/ns2/myevalvid2.htm I want to know if I can run the commands like ./etmp4 etc in the tcl file? I need that the correct video will be the *output* of the *tcl* file. Thanks. -- רבי משה בן מכיר זצל, מגדולי הראשונים כתב: מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור, לא יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
Re: [ns] NS2 EvalVid urgent
Thanks. from the console it returns: ~/ns-allinone-2.34/ns-2.34/v1$ ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e usage: et -[p|f|F] -[0|x] [-c] sd rd st in out [PoB] -[p|f|F] packet, frame or complete frame mode (alternative) -[0|x] fill lost section with 0 or truncate (alternative) [-c] use cumulative jitter in case of asynchronous clocks (optional) sd tcpdump sender rd tcpdump receiver st trace-file sender in transmitted video (original mp4) out base name of output-file [PoB] optional Play-out buffer size [ms] the file a01.mp4 wasn't created.. On Tue, May 3, 2011 at 1:02 AM, pedro chaparro pdr...@gmail.com wrote: is etmp4 in the same folder of the tcl script?? if you run th etmp4 independently, i mean directly from console it runs without errors? bye 2011/5/3 Tami Nesher vessely...@gmail.com Hello, thanks for the answer. I tried already to write in finish proc : exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e The etmp4 execution file located in the same folder as the tcl script file. sd_a01 and rd_a01 created by this tcl script, and located also in the same folder. st_a01 is the input file, located also in the same folder. and I got error : ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl 9.9333 300 records ns: finish: couldn't execute etmp4: no such file or directory while executing exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e (procedure finish line 6) invoked from within finish On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote: yes you can run them. Check http://www.tcl.tk/man/tcl8.5/tutorial/Tcl26.html On Sun, May 1, 2011 at 11:06 AM, Tami Nesher vessely...@gmail.com wrote: Hi, I am asking about the example in the link: http://140.116.72.80/~smallko/ns2/myevalvid2.htm I want to know if I can run the commands like ./etmp4 etc in the tcl file? I need that the correct video will be the *output* of the *tcl* file. Thanks. -- רבי משה בן מכיר זצל, מגדולי הראשונים כתב: מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור, לא יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות! -- Pedro Alonso Chaparro Valero RD Engineer Ciudad Politecnica de la Innovación iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain -- רבי משה בן מכיר זצל, מגדולי הראשונים כתב: מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור, לא יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
[ns] Routing simulation. Problem :number of Packet sent = number of Packet received
Hi friends, I'm simulationg the routing protocol GPSR. I must évaluate the packet delivery success rate. In the file gpsr.tr , i find always number of packets sent = number of packets received . It's abnormal that i have 100% success rate ( i compared to some results in a paper that never find 100%) By remark, i have changed many parameters in traffic and scenario files ( max speed, pause time etc ) to see differences. Any have met the same problem please in GPSR or another protocol? Thank you and good luck
[ns] System-Time and Last Function in a Simulation
Good morning everybody, I have a little question on NS-2. I need to print the system-time (e.g., 02/05/2011 11.05 am) at two specific instants in my simulation. I have find out the system-time at the start (first instruction in the source code) and at the end (last instruction in thr source code) in my simulation. I want to use the time-h library and I discover the first point: I can insert my code in the tclAppinit.cc file. Unfortunatelly I was not able to discover the last function (and its location) used in a general simualtion. Could you suggest me any solution? Do you know what is the last function called by a simulation? Thanks in advance! Agus
[ns] Wireless Sensor Networks Simulation - Help
Hi, Sorry to disturb you but was doing some research for a project that I am currently undertaking called - Multi-objective Optimisation for Wireless sensor networks using genetic algorithms. I was wondering if by any chance if anyone could help me connect my genetic algorithm i already to NS-2 or have any c++ code that I could use to help me with my current project on the similar topic? Or even help me with my own project? Any help would be greatly appreciated. Regards Toby
[ns] energy and delay with AWK
In the name of God Hi friends We need to show the energy and delay in our simulations, can any body help me how we can use it with AWK? I have not done any thing such as installing any file in my ns-2.34. Best Regards Sarah
[ns] DSR code execution
Hello everyone, I have installed ns-allinone-ns2.33 package.In this package there is dsr_proto.cc code for the dsr protocol.I have tried to execute it in gcc compiler, but it gives many errors.I want to run it and know the routes for the the dynamically changing topology.I am working on a project which deals with routing in MANETS.I am in urgent need of the code.Could anyone please help me with these errors.It would be of great help if anyone could provide me with any other source code for the dsr protocol in C or C++. Thanks Regards, Tulsi
Re: [ns] NS2 EvalVid urgent
hi again Tami , the command you tried to write is wrong. exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e needs to be : exec ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e Good luck On Tue, May 3, 2011 at 11:11 AM, Tami Nesher vessely...@gmail.com wrote: Thanks. from the console it returns: ~/ns-allinone-2.34/ns-2.34/v1$ ./etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e usage: et -[p|f|F] -[0|x] [-c] sd rd st in out [PoB] -[p|f|F] packet, frame or complete frame mode (alternative) -[0|x] fill lost section with 0 or truncate (alternative) [-c] use cumulative jitter in case of asynchronous clocks (optional) sd tcpdump sender rd tcpdump receiver st trace-file sender in transmitted video (original mp4) out base name of output-file [PoB] optional Play-out buffer size [ms] the file a01.mp4 wasn't created.. On Tue, May 3, 2011 at 1:02 AM, pedro chaparro pdr...@gmail.com wrote: is etmp4 in the same folder of the tcl script?? if you run th etmp4 independently, i mean directly from console it runs without errors? bye 2011/5/3 Tami Nesher vessely...@gmail.com Hello, thanks for the answer. I tried already to write in finish proc : exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e The etmp4 execution file located in the same folder as the tcl script file. sd_a01 and rd_a01 created by this tcl script, and located also in the same folder. st_a01 is the input file, located also in the same folder. and I got error : ~/ns-allinone-2.34/ns-2.34/v1$ ns script1.tcl 9.9333 300 records ns: finish: couldn't execute etmp4: no such file or directory while executing exec etmp4 sd_a01 rd_a01 st_a01 a01.mp4 a01e (procedure finish line 6) invoked from within finish On Sun, May 1, 2011 at 5:58 AM, fivos fivos@gmail.com wrote: yes you can run them. Check http://www.tcl.tk/man/tcl8.5/tutorial/Tcl26.html On Sun, May 1, 2011 at 11:06 AM, Tami Nesher vessely...@gmail.com wrote: Hi, I am asking about the example in the link: http://140.116.72.80/~smallko/ns2/myevalvid2.htm I want to know if I can run the commands like ./etmp4 etc in the tcl file? I need that the correct video will be the *output* of the *tcl* file. Thanks. -- רבי משה בן מכיר זצל, מגדולי הראשונים כתב: מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור, לא יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות! -- Pedro Alonso Chaparro Valero RD Engineer Ciudad Politecnica de la Innovación iTEAM - Mobile Communications Group Polytechnic University of Valencia C\ Camino de Vera S/N, Edificio 8G 46022 Valencia, Spain -- רבי משה בן מכיר זצל, מגדולי הראשונים כתב: מי שאומר את ברכת אשר יצר בכוונה, ומוציא כל מילה מפיו בקול רם וברור, לא יבוא עליו שום חולי שבעולם, ולא יזדקק כלל לרופאים או לתרופות!
[ns] Wireless Sensor Networks Simulation - Help
Hi, I have a multi-objective genetic algorithm (nsga-II). That when I run outputs some values. What I want is for these values to be used and to make a wireless sensor network simulation in NS-2 or any simulator. Is there any chance someone could help me? It would be greatly appreciated. Regards Toby
[ns] OLSR - Evolutionary Algorithm - NS2.35
Hi , I want to modify the Rout Discovery process in OLSR and implement Evolutionary algorithm to find the best solution between source and destination that have a minimum end to end delay . Can anyone guide me how I can embed Evolutionary Algorithm in OLSR . Waiting for your reply Regards n0mad