Table Of Contents

Tag Constant (Clock-Driven Logic)

Version:
    Last Modified: January 12, 2018

    Represents a tag reference on the diagram.

    Use this constant to select the static tag reference from which to read or to which to write.

    connector_pane_image

    What Is a Tag?

    A tag is single-point, latest value data that you can access from multiple documents within a project. A tag can store a single value of any data type that represents the state of a process. Tags are similar to global variables in text-based programming languages.

    You can create a tag either dynamically, using the Configure and Create Tag node on the diagram, or statically, in the shared resource collection file.

    You can create a tag to access the same data from multiple VIs within a project.

    What Is a Tag Proxy?

    A tag proxy is a reference that is local to part of the application that mirrors the value of the actual tag to which it is linked in another location in the application. You use a tag proxy to access data that is in another location in the application. You can read from and optionally write to a tag proxy only after the tag proxy links to a tag.

    Using a Tag Constant

    Complete the following steps to statically create and configure a tag.

    1. Create or open a shared resource collection document.
      spd-note-note
      Note  

      Shared resource collection documents have the .grsc file extension.

    2. Expand the Tag section and click Create New.
    3. Configure the data type, initial value, and other properties of the tag in the Item tab.

    Where This Node Can Run:

    Desktop OS: none

    FPGA: All devices

    Web Server: Not supported in VIs that run in a web application


    Recently Viewed Topics