Returns the tag data type stored in variant. This VI returns an error if variant does not contain a tag.

A tag is a data type for system resources and is similar to a refnum. A tag is allocated in a static manner when a VI begins execution, while a refnum is dynamically allocated. One example of a tag is a DAQmx Device Name.

Note The tag data type is installed with some add-ons, such as NI-DAQmx.


icon

Inputs/Outputs

  • cfxdt.png variant

    variant specifies the variant data from which you want to retrieve data type information.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • ienum.png tag type

    tag type returns the tag data type.

    For example, a DAQmx Device Name returns a tag type of kDAQmxDeviceTagType.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.