pipt_engunstring

This function retrieves the engineering unit string for the passed engineering unit code. If the code is out of range, a null string is returned.

C format

int32 pipt_engunstring(

int32 engunitcode,

char PIPTR * engunitstring

int32 len );

Returns

>0

System error

0

Success

-27

Engineering unit code out of range

Arguments

engunitcode (passed)

Engineering unit code

engunitstring (returned)

Engineering unit string buffer

len (passed)

Length of the passed 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