Wafa, You'd have to check the NESDOC for the particular component you are wiring to Random, but I am pretty sure there is a call that allows you to set the seed of the random number generator. There may also be a way to do this within the python program.
-Paul wafa jaballah wrote: > Hi all, > > > I want to generate a random value in each simulation. So I do like this: > rnd=call Random.rand16(); > When I simulate in TOSSIM using tinyos2.x, I have the same value of > rnd in each simulation. > How can I do to have a different random values. > Thanks > > _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help