Try $chan_ instead of $chan ___________________________________ Helber Wagner da Silva MSc. Student in Applied Informatics University of Fortaleza - Ceará - Brazil URL: http://www.nr2.ufpr.br/~helber
________________________________ De: umang singh <[email protected]> Para: ns-users <[email protected]> Enviadas: Sexta-feira, 5 de Junho de 2009 11:43:53 Assunto: [ns] Error in Code Hi all, I am trying to execute AODV routing protocol .Please tell me.How to deal with these following Errors : ns Umangba.tcl num_nodes is set 6 Creating Nodes.... Can not open results/profile.prof can't read "chan": no such variable while executing "$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_" (procedure "_o3" line 74) (Simulator create-wireless-node line 74) 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(nnaodv)} {incr i} { set node_($i) [$ns node] $node_($i) random-motion 0 ; }" (file "Umangba.tcl" line 73) regards, Umang _________________________________________________________________ Missed any of the IPL matches ? Catch a recap of all the action on MSN Videos http://msnvideos.in/iplt20/msnvideoplayer.aspx Veja quais são os assuntos do momento no Yahoo! +Buscados http://br.maisbuscados.yahoo.com
