[ns] 54Mbps data rate and 802.11a simulation

2011-05-19 Thread Hector Agustin Cozzetti
Dear all, To this day, I have simulated only 11p scenarios using "WirelessPhy-Ext" and "Mac-802_11Ext" codes. These sources can not reach high data-rate as 54Mbps (here the data-rate is set by "Agent/PBC set modulationScheme 2" in the tcl file - at the application layer). Now I need to make som

[ns] System-Time and Last Function in a Simulation

2011-05-03 Thread Hector Agustin Cozzetti
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

[ns] Address Node

2010-03-01 Thread Hector Agustin Cozzetti
Hello Everybody! I have a little question about address node. For example: set MH [$ns_ node 1.0.1] set node_(0) $MH set HAaddress [AddrParams addr2id [$HA node-addr]] [$MH set regagent_] set home_agent_ $HAaddress In this TCL lines, I assign an address to my mobile-node. I would like to know w

[ns] Mobile and Wired Nodes..is it possible?

2010-02-22 Thread Hector Agustin Cozzetti
Hello everybody! I have just a little doubt: I need to simulate a mixed scenario with mobile and wired nodes. Is it possibile?!? Could you give me any examples (TCL code)? Thanks :)

[ns] [NS] Simulation Error -> Unable to realloc

2009-10-02 Thread Hector Agustin Cozzetti
Hello,I have a strange error in my new simulation. When the simulation starts (during the initial loading) I receive the following error message: "Unable to realloc 268435461 byte". I use a big scenario: grid topology with 5000 veichle. I have seen that NS2 uses a lot of RAM memory (not all) and a

[ns] Log movement

2008-08-24 Thread Hector Agustin Cozzetti
Hello everybody! There is an error in the log movement. I have used the procedure indicated in this link to display the log movement: http://www.isi.edu/nsnam/ns/doc/node174.html When I call this procedure in my tcl file I obtain this error: *wrong # args: should be "_o183 self class proc delay

[ns] Log Node movements (mail corrected)

2008-08-21 Thread Hector Agustin Cozzetti
Hello everybody! I have a doubt about the log movements. I need the *coordinates* (x,y) of nodes appear on the trace output (file .tr or file .nam). I have read in some tutorials that I have to add the following procedure in the tlc file: *proc log-movement {} { global logtimer ns_ ns

[ns] Log Node movements

2008-08-21 Thread Hector Agustin Cozzetti
Hello everybody! I have a doubt about the log movements. I need the *coordinates* (x,y) of nodes appear on the trace output (file .tr or file .nam). I have read in some tutorials that I have to add the following in the tlc file: *proc log-movement {} { global logtimer ns

[ns] Help Movement Trace Output

2008-08-14 Thread Hector Agustin Cozzetti
Hello everybody! I have a doubt about the trace file. I need the *coordinates* (x,y) of nodes appear on the trace output. I added these lines of tcl script code: ... *Simulator set MovementTrace_ ON* ... -agentTrace ON \ -routerTrace OFF \ -*movementTrace ON* \ -macTrace OFF \

[ns] Simple question about wireless channel

2008-07-24 Thread Hector Agustin Cozzetti
Hello, I'm a new user of NS2 simulator. I have a simple question: i would like to know if possible to set the various frequency of wireless (physical layer) in NS2, to be more precise if it's possibile to use the different channels (5.2GHZ, 5.9GHZ) and tecnology (802.11a,802.11g...) in the simulat

[ns] New layer 2 protocol developped

2008-07-02 Thread Hector Agustin Cozzetti
Hello everybody, I'm developing a new mac protocol to be included within NS2. I built the new header structure, but I do not know insert within the structure of NS2 simulator (the struct header defines in my_mac.h). We could illustrate the steps and the codes to be carried out and to be included i