03-09-2005 03:51 PM
03-09-2005 04:16 PM
03-09-2005 05:34 PM
03-10-2005 09:22 AM
03-24-2005 11:20 AM
03-24-2005 04:38 PM
09-08-2006 03:04 PM
09-09-2006 04:40 PM
What a resurrection of a 1.5 year old thread! 😮
Well, adding a timeout case that is basically empty won't do anything at all, right? 😉
You need to add a timeout event to the SAME event case that already handles the other communications. If this case is called by timeout, none of the buttons will be true and the search function will return a "-1". Just add a "-1" case to the small case structures and add whatever function you want (e.g. "da"). See green comments on the diagram.
RIght now the timeout resets whenever a button is pressed. You could do some timekeeping and dynamically adjust the timeout via a shift register so the timeout occurs at regular intervals (e.g. if a button is pressed after 2 seconds, set the timeout to 3000, etc.).
09-11-2006 08:58 AM
got it... thanks a lot altenbach.
km