How does TrendMiner determine tag type?
When using a supported TrendMiner connector, the tag types and interpolations used in the historian will be converted to one of the tag types supported by TrendMiner.
For ODBC/OleDB/SQLite data sources, the tag type mapping can be configured as explained in the linked articles.
For other connectivity options to common data historians TrendMiner uses the type mappings as listed in the tables below:
Aveva Pi
Historian Type
Mapped TrendMiner Tag Type
OLEDB D, SDI PIPointType.Digital
DIGITAL
OLEDB S, SDI PIPointType.String
STRING
OLEDB others
ANALOG
SDK point.IsDiscrete
DISCRETE
IP21
A special query is executed when using the plug-&-play connector that gets information if interpolation type is stepped and information regarding the value’s ‘display length’. Given this, TrendMiner will assign any one of the supported tag types.
Aveva Wonderware
Historian Type
Mapped TrendMiner Tag Type
DoubleByteString, SingleByteString, Event, Structure
STRING
Double, Float
ANALOG
Considering RawType (Int1, Int2, Int4, UInt2, UInt4) and TagInterpolationType property
DISCRETE or ANALOG
GE Proficy
Historian Type
Mapped TrendMiner Tag Type
FixedString, VariableString, Time
STRING
Bool
DISCRETE
Considering StepValue (true or false) property
ANALOG (false); DISCRETE (true)
Exaquantum
Historian Type
Mapped TrendMiner Tag Type
String
STRING
Integer/long and discrete aggregation
DISCRETE
Others
ANALOG
PHD
Historian Type
Mapped TrendMiner Tag Type
U (unicode)
STRING
C (char)
STRING
I (integer)
DISCRETE
L (long)
DISCRETE
Others
ANALOG