ihuEnumeratedSetRawValue

Use the ihuEnumeratedSetRawValue function to specify whether to return string or numeric values returned when reading tags by using enumerated sets. By default, string values are retrieved for tags associated with enumerated sets. To retrieve numeric values, set SetRawValue to TRUE. If string values are unavailable, raw values are retrieved.

Prototype

ihuEnumeratedSetRawValue (
in long serverhandle,
in BOOL SetRawValue
)

Remarks

Override the default value of FALSE only to return numeric values. The value persists until the function is called again or your program exits.

Returns

The ihuEnumeratedSetRawValue function returns ihuSTATUS_OK on success, or returns errors on:

  • Invalid input parameters
  • User not a member of ihTag Admin group
Note: Set the Administrator parameter to the ihTag Admin security group to assign the highest precedence to this parameter.