Table Of Contents

Monitoring Data with Tags

Last Modified: January 10, 2019

Create and configure a tag to track the value of a piece of scalar data.

  1. In Tag Viewer, click Create.
  2. Specify a path, or name, for the tag.
    spd-note-note
    Note  

    Use dot separators instead of slashes. The tag path is how you programmatically reference the tag in LabVIEW.

  3. Specify the data type of the values the tag will hold.
  4. Specify the retention type, which determines how long to store values in the tag's history. After you configure your tag, you can see a chart of current and past values under History.
  5. Specify whether the tag will aggregate values. If a tag collects aggregates, you can see the tag's minimum, maximum, and average values, as well as its total number of updates, every time the tag updates. You can view these values in the Tag Viewer list.
  6. Click Create.
  7. Click the gear next to the tag to view details and set keywords or properties for the tag. You can use keywords and properties to search for tags in Tag Viewer or in LabVIEW using Query Tags.
  8. Click Tag Viewer to return to your list of tags.
  9. Search for a tag in one of the following ways:
    • Type a tag path or part of a tag path in search bar
    • Click the filter button next to the search bar to search for exact matches. You can include multiple queries, but only tags matching all the queries return as results.
    You can use the wildcard character (*) when you search by path.

After you create and configure a tag, you can write values to tags, read tags, query tags, and create alarms or data visualizations using tag values.

To create and configure a tag using LabVIEW NXG instead of NI SystemLink Web Application, refer to the SystemLink node documentation. To create and configure a tag using the Tag HTTP API, refer to the Tag HTTP API documentation.


Recently Viewed Topics