[ns] Help me!Problem when running LEACH with ns-2.27

2007-03-27 Thread Nguyen Vo Minh Chau

Please help me !
When I run the LEACH with ns-2.27,it show an error like that :
ns: _o2042 send_now 0x  0x 0 84 2 139.0 0: invalid command name
//puts
while executing
//puts Warning dst_ is no longer being supported in NS. $args
(procedure _o2039 line 3)
(Agent set line 3)
invoked from within
[$self agent] set dst_ $mac_dst
(procedure _o2042 line 3)
(Application/LEACH send_now line 3)
invoked from within
_o2042 send_now 0x  0x 0 84 2 139.0 0

I do'nt know how to correct them.Anyone help me please ?
Thanks a lot !



 
-
Don't get soaked.  Take a quick peek at the forecast 
 with theYahoo! Search weather shortcut.


[ns] Problem when running LEACH with NS-2.27

2007-03-24 Thread Nguyen Vo Minh Chau

Hi all,
Please help me,urgent !
When i've installed LEACH (mit.tar.gz) with ns-2.27,and i type ./test to test 
LEACH protocol but it show error:

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 mit/rca/resources/ns-energy-resource.tcl line 11)
invoked from within
source.orig 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)


Can you help me correct that...it's urgent...
Please help me...
Thanks alot.




 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.


[ns] Question about wireless testing ?

2007-03-17 Thread Nguyen Vo Minh Chau

Hi,
I've a question about NS-2.30:
When I run some example about wireless (or wireless sensor) like : diffusion 
(in ns-2.30\tcl\ex or ns-2.30\tcl\ex\diffusion...)...I received the same result 
like this :
  num_nodes is set 3
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListHead
Loading connection pattern...
Loading scenario file...
Starting Simulation...
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
  highestAntennaZ_ = 1.5,  distCST_ = 550.0
SORTING LISTS ...DONE!
NS EXITING...
  I don't know this is right or wrong ?If wrong,can you help me to correct it 
...?
Thanks so much...!



 
-
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.


[ns] Can anyone help me with LEACH and SPIN code ?

2007-03-15 Thread Nguyen Vo Minh Chau

Hi,
I am a student,and i am researching about wireless sensor netword.
I tried my best to install LEACH (SPIN and DIFFUSION) on NS-2.30 but all 
failed...
I also did follow this article 
:http://www.internetworkflow.com/resources/ns2leach.pdf. but it's not work...

Now i need your help,can you give me that code.?It will be helpfull for my 
researchi work
 
Thanks you very much !
My email : [EMAIL PROTECTED]




 
-
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.