pipt_instrumenttag

This function retrieves the instrument tag for the passed point.

Note: Starting with PI-API 1.4.0 this function has been deprecated in favor of  pipt_instrumenttagx,  which supports tag names greater than 32 characters long.

C format

int32 pipt_instrumenttag(

int32 pt,

char PIPTR * instrumenttag,

int32 len );

Returns

>0

System error

0

Success

-1

Point does not exist

-2

Instrument tag not defined

-411

Instrument tag is defined but truncated passed buffer not large enough)

Arguments

pt (passed)

Point number

instrumenttag (returned)

Instrument tag buffer.

len (passed)

Size of instrument tag buffer

Usage Notes

Enabling Operational Intelligence