kevin, please could you post your actual code.

there is no way the above can work.
if it's full, please take the sub out of the main loop and place it elsewhere.
_________________________
!

download KiXnet