Value Set Settings

This topic describes the settings of a value set in the Unified Data Manager. For an explanation of how value sets work, see Value Sets Overview. To create a value set, see Creating a Value Set.

General Settings

Setting

Description

Name

The name of the value set. The name is part of the value set tag.

Description

An optional description of the value set.

Value Set Tags

Each row on the Value Set Tags tab is one tag that the value set writes to. A value set can contain any number of tags.

Column

Description

Alias

An optional short name for the tag. The alias is the column heading for the tag on the Value Set Values tab.

Tag Name

The tag that the value set writes to. The tag name can contain parameter placeholders, such as <<Floor>>.

Is Array

When selected, the tag is an array.

Length

The number of array elements.

Array tags always use a lower bound of 0. If a value set configuration specifies a different lower bound, the Unified Data Manager ignores it and logs a warning when it loads the value set.

Value Set Values

Each row on the Value Set Values tab is one set of values that a client can select.

Column

Description

Value

The identifier that a client writes to the value set tag to select this row.

Name

An optional name that describes the row.

One column per tag

The value to write to that tag. Click in a cell to open the Value Properties dialog and set the Value, Mode, and Type.

Value Properties

Setting

Description

Value

The value to write, or the tag to read the value from when Mode is Tag. The value can contain parameter placeholders, such as <<Setpoint>>. Click the browse button to select a tag in the Data Browser.

Mode

How the value set uses the value:

  • Static—Writes the value as entered.
  • Tag—Reads the tag entered in Value and writes its current value.
  • Unset—Does not write to this tag for this row.

Type

The data type of the value written to the tag. See Data Types.

Data Types

Type

Description

VT_EMPTY

No type.

VT_I1

8-bit signed integer.

VT_I2

16-bit signed integer.

VT_I4

32-bit signed integer.

VT_INT

Signed integer.

VT_UI1

8-bit unsigned integer.

VT_UI2

16-bit unsigned integer.

VT_UI4

32-bit unsigned integer.

VT_UINT

Unsigned integer.

VT_R4

Single-precision floating-point number.

VT_R8

Double-precision floating-point number.

VT_CY

Currency.

VT_DATE

Date and time.

VT_BSTR

String.

VT_BOOL

Boolean.

Parameters

Each row on the Parameters tab is one parameter. A client passes the parameter values in the value set tag, in the order that the parameters are listed. Use Move Up and Move Down to change the order.

Column

Description

Name

The parameter name. Reference the parameter as <<Name>> in a tag name or a value.

Type

Number or String.

Padding Alignment

Where padding characters are added:

  • None—No padding. Padding Character and Number of Places are ignored.
  • Left—Adds padding before the value.
  • Right—Adds padding after the value.

Padding Character

The character used for padding, such as 0.

Number of Places

The total width of the padded value. For example, 7 padded on the left with 0 to three places becomes 007.