[ns] May I use 'instvar' to bind an array variable?

2009-01-14 Thread matt Wood
Dear all, In the node configuration procedure 'instvar' is used to bind several global variables, e.g., in ns-lib.tcl we have: Simulator instproc create-wireless-node args { $self instvar routingAgent_ wiredRouting_ propInstance_ llType_ \ macType_ ifqType_ ifqlen_ phyType_ chan chan2 chan3

[ns] [Urgent]How can I calculate number of collision for IEEE802_15_4 in ns-2

2009-01-14 Thread pratiti bhadra
Hi All, Please let me know how can I calculate number of collision for ZigBee in ns2. If any one has any code please send me. -- With best regards, Pratiti

[ns] ns-2.33 Scheduler loosing events

2009-01-14 Thread Nicholas Loulloudes
Hi all, Is it possible the ns-2.33 scheduler is losing events? I generated aprox. 7000 events in a TCL source file and a lot of those events when given to the scheduler are lost. This is a code snippet: void ProtName::create_Pkt(Packet* p){ /* * Create a packet with source and destination

[ns] after recompiling

2009-01-14 Thread eng Rony
Eng Rony   hi i have to recompile ns2 after i make some changes in ns2 files by typing make in ns2 directory and appear to me some warning msgs and errors: gpsr/gpsr_neighbor.cc:393 : warning: int format, nsaddr_t  arg  arg 3.. gpsr/gpsr.h:114: warning: 'GPSRAgent:: query_timer_'  will be

[ns] IEEE 802.11a PHY parameters

2009-01-14 Thread Helber Wagner
Hello, buddies. Who knows which files/parameters need to be changed in order to simulate the IEEE 802.11a PHY? Best regards, --- Helber Wagner da Silva MSc. Student in Applied Informatics University of Fortaleza, Ceará, Brazil URL: http://br.geocities.com/wagnerfbm/ Veja

[ns] A comment, and also a request for comment on multichannel simulations.

2009-01-14 Thread matt Wood
Dear all, I followed the instructions from R.Aguero et al., Adding Multiple Interface Support in NS-2 to set up a multichannel simulation model (document, http://personales.unican.es/aguerocr). I think there is a major flaw of this method (or the NS2 is not suitable for