a) I'm not sure without seeing the whole of your code, but you've got to make sure you've put it in the right place (e.g. after "select e"). I'm also not sure when it drops out (what's EVENT_Timer?). It would help to see the whole loop and pertinent information in [ code ] [ / code ] brackets.
b) When you select on WaitEvent, you *do* select on the EventID, because WaitEvent returns an event ID.
b) When you select on WaitEvent, you *do* select on the EventID, because WaitEvent returns an event ID.