FindDCIByTag

Deprecated in 6.2.

Please use findDCIByTag() method of DataCollectionTarget class (returns the DCI object instead of its ID) instead.

FindDCIByTag(node, dciUserTag): int

Find ID of the DCI on node by user tag (exact match). FindDCIByTagPattern or FindAllDCIs can be used for pattern search.

Table 1. Parameters

node

Node object instance (e.g. $node)

dciUserTag

Value of DCI user tag

Return

Integer ID of the DCI or 0 if not found.