[ns] multi-channel cannot read chan_(1)

2013-01-17 Thread Fazlullah Khan

Dear all
Can anybody help me in the following error in multiple channels.
num_nodes is set 2
can't read chan(1): no such element in array
while executing
return $chan($index)
(procedure _o3 line 3)
(Simulator get-channel line 3)
invoked from within
$ns get-channel [expr $t*$channelnum+$j]
(procedure _o15 line 14)
(Node/MobileNode add-interface line 14)
invoked from within
$node add-interface $chan([expr $i*$channum_]) $propInstance_
$llType_ $macType_  $ifqType_ $ifqlen_ $phyType_ $antType_
$topoInstance_  $inerrProc_ $...
(procedure _o3 line 77)
(Simulator create-wireless-node line 77)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 23)
(Simulator node line 23)
invoked from within
$ns node
(for body line 2)
invoked from within
for {set i 0 }  {$i  $val(nn) } { incr i } {
set node_($i)  [$ns node]


-- 
Regards
Khan
Department of Electrical Electronics and Information Engineering,
Nagaoka University of Technology, Nagaoka-shi, Niigata-ken, Japan
Cell # +8180 3474 4286



Re: [ns] 802.11 script TCL

2013-01-17 Thread Vitor Ramalho

Help me, please!!!

Em 15 de janeiro de 2013 17:07, Vitor Ramalho vitorgrama...@gmail.comescreveu:

 Please send me some sample script simulation of 802.11 network. TCL files.

 Where can I find examples tcl simulation of the 802.11 standard?
 Thank you.


 --
  Vitor Gomes Ramalho
 Mestrando em Ciência da Computação - UFV
Bacharel em Ciência da Computação - UFV
   Universidade Federal de Viçosa




-- 
 Vitor Gomes Ramalho
Mestrando em Ciência da Computação - UFV
   Bacharel em Ciência da Computação - UFV
  Universidade Federal de Viçosa


[ns] Network Emulation

2013-01-17 Thread Bipul Kumar

I want to use a Network Emulation in ns2 can you please tell me some basic
guid lines, through which i can start approching towards real time
emulation :)




THank you