since i changed to SP17, to get this new warning about POU "GetNextClient". I really use this often in my project.
Does anyone know how to use VisuUtils instead?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@m.prestel
yes, i checked the example, but at the moment, i don't understand how to replace "GetNextClient" with this what @Thomas has done in his example.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the example, the custom filter "ClientFilter" is used as itfClientFilter.
The "ClientFilter" accepts currently all clients, since "IsAccepted" always returns true
You can use the "ClientFilter" from the example, but VisuUtils also provides some predefined filters, see "Globals" inside VisuUtils.
Once you defined your filter, check out "VisuClientIteration".
In your case I would reset your counter inside "StartIteration" and increase it in HandleClient.
Best regards,
Marcel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm having some troubles with this same issue and I'm wondering if someone can help me out.
On a settings visual I allow the operator to enter some values however if they activate the page change button it will change the change with the Numpad dialog open. Since I'm using Visuelems.CURRENTVISU to change the pages I came across this code noted below for determining if the Numpad dialog was active.
This code worked great however now in 3.5.19 it's now obsolete. I've tried following the directions in the attached program above however I can't see to get it to work in my program.
Can anyone provide some help to determine if a dialog is open?
Hey there,
since i changed to SP17, to get this new warning about POU "GetNextClient". I really use this often in my project.
Does anyone know how to use VisuUtils instead?
Hey,
hope the example of "VU.IVisualizationClientIteration" will help.
Regards
THX for this. I will check this if i have time.
Edit: i think i need some food for thought.
I have several functions which use "GetNextClient"
for Example:
Last edit: sedoerr 2021-05-03
hey @sedoerr,
have you checked out the example by Thomas?
You can adjust the ClientFilter or use a predefined one from the VisuUtils.
Best regards,
Marcel
@m.prestel
yes, i checked the example, but at the moment, i don't understand how to replace "GetNextClient" with this what @Thomas has done in his example.
@sedoerr
In the example, the custom filter "ClientFilter" is used as itfClientFilter.
The "ClientFilter" accepts currently all clients, since "IsAccepted" always returns true
You can use the "ClientFilter" from the example, but VisuUtils also provides some predefined filters, see "Globals" inside VisuUtils.
Once you defined your filter, check out "VisuClientIteration".
In your case I would reset your counter inside "StartIteration" and increase it in HandleClient.
Best regards,
Marcel
I'm having some troubles with this same issue and I'm wondering if someone can help me out.
On a settings visual I allow the operator to enter some values however if they activate the page change button it will change the change with the Numpad dialog open. Since I'm using Visuelems.CURRENTVISU to change the pages I came across this code noted below for determining if the Numpad dialog was active.
This code worked great however now in 3.5.19 it's now obsolete. I've tried following the directions in the attached program above however I can't see to get it to work in my program.
Can anyone provide some help to determine if a dialog is open?
Last edit: pistola 2025-03-27