with PageUp/Down StepUp/Down you can navigate in all circular buffer and store the latest entry when you export the data.
Based on a timer/new alarm you trigger your search on the buffer, if that “latest entry“ is no more in the buffer you have found the condition to export again your data.
If you think: “Good, ready to implement that…” well be sure to test your implementation on real hw and monitor CPU usage with SDM.
Thanks so much @PatrickS for sharing your smart idea + code + traces.
You already spent time on writing your answer, but I would like to ask you a favor, when you have time,: “Could you create a post for this topic on ‘Share info & Ideas’?“
Hi @Jurg_Heiniger , Could you mark the Patrick’s answer as a solution? Query feature was not ready at the beginning when R&D has released mapp Services,
they developed that as Patrick showed us for improving the performance on our system.
@alexander.hefner also deserves a special mention here.
He came up with the idea, or rather gave us the idea, when he was still our contact at B&R months ago.