Re: [ns] Mobile Node Turns off at wrong time instance

2009-10-12 Thread Nicholas Loulloudes


Hi Mubashir,

Thanks for the quick response.

I have 4 files: 1) the simulation parameters TCL file , 2) the mobility 
file, 3) the node's on/off file 4) the data file (says when nodes send 
some data)


I make sure that each mobile node sends some data in the network when it 
is ON. In some cases i see some data are lost simply because

when the node tries to send something it's energy model is OFF.

I always perform the following check before sending something:

if (  true == thisNode->energy_model()->node_on() ){
send_data
}

thanks.


Mubashir Rehmani wrote:

Hi,

But the question is that how you made synchronize your nodes to switch 
to on/off states with the data you are providing with the file?


Regards
Mubashir Husain Rehmani

2009/10/12 Nicholas Loulloudes >




Hello,

I face a problem with NS2 Mobile Nodes.

I have a file in which i specify when individual nodes turn on /
off and
this file is passed as input in the NS2 simulation.

Some mobile nodes turn off at different time instances than the ones
specified in this file and this results
to files getting dropped.

Has anyone experienced this before?

What do you suggest?

Thanks in advance.

-- 
_


Nicholas Loulloudes
High Performance Computing Systems Laboratory (HPCL)
University of Cyprus,
Nicosia, Cyprus

Tel:  +357-22892663
Email: loulloudes.n[at]cs.ucy.ac.cy 
_





--
Mubashir Husain Rehmani





--
_

Nicholas Loulloudes
PhD Candidate,
High Performance Computing Systems Laboratory (HPCL)
University of Cyprus,
Nicosia, Cyprus

Tel:  +357-22892663
Email: loulloudes.n[at]cs.ucy.ac.cy
Web: www.cs.ucy.ac.cy/~nickl
_



[ns] Mobile Node Turns off at wrong time instance

2009-10-12 Thread Nicholas Loulloudes


Hello,

I face a problem with NS2 Mobile Nodes.

I have a file in which i specify when individual nodes turn on / off and
this file is passed as input in the NS2 simulation.

Some mobile nodes turn off at different time instances than the ones
specified in this file and this results
to files getting dropped.

Has anyone experienced this before?

What do you suggest?

Thanks in advance.

--
_

Nicholas Loulloudes
High Performance Computing Systems Laboratory (HPCL)
University of Cyprus,
Nicosia, Cyprus

Tel:  +357-22892663
Email: loulloudes.n[at]cs.ucy.ac.cy
_