Thanks for yur reply Keith.

What should the settings be?

Currently:

DTREnable = False
InputLen = 0
RThreshold = 0

Cheers,

Steve