I'm not able to see an issue with the piece of code that you have pasted here. Maybe you could open a bug report with halcust attached and repeatable situation that I can look at?
Hi there,
We are looking at a new version for our customers – version 2025-09-08. We have setup a test server and then login to this from a client machine, these are Windows 11 client machines.
...