Al Salamo Alikom
Dears,

I have questions and really need a quick answer for them

1- for AOMDV in WSN simulation, how can I visualize, print or just know the
number of constructed routes between a source and a destination??

2- while coloring a node using this command, I get this error,
$ns at 1.0 "$node($dest) color blue"

ns: _o46 color blue: can't read "attr_(COLOR)": no such variable
    while executing
"eval list "n -t [format "%.15g" [$ns now]] -s $id_ -S COLOR -c $color -o
$attr_(COLOR) -i $color -I $attr_(LCOLOR)""
    invoked from within
"if [$ns is-started] {

$ns puts-nam-config  [eval list "n -t [format "%.15g" [$ns now]] -s $id_ -S
COLOR -c $color -o $attr_(COLOR) -i $color -I $attr..."
    (procedure "_o46" line 6)
    (Node color line 6)
    invoked from within
"_o46 color blue"


and using this command, I get this error,
$ns at 1.0 "$node($dest) NodeClr blue"

NodeClr lookup failed
ns: _o46 NodeClr blue: 
    (_o51 cmd line 1)
    invoked from within
"_o51 cmd NodeClr blue"
    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 "_o51" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$mac_(0) NodeClr $arg1"
    (procedure "_o46" line 3)
    (Node/MobileNode NodeClr line 3)
    invoked from within
"_o46 NodeClr blue"


Thanks
-- 
View this message in context: 
http://old.nabble.com/Printing-AOMDV-routes-and-nam-node-coloring-tp29293159p29293159.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to