pipt_engunitstring

This function returns the engineering unit (EU) string for the passed point number, pt.

C format

int32 pipt_engunitstring(

int32 pt,

char PIPTR * engunitstring,

int32 len );

Returns

>0

System error

0

Success

-1

Point does not exist

-27

Engineering unit code out of range

 

Arguments

pt (passed)

Point number

engunitstring (returned)

Engineering unit string buffer

len (passed)

Length of engineering unit string buffer

Usage Notes

The engineering unit string buffer length should be at least 13 characters long to avoid truncation.

Enabling Operational Intelligence