Table Of Contents

Monitoring Data with Tags

Last Modified: September 27, 2018

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.

    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 aggregates its values, 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 of tags.
  6. Click Create.
  7. Click the gear next to the tag to view details and to 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. To search for a tag, click the filter button next to the search bar and specify whether to search by tag path, keywords, or properties of the tag. You can include multiple queries, but only tags matching all the queries will show as results. You can also use the wildcard character (*) in your path queries.

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 Skyline Data Services node documentation. To create and configure a tag using the Tag HTTP API, refer to the Tag HTTP API documentation.

Recently Viewed Topics