ihuTagRename

Use the ihuTagRename function to rename tags.

Prototype

ihuTagRename {
  in long serverhandle,
  in MSO Char * OldTagName,
  in MSO Char * NewTagName,
};

Remarks

This function uses the following parameters:

  • serverhandle: The Historian 4.0 server from which to fetch tags
  • OldTagname: Name of the tag to be renamed
  • NewTagname: New tag name
Note: When you use this function to update or modify tag names, the tag properties are not modified. If you modify a renamed tag property, be aware that all the tag properties for the alias are also updated.

Returns

  • ihuSTATUS_OK: Success
  • ihuSTATUS_INVALID_PARAMETER: Invalid input parameters
  • ihuSTATUS_ACCESS_DENIED: You do not have rights to rename tags