Do you use TOSSIM to do simulation?  If so,  maybe you can add some code
to TOSSIM.
For example,:
if(runOutOfPower) exit(0);

I think it should the simulation can be stopped in that way.


On 3/27/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi, all.
>
> Here is a quick question. How can a node terminates the whole simulation?
> I want the simulation to be terminated as long as any node is running out
> of power. Does anyone has a clue? Many thanks!
>
> Pengjun
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Renjie Huang
Sensorweb Research Laboratory
http://sensorweb.vancouver.wsu.edu/
Washington State University
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to