Bahman,

ususally the "Event UID not valid!" error means that an event
in the event list has a time that is lower than the current time,
or 
that the handler (the timer in your case) was deleted before
the event 
was extracted from the list.

So I suggest you to look for strange 
behaviors of your code,
which may cause the event to be scheduled with 
a negative
time.

hope this helps,

Marco


>----Messaggio 
originale----
>Da: [EMAIL PROTECTED]
>Data: 4-mag-2007 5.30 PM
>A: 
<ns-users@ISI.EDU>
>Ogg: [ns] Scheduler error in 802.11
>
>
>Hi,
>
>I'm 
simulating a simple wireless (802.11b Basic Mode) experiment.  At the 
>end of the
>simulation, I get this error:
>
>   "Scheduler: Event UID 
not valid!"
>
>I understand that the message is being initiated from 
>/ns/common/scheduler.cc file line 93 only because the UID of an event 
is 
>positive. In other words, an event with positive UID cannot be 
scheduled 
>again.
>
>Now, I'm using a timer to introduce a fixed delay 
for each packet -either 
>control or data packet- passing through the 
interface layer.  When I 
>introduce 1 to 39us of delay to my system, 
the simulation works perfectly 
>and as expected (i.e. there is a fixed 
delay for the transmission of each 
>packet reflected into my trace 
file).  However, when I increase this delay 
>to 40us and above, then  
run the simulation I get the above error.  I have 
>adjusted the 
timeouts in the ns/mac/mac-802_11.cc as well so that my packets 
>are 
not all dropped.
>
>Please let me know if you have any ideas or 
thoughts about this.  Where do 
>you think I should look at first?  
What could the problem be?
>
>Thanks,
>
>Bahman
>
>_________________________________________________________________
>Txt 
a lot? Get Messenger FREE on your mobile.  
>https://livemessenger.
mobile.uk.msn.com/
>
>


Reply via email to