Hi all,

I'm a new ns user. I'm working on my master thesis and trying to simulate
wlan with infrastructure mode and I'm facing two problems.

1. When I set node movement using *setdest* I got error as follows:

ns: _o99 setdest 500.0 350.0 3.0:
    (_o99 cmd line 1)
    invoked from within
"_o99 cmd setdest 500.0 350.0 3.0"
    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 "_o99" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o99 setdest 500.0 350.0 3.0"


2. When I set up udp traffic I got error:

INITIALIZE THE LIST xListHead

    (_o59 cmd line 1)
    invoked from within
"_o59 cmd attach _o154"
    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 "_o59" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$node attach $agent"
    (procedure "_o3" line 2)
    (Simulator attach-agent line 2)
    invoked from within
"$ns attach-agent $node_(2) $udp"
    (file "Roaming.tcl" line 116)



My tcl code is in attached file. I would very appreciated for any help.

Thanks,

Thavouth K.
Dept. of Telecom. Science
Assumption University

Reply via email to