TagDataType

Description

The Data Type of the tag. This property applies to all tag Types. The value of the property is fixed by ClearSCADA. You cannot change it. The possible values are:

Value Name Description
7 Double Used for analog tags.
9 DoubleByteString Unicode string. Used for string tags.
10 Event Used for events.
6 Float Floating point. Used for analog tags.
0 Int1 Signed 1-byte integer. Used for discrete tags.
2 Int2 Signed 2-byte integer. Used for analog tags. Equivalent to short.
4 Int4 Signed 4-byte integer. Used for analog tags. Equivalent to int.
8 SingleByteString ASCII string. Used for string tags.
3 UInt2 Unsigned 2-byte integer. Used for analog tags. Equivalent to unsigned short.
5 UInt4 Unsigned 4-byte integer. Used for analog tags. Equivalent to unsigned int.

If you create a metadata field for this property, then an error will occur if you set the field to an invalid value for this property. HCAL will not export data for that point or accumulator.

In ClearSCADA, only Float, Double, Int2 and Int4 are used. ClearSCADA uses Int2 for all digital type points. This is because ClearSCADA supports 1-, 2- and 3-bit digital points. Int1 can only be used for discrete tags with just two states.

ClearSCADA Metadata Field

WH_TagDataType

Default Value

The data type of the point or accumulator in ClearSCADA.

Type

Long.


Disclaimer

ClearSCADA 2017 R2