Hi Dojo
Imagine a read-write parameter combination which uses the setter=true option, and a trigger which goes off when the value of the write parameter changes.
The DataMiner documentation mentions that: "For a write parameter with the setter attribute set to true, the write value will first be copied to the corresponding read parameter before any QAction triggered by this write parameter is executed."
Can we safely say that the copy action will always be executed first, no mather if the write parameter is used to trigger a QAction or a trigger?
https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.Params.Param-setter.html
Thank you in advance!
Kind regards
Hi,
When a write parameter has the setter="true" attribute then:
-First the regular trigger(s) on the write parameter will be executed -> actions executed by these trigger(s) will not see the read parameter value yet adapted to the new write parameter value. Read parameter will still have the old value at this point.
-Then the copy action will be executed to the read parameter
-Then the QAction(s) on the write parameter will be executed -> Read parameter will have the same value as the write parameter at this point
Regards,

Thank you for this clear answer Laurens! Much appreciated!