pipt_tagnamex

This function retrieves the tagname for the passed point.

C format

int32 pipt_tagnamex(

int32 pt,

char PIPTR * tagname,

int32 * len );

Returns

>0

System error

0

Success

-1

Point does not exist

-411

Name was truncated to fit tag buffer

Arguments

pt (passed)

Point number

tagname (returned)

Tagname buffer. Starting with PI 3.4.370 this value can be any length, but typically not more than 1024 characters long. Prior versions of PI will return only up to 80 characters.

len (passed , modified)

Size of the  tag name buffer on input, the actual length of the tag name on return.

Usage Notes

 

Enabling Operational Intelligence