Working with Tags

Important: You do not have the latest version of Historian! You are missing out on the newest capabilities and enhanced security. For information on all the latest features, see the Historian product page. For more information on upgrades, contact your GE Digital sales agent or e-mail GE Digital Sales Support. For the most up-to-date documentation, go here.

Adding Tags to a Collector

You can add tags to a collector using the Historian Non-Web Administrator or the Historian Web Administrator.

Note: When you add a tag, do not enter a leading space or a trailing space in the tag name.

Using the Non-Web Administrator to Add Multiple Tags from a Collector

To add multiple tags from a collector:
  1. Click the Add Tags From Collector link in the Tag Maintenance screen.
    The Add Multiple Tags from Collector dialog appears.


  2. Select a collector from the Collector drop-down list.
    Note: If you add tags from a File Collector, the file you import specifies the collector to which the tags are assigned. Those tags are then returned by a browse of the specified collector. It is also possible to leave the assignment blank. If the file does not specify a Collector Name for a tag, the tag is added with no collector name.
  3. In the Show Only field, select either All Source Tags or Source Tags Not Collected.
    If you select the second option, the browse returns only the tags that are not currently included for collection.

    If a Historian tag name is different from its source address tag name, the source tag is displayed in the returned list even if you browse the collector using the Show Source Tags Not Collected criterion. Collection on the same source address using a unique tag name is allowed.

  4. In the Source Tag name and Description fields, you can optionally enter masks for the browse, using standard Windows wildcard characters.
  5. Click Browse to initiate the search or Reset to start over.
    The browse returns a list of tags, as shown in the following figure. In the Historian Non-Web Administrator, a tag that is currently collected appears in black type. A tag that is not currently collected appears in blue type.


Adding Uncollected Tags from a Collector

  1. Select the required tags. Selecting a tag selects its tag name and description.
    you can select:
    • a single tag by clicking on the name of the tag.
    • multiple tags by pressing the Ctrl key and selecting the tags.
    • a contiguous group by clicking the first tag, pressing the Shift key, and clicking the last tag of the group.
    • all tags by clicking Select All at the bottom of the screen.
    To unselect all tags, click Unselect All.


  2. Click Add Selected Tags. The selected tags are added to the Historian Tag Database.
    The Tag Maintenance screen appears. The lower left portion of the screen displays a list of all tag names added to the Historian Tag Database.

Using the Web Administrator to Add Tags from a Collector

  1. Click the plus sign in the Tag screen.
  2. Select Add Tags from Collector.
    The Add Tags from Collector dialog appears.
  3. Select the collector from the Collector name list.
    For collectors with hierarchical browsing, expand the folder to select the desired tags. The > symbol indicates that you need to navigate further within the folder.
  4. Enter the Source Tag Name or click Browse.
    The list of available tags is displayed.
  5. Select tags.
    You can select a single tag and or select multiple tags. To select a series of tags, press and hold the Shift key and select the series.
  6. Click Add to add the tags. To add all the tags, click Add All.
  7. Click Preview to preview the selected tag details.
  8. Click Add Selected Tags to add the selected tags from the collectors.

Adding Tags for Collectors with Hierarchical Browsing

  1. Click the plus sign in the Tag screen.
  2. Select Add Tags from Collector.
    The Add Tags from Collector dialog appears.
  3. Select the collector from the Collector name list.
  4. Enter the Source Tag Name or click Browse.
    The list of available tags is displayed.
  5. Select tags.
    You can select a single tag and or select multiple tags. To select a series of tags, press and hold the Shift key and select the series.
  6. Click Add to add the tags. To add all the tags, click Add All.
  7. Click Preview to preview the selected tag details.
  8. Click Add Selected Tags to add the selected tags from the collectors.

About Manually Adding New Tags

Typically, you add new tags to the Historian by browsing the data source or by bulk importing a group of tags with the Excel Add-In tool. Occasionally, you may need to add a single tag manually. You can add tags manually:
  • for creating a calculation tag.
  • for holding values that are added using the Excel Add-In or custom SDK application.
  • for testing purposes.

For example, if you are currently not connected to a collector, the browse is slow, or is not supported, and if you want to configure tags associated with that collector, you can add them manually.

When adding a tag manually, you must manually configure the fields for the tag that the Add Tag Manually dialog box does not include. For instance, when you add a tag manually, the Data Type field does not automatically populate after you select a Source Address. You must manually set the data type from the Collection tab after you add the tag. Use caution when selecting the data type. If you select the wrong data type, you most likely will get incorrect data or you could even lose data. It does not use the collector default settings, such as those for archive and collector compression, as it would with the browse and pick.

Using the Non-Web Admin to Add a New Tag Manually

  1. On the Tag Maintenance screen, click Tags on the toolbar.
  2. Click Add Tag Manually on the toolbar.
    The Add Tag Manually dialog box appears.


  3. Complete the fields.
  4. If the tag is a multi-field tag, select a User Def Type Name. Or, if the tag is an array tag, select IsArray
  5. Select a Time Resolution.
  6. Click OK.
    This adds the tag to the Historian Database with the properties you specified and returns you to the Tag Maintenance screen.
    Important: If you manually add a Server-to-Server tag, ensure that you set the Time Adjustment field for the tag to the Adjust for Source Time Difference option, after you add the tag. The Time Adjustment field is located on the Advanced tab in the Tag Maintenance screen. This field only applies to Server-to-Server tags that use a polled collection type.

Using the Web Admin to Add a New Tag Manually

The dynamic collector update feature ensures that any modifications done to the tag configuration do not affect all the tags in a collector. Only the tags that stop data collection will record zero data and bad quality without restarting the collector. In other words, the tags that do not stop data collection do not record bad data samples to the collection.

Whenever you add tags, delete tags, or modify certain tag properties, the following collectors reload only the modified tag(s) without restarting the collectors:
  • OPC Collector
  • iFIX Collector
  • Calculation Collector
  • Simulation Collector
  • Server to Server Collector
  • PI Collector
  • PI Distributor

For a tag to stop and restart the collection without restarting the collector, you must enable the On-line Tag Configuration Changes option on the Advanced tab of the Collector Maintenance screen. By default, the On-line Tag Configuration Changes option is enabled.

If you disable the On-line Tag Configuration Changes option, any changes you make to the tags do not affect collection until after you restart the collector. To restart the collector, you must stop and start the collector service or executable. Restarting the collector stops and restarts the tag(s) collection and records bad data samples to the collection.

All the collector configuration changes done within a 30 second time frame are batched up to let you update/modify a small set of tags at a time to collect the modified data faster.

Note: It is recommended that you disable the On-line Tag Configuration Changes option while updating large sets of tags at the same time, and restart the collector after modification.

Follow these steps to add a new tag manually from the Web Administrator:

  1. Click the link in the Tag Details screen and select Add Tags Manually.
    The Add Tag dialog box appears.
  2. Select a collector from the drop-down list in the Collector Name field.
    This associates the new tag with a specific collector.
  3. Enter the Source Address and Tag Name in the appropriate fields.
  4. Select the data store in the Data Store field.
  5. Select a Data Type from the drop-down list.
  6. For fixed string data types only, enter a value in the field adjacent to the Data Type field.
  7. Select Seconds, Milliseconds, or Microseconds in the Time Resolution field.
  8. Select the Is Array Tag option, if the tag is an Array Tag.
  9. Click Add to add the tag.
    Important: If you manually add a Server-to-Server tag, ensure that on the Tag Maintenance screen Advanced tab, you set the Time Adjustment field to Adjust for Source Time Difference , after you add the tag. Note that, this field only applies to Server-to-Server tags that use a polled collection type.

Using the Web Admin to Manually Add a Source Address

  1. Select a collector from the drop-down list in the Collector Name field.
    This associates the new tag with a specific collector.
  2. Enter the Source Address or click the Browse button.
    The Add Tags from Collectors dialog appears.
  3. Select the tag you want to associate to source address. You can select only one tag.
  4. Click OK.
    The source address of the tag will be added.

About Copying Tags

If you want to create a copy of an existing tag with all the same properties, use the Copy Tag function. Copy Tag works only for individual tags. You cannot copy multiple tags at once.

Using the Non-Web Admin to Copy a Tag

  1. Select a tag to copy from the tag list.
  2. Click the Copy Tag link in the Tag Maintenance screen.
    The Copy Tag dialog box appears.
  3. Type a new tag name.
  4. Click OK to copy the tag and all the associated tag properties.

Using the Web Admin to Copy a Tag

  1. Click the Copy Tag icon in the Tag screen.
    The Copy Tag dialog box appears.
  2. Type a new tag name.
  3. Click OK to copy the tag and all the associated tag properties.

About Searching the Historian Tags Database

Using the Non-Web Admin to Search for Tags

  1. In the Tag Maintenance screen, click the Search Historian Tag Database link.
    The Search Historian Tag Database dialog box appears.

  2. Enter a tag search mask in the Tag Mask field, using * and ? wildcard characters.
    You can search for a description instead of a tag by entering a mask in the Description field.

    If you leave both fields blank, the search returns all tags.

  3. Select the name of the collector in the Collector field.
  4. Enter the maximum number of tags the search should return.
    If you leave this field blank, your search will return all the tags available in the Historian Tag Database.
  5. Click OK.
    The Tag Maintenance screen appears.
    Note: Prior to performing any maintenance, it is recommended to adhere to the accepted practice of performing a backup of your Historian archive. It is also recommended that you use the Excel Add-In to export your tag configuration for all tags. It is recommended that you export tags associated with each collector on a separate worksheet.
  6. If you want to change the default tag properties, select the name of the tag.
  7. Enter the properties of the tag in the appropriate fields.
  8. Click Update to save your entries.
    CAUTION:
    Multi-select and property change will affect all selected tags. Changing the collector type for the Calculation and Server-to-Server tags will result in a loss of the calculation formula.

Using the Web Admin to Search for Tags

  1. Click Advanced Search in the Tags screen.
    The Advanced Search dialog box appears.
  2. In the Step 1 section, select the tag criteria from the list.
  3. Enter or select the Tag Criteria Value.
    If you leave the fields blank, the search returns all the available tags.
  4. Click Add Criteria and choose Collector Name as criteria.
  5. Select the collector from the list.
  6. Click Find Tags.
    All the tags that satisfy the query criteria are displayed in the Step 2 section.
  7. Select the tags and click Apply to return the list of tags to the parent Tags screen.
  8. If you want to change the default tag properties, select the name of the tag from the list and edit the properties in the Tag Editor section.
  9. Click Update to save your entries.
    CAUTION:
    Multi-select and property change will affect all selected tags. Changing the collector type for the Calculation and Server-to-Server tags will result in a loss of the calculation formula.

About Removing Tags from a Collector

For various reasons, you may want to remove a tag from the Historian Database. Deleting a tag only removes it from the browse list; the data remains intact in the Archive and can be queried by tag name. It is recommended that you export your tag configuration prior to and after tag modifications.

Using the Non-Web Admin to Remove Tags

  1. On the Historian Administrator Main screen, click the Tags link on the toolbar.
    The Tag Maintenance screen appears.
  2. Select the name of the tag you want to remove.
    To remove multiple tags:
    • Click a tag to highlight it.
    • Select multiple tags by pressing the Control key and clicking the individual tags.
    • Select contiguous tags by pressing the Shift key and clicking the first and last tags of the sequence.
  3. Click the Delete button.
    The Delete Tag dialog box appears.
  4. Select either Remove Tag from System or Stop Data Collection and click OK.
    If you want to stop collection temporarily and resume collection later for a specified time, you can disable collection for that tag instead. To do this, select the tag on the Tag Maintenance screen, click the Collection tab, and then select the Disable option for the Collection field.

Using the Web Admin to Remove Tags

  1. On the Historian Administrator Main screen, click the Tags link on the toolbar.
    The Tag Maintenance screen appears.
  2. Select the name of the tag you want to remove.
    To remove multiple tags:
    • Click a tag to highlight it.
    • Select multiple tags by pressing the Control key and clicking the individual tags.
    • Select contiguous tags by pressing the Shift key and clicking the first and last tags of the sequence.
  3. Click the Delete button.
    The Delete Tag dialog box appears.
  4. Select either Remove Tag from System or Stop Data Collection and click OK.

Understanding Tag names

Historian tag names vary according to the type of collector. By default, the tag name is the source address prepended with a string.

It is recommended that tag names use only characters available for folders and file names to avoid the problems (limitations) with some clients and filtering. You can use tag names that contain the characters & and + in the Non-Web Historian Administrator.

iFIXCollector Tagnames

The format of Historian tag names for an iFIX collector generally is
Node.Tag.Field
where
  • Node, by default, is the name of the SCADA node, the data source. This field is configurable, however.
  • Tag is the database tag.
  • Field is the database field.
Examples of typical tag names:
NODE8.WATER-_SWITCH.F_CV 
NODE2.MASH_LEVEL.B_CUALM 
USGBS1.FIC101.F_CV 
USGBS1.FT102.A_LAALM
where
  • NODE8, NODE2, and USGBS1 are the names of the iFIX SCADA nodes.

  • WATER_SWITCH, MASH_LEVEL, FIC101, and FT102 are the names of the database tags.

  • 4F_CV means single floating point, current value.
  • B_CUALM means current alarm status.
  • A_LAALM means analog input, latched alarm.

OPC or Simulation Collector Tagnames

The format of Historian tags for an OPC or Simulation collector is:
ComputerName.ItemID
where
  • ComputerName, by default, is the name of the machine on which the collector is installed. This field is configurable, however.
  • ItemID is the data point being polled.

Calculation Collector Tagnames

There is no specified format for Historian tags for a Calculation Collector. We recommend that you select a consistent naming convention so the tags are easily and clearly identifiable. You should avoid using spaces and other special characters or reserved words used in SQL or VBScript. This applies to any tag being used as a source tag in the formula.

Server-to-Server Collector Tagnames

There is no specified format for Historian tags for a Server-to-Server Collector. We recommend that you select a consistent naming convention so the tags are easily and clearly identifiable. Server-to-Server Collectors allow you to specify a prefix to add to the Server-to-Server Collector tags.
Note: In cases where you want the destination tag's data to be a duplicate of the source tag, then the tag name would be identical. This is especially important so that all messages and alerts are included.

Browsing Your Data Source to Add New Tags

The most common way to add tags to an Historian Database is to browse the data source for new tags.
Note: Performing large tag browses in the Historian Administrator may cause your session to time out. Use the browse filter criteria to return a smaller list. In the Non-Web Administrator, if your OPC server supports hierarchical organization of your tags, see Adding Tags for Collectors with Hierarchical Browsing to speed browse sessions.

Using the Non-Web Admin to Browse your Data Source for New Tags

To browse for new tags, your collector must be running. If it is not running, start the collector.
  1. Open the Historian Non-Web Administrator.
  2. Select the Collectors link from the toolbar.
    The Collector Maintenance screen appears.
  3. If you have multiple collectors listed, select a collector from the Collectors list.
  4. To browse for new tags from your data source, click Add Tags at the bottom of the screen.
    The Add Multiple Tags From Collector dialog box appears.


  5. In the Show Only field, select either All Source Tags or Source Tags Not Collected.
    If you select the second option, the browse returns only the tags that are not currently included for collection.

    If a Historian tagname is different from its source address tagname, the source tag is displayed in the returned list even if you browse the collector using the Show Source Tags Not Collected criterion. Collection on the same source address using a unique tagname is allowed.

    A check mark beside a tag indicates that the tag is currently being collected. Absence of a mark indicates that the tag is not currently being collected.

  6. In the Source Tagname and Description fields, you can optionally enter masks for the browse, using standard Windows wildcard characters.
  7. Click Browse to initiate the search or Reset to start over.
    The browse returns a list of tags, as shown in the following figure. In the Historian Non-Web Administrator, a tag that is currently collected appears in black type. A tag that is not currently collected appears in blue type.


    See also Using the Non-Web Administrator to Add Multiple Tags from a Collector.

Using the Web Admin to Browse your Data Source for New Tags

To browse for new tags, your collector must be running. If it is not running, start the collector.
  1. Open the Historian Web Administrator.
  2. Select the Collectors link from the toolbar.
    The Collector screen appears.
  3. If you have multiple collectors listed, select a collector from the Collectors list.
  4. To browse for new tags from your data source, go to the Tags screen from the Configuration page.
  5. Click Add Tags at the bottom of the screen and select Add Tag from Collector.
    The Add Tags from Collector dialog box appears.
  6. Select single or multiple tags, click on Add Selected Tags button.

About Configuring Collector Options

If you are using Historian Non-Web Administrator, configure collector options as follows:
  • Start at the Collector Maintenance screen in Historian Administrator. You can access the Collector Maintenance screen in several ways:
    • Click the Collectors link in any of the major screens in Historian Administrator.
    • Click the collector name in the Collectors section of the Historian Administrator Main screen. This displays the screen with the specific collector already selected.
The Collector Maintenance screen lists all connected collectors at the left of the screen. The right-side displays parameter values, in several tabs, for the collector you select by clicking on a name in the list.
  • To make a change in a configurable parameter, enter the value in the appropriate field and click Update. For more information, refer to Historian Administrator.
If you are using Historian Web Administrator,
  • Go to the Collectors Screen. This displays the list of available collectors and their status. You can edit the collector configurable parameters.
  • From the Collector Maintenance screen or the Collector screen, click the various tabs to display parameters of various types for the specific collector you have selected.

    For more information, refer to Historian Web Administrator Help.

    .

About Collector Redundancy

Historian includes support for collector redundancy, which decreases the likelihood of lost data due to software or hardware failures. Implementing collector redundancy ensures that collection of your data remains uninterrupted. Collector redundancy makes use of two or more collectors, gathering data from a single source. For more information, refer to the Collector Redundancy.

Note: Use Polled tags only as watchdog tags.

About Collecting Vendor Attributes from a Data Source

Data sources are often customized to include information specific to a site's installation in the form of vendor attributes. This customization adds data not covered by the OPC or OPCAE specifications and may or may not require storage in the Historian Archive. As a result, the Historian Administrator provides a means to specify which vendor attributes will be collected from any given data source. A maximum of 10 vendor attributes can be collected.

Using the Non-Web Admin to Collect Vendor Attributes

  1. In the Historian Administrator Main screen, click the Collectors link in the toolbar.
    The Collector Maintenance screen appears.
  2. Select the Configuration tab.
  3. To collect all vendor attributes from the data source, select All.
  4. To collect up to 10 selected vendor attributes from the data source:
    1. Select the Selected option.
    2. Click Add to add a vendor attribute to collect from the data source.
      The Vendor Attributes dialog box appears.
    3. In the Vendor Attribute field, enter the vendor attribute you wish to collect from the data source and click OK.
      The vendor attribute appears in the list box on the Collector Configuration screen.
  5. To remove a vendor attribute, select it in the list box and click Remove.
  6. Click Update to apply your changes.

Using the Web Admin to Collect Vendor Attributes

  1. In the Historian Dashboard, click the Details button in the Collectors section.
    The Collect Statistics window opens.
  2. Click the Configure button.
    The Collector Configuration screen appears.
  3. To collect all vendor attributes from the data source, select All.
  4. To collect up to 10 selected vendor attributes from the data source:
    1. Select the Selected option.
    2. Click Add to add a vendor attribute to collect from the data source.
      The Vendor Attributes dialog box appears.
    3. In the Vendor Attribute field, enter the vendor attribute you wish to collect from the data source and click OK.
      The vendor attribute appears in the list box on the Collector Configuration screen.
  5. To remove a vendor attribute, select it in the list box and click Remove.
  6. Click Update to apply your changes.