Hi Ranal,

 

I think your problem is in number of trace input ,because in the document
mentioned that CPM algorithm should given at least 100 entries for each mote
so it can produce the statistical model.

Well,you have to increase the number of your noise input (you just entered 1
entry).I recommend  you to use the "meyer-heavy.txt" file for loading noise
model to your motes.

Hope this is useful.

 

Kind Regards,

Mojtaba

 

From: ranal fernando [mailto:[email protected]] 
Sent: Saturday, March 06, 2010 1:41 AM
To: [email protected]; [email protected]
Subject: RE: [Tinyos-help] AMSend.sendDone not signalled

 

 

Hi Mojtaba,

 

thank you very much for the reply.

 

but i have added noise model

 this is my .py file have a look & let me know if i'm making a mistake

#! /usr/bin/python

import sys

from TOSSIM import *

t=Tossim([])

r=t.radio();

r.setThreshold(-72);

m=t.getNode(2);

m1=t.getNode(3);

m2=t.getNode(4);

t.addChannel("BlinkC",sys.stdout);

m.bootAtTime(45654);

m1.bootAtTime(45654);

m2.bootAtTime(45654);

 

// added links

 

r.add(2,3,-50.0);

r.add(3,2,-50.0);

r.add(4,2,-50.0);

r.add(2,4,-50.0);

r.add(4,3,-50.0);

r.add(3,4,-50.0);

 

m=addNoisetraceReading(-39);

m1=addNoisetraceReading(-98);

m2=addNoisetraceReading(-98);

m.createNoiseModel();

m1.createNoiseModel();

m2.createNoiseModel();

 

 

for i in range(1,20000):

          t.runNextEvent()

 

 

ranal

 

> From: [email protected]
> To: [email protected]
> Date: Fri, 5 Mar 2010 10:14:32 +0330
> Subject: Re: [Tinyos-help] AMSend.sendDone not signalled
> 
> 
> Hi Ranal,
> 
> Have you loaded any noise model to your motes ?
> I had a problem like this ,you should use a noise model and load it in
> everynode you want to be simulated.
> Have a look at this : http://docs.tinyos.net/index.php/TOSSIM and read
> "Configuring a Netwrok".
> 
> 
> Good luck.
> 
> Mojtaba Raznahan.
> www.raznahan.com
> Computer engineering ,BS
> TMU university
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 

  _____  

Hotmail: Trusted email with powerful SPAM protection. Sign up
<http://clk.atdmt.com/GBL/go/201469227/direct/01/>  now.

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to