Error add-channel:

 (_o3 cmd line 1)

    invoked from within

"_o3 cmd add-channel 0 _o13"

    invoked from within

"catch "$self cmd $args" ret"

    invoked from within

"if [catch "$self cmd $args" ret] {

set cls [$self info class]

global errorInfo

set savedInfo $errorInfo

error "error when calling class $cls: $args" $..."

    (procedure "_o3" line 2)

    (SplitObject unknown line 2)

    invoked from within

"$ns_ add-channel $i $chan_($i)"

    ("for" body line 2)

    invoked from within

"for {set i 0} {$i < $val(channum) } {incr i} {

$ns_ add-channel $i $chan_($i)

}"

    (file "test.tcl" line 43)


Hence, no trace nor nam files were created.

I tried configuring the node with -channel $val(chan)     -channel $chan_($i)   
      -channel $chan_(4)    separately but same error exisits.
I also tried 2 interfaces instead of one and same error exisit.

Kindly need help on this urgently and recommend me with a gui debugger (I 
installed ddd but it saied doesn't execute tcl scripts (error)).

Attached is 2 tcl scripts (single and multiple interfaces) and random tcl for 
connections


 Sincerely,Khaled Elmishad  

Senior Student, Communication Engineering ASU-CHEP
                                                                                
  

Reply via email to