Table Of Contents

Configure and Create Tag (G Dataflow)

Version:
    Last Modified: October 2, 2017

    Creates a tag endpoint based on the input data type and tag-specific configuration settings.

    Use this node when you want to create multiple tags in loops.

    connector_pane_image
    datatype_icon

    initial value

    The first value you pass to the tag, which is read from the tag immediately after it is created, and before any write operations are performed.

    This input adapts to any supported tag data type, which determines the data type of the tag. Subsequent values you write to the tag overwrite this value.

    Default: 0

    datatype_icon

    timestamps?

    A Boolean that determines whether the created tag stores a value that has a timestamp associated with it.

    True The created tag stores a value that has a timestamp associated with it.
    False The created tag does not store a value that has a timestamp associated with it.

    Default: False

    datatype_icon

    error in

    Error conditions that occur before this node runs.

    The node responds to this input according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    Default: No error

    datatype_icon

    tag ref

    A reference to the tag endpoint that this node creates.

    datatype_icon

    error out

    Error information.

    The node produces this output according to standard error behavior.

    Standard Error Behavior

    Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

    error in does not contain an error error in contains an error
    If no error occurred before the node runs, the node begins execution normally.

    If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

    If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

    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.

    Where This Node Can Run:

    Desktop OS: Windows

    FPGA: This product does not support FPGA devices

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


    Recently Viewed Topics