Thanks for your reply. I tried that exactly. I used the exact code from the tutorial (except that I change the addchannel line to use BlinkToRadioC instead of the one used in the tutorial.
I put dbg statements into the code and it is clearly getting a SUCCESS response when it tries to send the message, but the sendDone message is never being called. I have tried a very simplified version of this script as well as this exact script. Do you know if there is anything about the Xubuntos environment that might cause this problem? Thanks for any suggestions you or anyone else may have. Lisa -----Original Message----- From: YTW [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2008 12:56 PM To: Lisa DiPippo Cc: [email protected] Subject: Re: [Tinyos-help] sendDone not called in TOSSIM Use the example python code in the tossim tutorial to make sure everything works and then modify it as necessary. David On Sun, Mar 9, 2008 at 12:23 PM, Lisa DiPippo <[EMAIL PROTECTED]> wrote: > > > > > I am trying to run the BlinkToRadio application using TOSSIM. I can get the > motes to boot and they all send their messages with SUCCESS. But sendDone > is never called. > > > > I looked in the archives for help, and found some other posts with the same > problem. They suggested that the python script needs to set up radio noise, > so I added it. Below is the script I am using. It is the same script that > was suggested in the answer in the archives. I am running this in Xubuntos > 2.0 in VMWare Player running on top of Windows XP. > > > > from TOSSIM import * > > import sys > > > > t = Tossim([]) > > r = t.radio() > > > > r.add(1,2,-50) > > r.add(2,1,-50) > > r.add(1,3,-50) > > r.add(3,1,-50) > > r.add(2,3,-50) > > r.add(3,2,-50) > > > > r.setNoise(1, -100.0, 5.0) > > r.setNoise(2, -100.0, 5.0) > > r.setNoise(3, -100.0, 5.0) > > > > t.addChannel("Boot", sys.stdout) > > t.addChannel("BlinkC", sys.stdout) > > > > t.getNode(1).bootAtTime(100001); > > t.getNode(2).bootAtTime(800008); > > t.getNode(3).bootAtTime(1800009); > > > > for i in range(0,10000): > > t.runNextEvent() > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
