Hi, I am using the programs, "cbrgen.tcl" and "setdest" provided in NS2 to generate wireless scenarios. However, when I run the "tcl" file using "ns xxxxx.tcl", it gave the following error messages. Anyone knows what is wrong with my program?
Thanks in advance. Rdgs, Rachel. ===================================================================================== [EMAIL PROTECTED] NS2_programs]$ ns wireless-20.tcl num_nodes is set 20 warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl can't read "topoInstance_": no such variable while executing "$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_ $antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_" (procedure "_o3" line 70) (Simulator create-wireless-node line 70) 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] $node_($i) random-motion 0 ;# disable random motion }" (file "wireless-20.tcl" line 60) [EMAIL PROTECTED] NS2_programs]$ ____________________________________________________ Yahoo! Singapore Answers Real people. Real questions. Real answers. Share what you know at http://answers.yahoo.com.sg