Re: NewPeriodicTask
Giuseppe L.
8-6-18
Hello Lee,
I sent your inquiry to one of our Programmer and his answer is:

1. NewPeriodTask2 runs on a background thread and must be non-updating (use queued and updating to store results)
2. The Task functions work in client-server mode but must be executed where the task exists. So if you have a button to e.g. stop a task it must call a remote procedure that calls RemoveTask.

If you still have problems, it would be better to show each problem with a separate piece of sample code.

Best regards,

Giuseppe
HansaWorld Italy
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Paul Timms
I would like to know what BackgroundHALShouldPause does, and how to use it. While it's listed in the HAL Primitives report, it is not used in source code and it doesn't appear in the LMS HAL...
18:15 30 Jan 2026
Bror-Erik Kotiranta
Please create a bugreport on the problems...
10:38 26 Jan 2026