QPx_GetTagInstanceInfo(tagContainerRef; tagContainerRef; tagContainerRef):error
tagContainerRef Longint Tag container reference
tagID Longint Tag ID
numTagElements Longint Number of data elements
error Longint Error result

Get the number of data elements of a specific tag

Parameter tagContainerRef is the tag container reference number.

Parameter tagID is the ID of tag for which to return the number of data elements.

Parameter numTagElements receives the number of data elements.

If the specified tag is not present in the tag container, numTagElements is set to zero and the command returns error qpx_tagNotFound.