<< Click to Display Table of Contents >>
AddUaField |
AddUaField(Name, [Alias], [Aggregate])
This method adds, at run time, a field to a query configured as an OPC UA-type. This method returns True if successful and False on failure. The parameters of this method are the following:
•Name: A String with the path, or Column, of the field
•Alias: A String with the title of the field. If this parameter is omitted, assumes an empty String
•Aggregate: A String with the type of aggregation function of the field, in case a Processed Data-type query is used. If this parameter is omitted, assumes the value Interpolative
In a Raw Data-type query, that is, the UaQueryType property equal to 0 (zero), this method fails if there is already a defined field. This method is only effective if the QueryType property is configured as OPC UA, that is, with the value equal to 2 - qtOpcUa. Otherwise, it returns False.