Hi,

I just got a message from the other forum, helping me to get your code working in Oshonsoft: [Testing 'distance.15' in the program will not make any difference to the Dead band angle detection, its just another way of doing what we have already done.]

So it looks to me that I have to simply keep working on my program, till I come up with a solution for adding the DEADBAND.

Thanks to all that helped me.

Camerart.