hi everybody
i'm trying to turn off a node in a wireless sensor network
i'm using $ns_ at 110.0 "$node_($k) off"
where 110.0 is the time that i want to turn off node
and $k is the id for the node,
i also try with $ns_ at 110.0 "$node_($k) node-down"

when i try with $ns_ at 110.0 "$node_($k) off" i get this message
ns: _o43 reset-state:
    (_o43 cmd line 1)
    invoked from within
"_o43 cmd reset-state"
    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 "_o43" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o43 reset-state"
Time 109.975492

anybody could help
thanks to all

Maurílio Júnior
44 - 9919-6846

Reply via email to