Hello,
How can I refresh the UI of an element after I do a set (SNMP Set) to a parameter?
In the present the parameter changes when I do the set via Dataminer, but it takes quite some time to appear the new refreshed value in the Dataminer UI for the user.
Thank you for the help!
BR
Bruno Sousa
Hi,
That should be part of the driver/connector logic implementation to perform a get after setting the value.
What could also be possible is that the get actually does happen after the set, but this is done too fast and the device still returns the old value at that time, so there's a bit of extra delay needed between the set and get. If the get is executed too fast then the value only gets changed in DataMiner the next time when the regular polling happens, which could be present in a very slow timer.
From the UI itself there's no default possibility to refresh one parameter. The developer of the driver/connector will have to be contacted to change the logic so the value is retrieved automatically after performing a set.
Regards,
That depends where the set value is coming from. If it is coming from a QAction then multiply the value in there before setting the parameter, if it’s directly coming from the UI then use Sequence noset=”true”>*:10</Sequence, see https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.Params.Param.Interprete.Sequence.html .
Laurens,
Thank you for the feedback!
One additional doubt, if I need to multiply a parameter value by 10 before I do a set, what are the operator I use? Do you have link for the documentation that you could provide?
Thank you.
BR
Bruno Sousa