[ns] LEACH error

2008-09-30 Thread rupcee kaur

Hello NS- users,

I am getting the following error in leach.out file in the middle of running the 
LEACH protocol.
ns: _o1082 checkAlive: 
(_o12 cmd line 1)
invoked from within
_o12 cmd removeif _o1087
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 _o12 line 2)
(SplitObject unknown line 2)
invoked from within
$chan removeif [[$self node] set netif_(0)]
(procedure _o1082 line 13)
(Application/LEACH checkAlive line 13)
invoked from within
_o1082 checkAlive  

Please suggest me any possible solution why is this occuring?

Thank you in advance.





[ns] error in running MAODV protocol

2008-09-24 Thread rupcee kaur

  






[ns] LEACH error

2008-02-11 Thread rupcee kaur

  I tried LEACH protocol and following is the error that occurred. This error 
is faced by many ns-users but there is no meaningful solution to it mentioned. 
Can someone who successfully ran LEACH on NS2 under ubuntu 7.04 help me in this 
matter.

 
invalid command name Resource/Energy
while executing
Resource/Energy instproc setParams {args} {
$self instvar energyLevel_ alarmLevel_
set energyLevel_ [lindex $args 0]
set alarmLevel_ [lind...
(file 
/home/jaspreet/Desktop/ns-allinone-2.29/ns-2.29/mit/rca/resources/ns-energy-resource.tcl
 line 11)
invoked from within
source.orig 
/home/jaspreet/Desktop/ns-allinone-2.29/ns-2.29/mit/rca/resources/ns-energy-resource.tcl
(uplevel body line 1)
invoked from within
uplevel source.orig [list $fileName]
invoked from within
if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
...
(procedure source line 8)
invoked from within
source $env(RCA_LIBRARY)/resources/ns-energy-resource.tcl
(file mit/uAMPS/sims/uamps.tcl line 18)
invoked from within
source.orig mit/uAMPS/sims/uamps.tcl
(uplevel body line 1)
invoked from within
uplevel source.orig [list $fileName]
invoked from within
if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
...
(procedure source line 8)
invoked from within
source mit/uAMPS/sims/uamps.tcl
(file tcl/mobility/leach.tcl line 18)
invoked from within
source.orig tcl/mobility/leach.tcl
(uplevel body line 1)
invoked from within
uplevel source.orig [list $fileName]
invoked from within
if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig [list $fileName]
...
(procedure source line 8)
invoked from within
source tcl/mobility/$opt(rp).tcl
(file tcl/ex/wireless.tcl line 187)

Thank you in advance.
Regards,
Rupcee.



[ns] HEED on NS 2

2007-06-12 Thread rupcee kaur

  
Hello,
  Has anyone implemented HEED protocol for Ad Hoc Networks on NS 2 as it 
has been implemented in TinyOS earlier. Please let me know if anyone tried it 
on NS 2.
Thanking you,
Rupcee



[ns] Tornado code or LT codinf in NS2

2007-04-27 Thread rupcee kaur

Hi,
   Has anyone implemented LT coding or tornado coding for error correction  
coding in wireless networks on NS2? I will be really greatful if anyone could 
help me in implementing it.
Thanks,
Rups



[ns] dijkstra on NS2- help needed

2007-04-25 Thread rupcee kaur

Hi, 
If anyone has implemented dijkstra algorithm for sensor networks on 
NS2.29please it would be great if he/she can send a copy of code...
thanks, 
Rups