lots of samples around the board...

mm... think there is even user defined function doing almost exactly what you want.

anyway, if you specify little more specific what the config file looks like...
kixtart version you are using if not 4.12 or never...
etc...

might get some pointers more [Wink]
_________________________
!

download KiXnet