Chapter 3 Tag Configuration
©
National Instruments Corporation
How Do You Configure Tags?
When you configure a tag with the Tag Configuration Editor, you define
several attributes for the tag. You can separate these attributes into five
categories: general, connection, operations, scaling, and alarms. Each of
these categories is explained in detail later in this section.
If you import tag configuration information from a spreadsheet, follow
the same format in your spreadsheet as indicated in the Attribute column
of each of the tables listed above. For more information about using
spreadsheets, see the
How Do You Use Spreadsheet Files for Tag
section in this chapter.
Data Type
Configuration of a tag varies slightly depending on the data type.
The following sections discuss the details of tag configuration for each
data type.
Analog Tags
is a continuous value representation of a connection to
a real-world I/O point or memory variable. This type of tag can vary
continuously over a range of values within a signal range.
Use an analog tag when you want to express a continuous value
(for example, 0 to 100).
Discrete Tags
A
is a two-state (ON/OFF) value representation of a
connection to a real-world I/O point or memory variable. This type of
tag can be either a 1 (TRUE) or a 0 (FALSE).
Use a discrete tag when you want to express a two-state (ON/OFF) value.
Bit Array Tags
is a multi-bit value representation of a connection to a
real-world I/O point or memory variable. This type of tag can be comprised
of up to 32 discrete values.
Use a bit array tag when you have a multi-bit value in which each of the
bits represents a flag or single value that is turned on or off. The maximum
length of a bit array tag is 32.