Element Types
Type String | Description |
Struct | Structure |
Char | Character |
Uint | Unsigned integer |
Int | Integer |
ULong | 64-bit unsigned integer |
Long | 64-bit integer |
Float | Double |
Bool | Boolean |
Bit | Bit pattern |
Bit64 | 64-bit pattern |
String | Text |
Time | Data-Time |
DpId | Data point instance reference |
LangString | Multilanguage text |
Blob | Blob |
Ref | Reference to another existing Data Point Type |
ArrayChar | Dynamic array of characters |
ArrayUint | Dynamic array of unsigned integers |
ArrayInt | Dynamic array of integers |
ArrayULong | Dynamic array of 64-bit unsigned integers |
ArrayLong | Dynamic array of 64-bit integers |
ArrayFloat | Dynamic array of doubles |
ArrayBool | Dynamic array of Booleans |
ArrayBit | Dynamic array of bit patterns |
ArrayBit64 | Dynamic array of 64-bit patterns |
ArrayString | Dynamic array of texts |
ArrayTime | Dynamic array of date-time values |
ArrayDpId | Dynamic array of data point instance references |
ArrayLangString | Dynamic array of multilanguage texts |
ArrayBlob | Dynamic array of blob values |
SetChar | Set of character elements |
SetUint | Set of unsigned integer elements |
SetInt | Set of integer elements |
SetULong | Set of 64-bit unsigned integer elements |
SetLong | Set of 64-bit integer elements |
SetFloat | Set of double elements |
SetBool | Set of Boolean elements |
SetBit | Set of bit pattern elements |
SetBit64 | Set of 64-bit pattern elements |
SetString | Set of text elements |
SetTime | Set of date-time elements |
SetDpId | Set of data point instance reference elements |
SetLangString | Set of multilanguage text elements |
SetBlob | Set of blob elements |
When opening a CSV file, for each object model to be created, both the Data Point Type and Data Point Element must be specified as follows:
# DPT Name;DPE Name;Type;(Reference);[DPE Name Type (Reference) .... ]
Furthermore, in the CSV file, it is also possible to define some mandatory Data Point Elements (that is, properties) that must be added to all the Data Points Types (object models) created.
In this case, the syntax to use is the same as for the standard Data Point Type, but the name of the Data Point Type must be an asterisk (*).
As every Data Point Type must have references to _GmsRelatedItems and _GmsStatusPropagation, those references are automatically added during the import and it is not necessary to declare them in the CSV file.
Also, the property SuppressAlarms is automatically added to all the Data Points Types created.