[ns] Error in Simulation wired-cum-wireless

dri.pnasc dri.pnasc at gmail.com
Fri Jun 26 10:54:28 PDT 2009


Hi !

I am simulating an wired-cum-wireless scenario (3 nodes thats server video,
voice and datas are linked in a router that is linked in another node.  This
last one is linked in a BS thats send the information to 3 receivers
mobilenodes without moving (SS).

In the 3 server nodes I attached:

  server node 1 (video) : udp / cbr
  server node 2 (voice): udp / cbr
  server node 3 (datas): tcp / ftp

 In the mobile nodes I attached:

 mobile node 1 ( receive video) :  null
 mobile node 2 (receive voice): null
 mobile node 3 (receive datas): sink


When I start the simulation appear the following error.  Someone can help
me??? whats these errors means?

send-hlastdata: # args do not match
    (_o236 cmd line 1)
    invoked from within
"_o236 cmd send-num-of-nodes 1 4"
    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 "_o236" line 2)
    (SplitObject unknown line 2)
    invoked from within
"_o236 send-num-of-nodes 1 4"
    ("eval" body line 1)
    invoked from within
"eval $rl send-num-of-nodes $nodes_num_"
    (procedure "_o3" line 32)
    (Simulator hier-topo line 32)
    invoked from within
"$self hier-topo $r"
    (procedure "_o3" line 11)
    (Simulator compute-hier-routes line 11)
    invoked from within
"$self compute-hier-routes "
    invoked from within
"if [Simulator hier-addr?] {
$self compute-hier-routes
} else {
$self compute-flat-routes
}"
    (procedure "_o3" line 2)
    (Simulator compute-routes line 2)
    invoked from within
"[Simulator instance] compute-routes"
    (procedure "Agent/rtProto/Static" line 2)
    (Agent/rtProto/Static init-all line 2)
    invoked from within
"Agent/rtProto/Static init-all"
    invoked from within
"if [info exists rtprotos_] {
foreach proto [array names rtprotos_] {
eval Agent/rtProto/$proto init-all $rtprotos_($proto)
}
} else {
Agent/rtProto/St..."
    (procedure "_o236" line 3)
    (RouteLogic configure line 3)
    invoked from within
"[$self get-routelogic] configure"
    (procedure "_o3" line 5)
    (Simulator run line 5)
    invoked from within
"$ns run"
    (file "adaptação_wimax1_v2.tcl" line 285)


Thankss very much!!!!


More information about the Ns-users mailing list