I know a SetParameter via QAction will always trigger a parameter change event even when setting the same value in a Read-parameter.
But will this also be the case when using the Copy Action?
For example in the use case of setting a Flag parameter without the need of executing a QAction to do this set. The main reason is to keep as much run-time logic in SLProtocol as possible and only use SLScripting when really needed. Such as the actual processing of data when the flag really changes from not busy (0) to busy (1)
Doc: https://docs.dataminer.services/develop/devguide/Connector/Actions/ActionCopy.html
Hi Mieke,
no, as opposed to the behavior of QAction SetParameter() calls, a copy action on a read parameter will only cause a parameter change event to be raised if the value of the read parameter actually changes.
In the meantime, I’ve added this information to DataMiner Docs: https://docs.dataminer.services/develop/devguide/Connector/Actions/ActionCopy.html