[ns] error statement

2011-11-25 Thread manishsingh chaudhary

hi to all

   please help me out-



their was error statement as under




 Starting Simulation...



 ns: record: invalid command name 0
 while executing
 $bw0

 (procedure record line 71)
 invoked from within
 record

 :

   with regard
   manish


[ns] error statement

2011-09-28 Thread manishsingh chaudhary

hi to all

there was error during compilation

   (_o3 cmd line 1)
invoked from within
_o3 cmd runs
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 runs 
(file wireless1.tcl line 146)
please sort out the problem .it will be great help for me.
thanks

with regard
manish


[ns] error statement

2011-08-26 Thread manishsingh chaudhary

hi to all

their was an error statement as under while running in ns2.34

  (_o15 cmd line 1)
invoked from within
_o15 cmd addr
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 _o15 line 2)
(SplitObject unknown line 2)
invoked from within
_o15 addr
(eval body line 1)
invoked from within
eval $node addr $args
(default arm line 2)
invoked from within
switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 $node start-dsr
}
AODV {
set ragent [$self cre...
(procedure _o3 line 14)
(Simulator create-wireless-node line 14)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 23)
(Simulator node line 23)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i  $val(nn)} {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0
$ns_ initial_node_pos $node_($i) 120
}

please help me in this matter

thanks

with regard
manish


[ns] error statement

2011-08-26 Thread manishsingh chaudhary

hi to all

their was an error statement as under while running in ns2.34

  (_o15 cmd line 1)
invoked from within
_o15 cmd addr
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 _o15 line 2)
(SplitObject unknown line 2)
invoked from within
_o15 addr
(eval body line 1)
invoked from within
eval $node addr $args
(default arm line 2)
invoked from within
switch -exact $routingAgent_ {
DSDV {
set ragent [$self create-dsdv-agent $node]
}
DSR {
$self at 0.0 $node start-dsr
}
AODV {
set ragent [$self cre...
(procedure _o3 line 14)
(Simulator create-wireless-node line 14)
invoked from within
_o3 create-wireless-node
(eval body line 1)
invoked from within
eval $self create-wireless-node $args
(procedure _o3 line 23)
(Simulator node line 23)
invoked from within
$ns_ node
(for body line 2)
invoked from within
for {set i 0} {$i  $val(nn)} {incr i} {
set node_($i) [$ns_ node]
$node_($i) random-motion 0
$ns_ initial_node_pos $node_($i) 120
}

please help me in this matter

thanks

with regard
manish


[ns] error statement

2011-08-05 Thread manishsingh chaudhary

hi
to all
 their was an error in following statement:-

num_nodes is set 4
*warning:* Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead

(_o3 cmd line 1)
invoked from within
_o3 cmd runs
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 runs
(file wireless1.tcl line 147)


Re: [ns] error statement

2011-08-05 Thread Yasir Saleem

Dear Manish,

use $ns run
instead of $ns runs

Dear Manish I am suggesting you two tutorials from which you can get alot of
help.
http://perform.wpi.edu/NS/
http://www.isi.edu/nsnam/ns/tutorial/

regards,

Yasir

On Fri, Aug 5, 2011 at 11:20 PM, manishsingh chaudhary 
chaudharymanishsin...@gmail.com wrote:



 hi
 to all
  their was an error in following statement:-

 num_nodes is set 4
 *warning:* Please use -channel as shown in tcl/ex/wireless-mitf.tcl
 INITIALIZE THE LIST xListHead

(_o3 cmd line 1)
invoked from within
 _o3 cmd runs
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 runs
(file wireless1.tcl line 147)