ihuTagRenameEx

You can use the ihuTagRenameEx function to permanently rename a tag by passing TRUE as a parameter.

Prototype

ihuTagRenameEx {
  in long serverhandle,
  in MSO Char * OldTagName,
  in MSO Char * NewTagName,
BOOL TrueRename,
};

Remarks

You can permanently rename tags that you do not want to read and write with their previous names. 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
  • TrueRename: Permanently renames a tag when set to TRUE.

Returns

  • ihuSTATUS_OK: Success
  • ihuSTATUS_INVALID_PARAMETER: Invalid input parameters
  • ihuSTATUS_ACCESS_DENIED: You do not have rights to rename tags
Note: You must be a member of the ihTag Admin security group to rename tags.