Hi,
I have just done something very similar using DT's interrupt routines. When I get back to work I will post the code.

Regards
Bob...