01-06-2015, 03:22 AM
Hmm. That's strange, since I'm aware of checking for out of sync and if you notice, func _Sleep() is already used for out of sync and inactivity check. So when while loop pass through _Sleep(), it will check for out of sync and if found, it will stop there and calling main program again. Can you describe what happen when there is Out of Sync error? Maybe I should put some setlog in between to check for function flow.