List of data type conversion for attributes to properties
- Last UpdatedFeb 12, 2025
- 1 minute read
- PI System
- PI Server
The table below shows the conversion of attribute value types in to property data types in PI MDB.
|
PI AF Attribute Value Type |
PI MDB Property Data Type |
|---|---|
|
Boolean |
Boolean |
|
Boolean Array |
Object Array |
|
Byte |
Byte |
|
Byte Array |
Byte Array |
|
DateTime |
Date |
|
DateTime Array |
Object Array |
|
Double |
Double |
|
Double Array |
Double Array |
|
Element |
Not Supported |
|
Enumeration Set |
Not Supported |
|
File |
Not Supported |
|
Guid |
Object Array |
|
Guid Array |
Object Array |
|
Int16 |
Short |
|
Int16 Array |
Short Array |
|
Int32 |
Long |
|
Int32 Array |
Long Array |
|
Int64 |
Not Supported |
|
Int64 Array |
Not Supported |
|
Single |
Float |
|
Single Array |
Float Array |
|
String |
String |
|
String Array |
Object Array |
|
<Anything> |
(depends on AF attribute value; see table below) |
AF attributes can have a value type <Anything>. When <Anything> is the value type, then the PI property data type is determined by the attribute value, as shown in the following table.
|
AF Attribute Value Type |
AF Attribute Value |
PI Property Data Type |
|---|---|---|
|
<Anything> |
PIAlias |
PIAlias |
|
<Anything> |
PIHeading |
PIHeading |
|
<Anything> |
PIModule |
PIModule |
|
<Anything> |
PIPoint |
PIPoint |
|
<Anything> |
PIProperty |
PIProperty |
|
<Anything> |
PIUnitBatch |
PIUnitBatch |
|
<Anything> |
PIValue |
PIValue |
|
<Anything> |
Server |
Server |
|
<Anything> |
<Null> |
Null |
Note: The PI properties listed as Not Supported are represented in MDB as a String Type PI property with the following value: Data Reference is not supported by PI Module Database at this level.