Renaming Enumerated Sets

About this task

The Rename Enumerated Sets function enables you to rename existing enumerated sets in an Excel worksheet. To become familiar with the procedure, it is recommended that you first export an Enumerated Set, rename the Enumerated Set, and then import it.

Note: The Historian Server is, by convention, the reference point for all import and export functions. To move enumerated sets information from the Server into your worksheet, use the Export Enumerated Sets command. Conversely, to move enumerated sets from your worksheet to the server, use the Import Enumerated Sets command. This is illustrated in the following figure.

You can rename enumerated sets through the Non-Web Historian Administrator, the Excel Add-in, ihAPICom, and the SDK. Renaming an enumerated set modifies only the name of the enumerated set without modifying the properties of the enumerated set.

Whenever you rename an enumerated set, the active enumerated set name (that is, the new name for the enumerated set) is visible in the Enumerated Sets list on the Historian Administrator's Enumerated Sets maintenance screen. You can rename enumerated sets multiple times, but only the latest active enumerated set name will be visible in the Enumerated Sets list.

Procedure

  1. Export enumerated sets that you want to rename from the Historian Server.
  2. In the exported worksheet, remove all the fields except ?setname ?.
  3. Change ?setname to ?enumeratedsetname in the header.
  4. In the exported worksheet, insert a column to the right of the EnumeratedSetName column.
  5. Select each cell in the NewEnumeratedSetName column, and type a new name for the relevant enumerated set.
    Important: Specify an new enumerated set name for all rows in the NewEnumeratedSetName column. If you do not want to rename any of the exported enumerated sets, delete that row from the spreadsheet and rename the remaining enumerated sets.
  6. From the Historian Menu, select Administration > Rename Enumerated Sets.
    The Proficy Historian Rename Enumerated Sets dialog appears.
  7. Click Yes. If successful, a dialog appears confirming completion of the rename function.