A CTRL manager executes a query connect command to register a callback function when changes happen to some datapoints values.
Datapoints involved by the query are, for example:
FROM 'VALVE.*'
or
_DPT = "MYDPT"
If new datapoints matching these conditions are added to database after the script executed dpQueryConnect, the callback is called also for new datapoints or the script must be restarted?
Thanks.
dpQueryConnect and new datapoints
Search
Re: dpQueryConnect and new datapoints
There is no need to start the script or execute again the dpQueryConnect* function if new datapoints are created.
If the datapoint fits the query string the callback function will be triggered if one of the attributes is changed which the query is connected to.
Best Regards
Leopold Knipp
Senior Support Specialist
If the datapoint fits the query string the callback function will be triggered if one of the attributes is changed which the query is connected to.
Best Regards
Leopold Knipp
Senior Support Specialist
Re: dpQueryConnect and new datapoints
Thank you very much Leo.
Regards.
Regards.