pipt_pointsourcelong

This function retrieves the point source for a point. If the string is longer than the passed len, the point source string will be truncated.

C format

int32 pipt_pointsourcelong(

int32 pt,

char PIPTR * pointsource,

int32 len );

Returns

>0

System error

0

Success

-1

Point does not exist or tagname is blank

-411

Name was truncated to fit tag buffer

Arguments

pt (passed)

Point number

pointsource (returned)

Point source 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 a single character.

len (passed)

Length of the passed point source buffer

 

Enabling Operational Intelligence