ihuPublishSetTagProperties

Use the ihuPublishSetTagProperties function to define properties such as the deadband for a published tag. Before you call this function, set properties by using ihuPublishTagSetStringProperty or ihuPublishTagSetNumericProperty.

A separate collection of tag properties is available for each process thread, similar to the published tag properties cache. To avoid confusion, be sure to invoke this function on the same thread as ihuPublishTagSetNumericProperty, ihuPublishTagSetStringProperty, and ihuPublishTagClearProperties.

Prototype

ihuPublishSetTagProperties (
  long hServer,
  MSO Char *InterfaceName,
  MSO Char *DestinationTagname,
);

Remarks

After you add a tag by using the ihuPublishAddTag function, use the ihuPublishSetTagProperties function to set tag properties.

Returns

The ihuPublishSetTagProperties function returns ihuSTATUS_OK on success, or returns an error if any out-of-memory issues occur during dynamic memory allocation.