Get Tag Information
- Updated2025-07-30
- 2 minute(s) read
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.

Inputs/Outputs
variant
—
variant specifies the variant data from which you want to retrieve data type information.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
tag type
—
tag type returns the tag data type. For example, a DAQmx Device Name returns a tag type of kDAQmxDeviceTagType.
error out
—
error out contains error information. This output provides standard error out functionality. |
variant
—
error in (no error)
—
tag type
—
error out
—