List of property to attribute value type conversion
- Last UpdatedFeb 12, 2025
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
The following tables show how the property value data type in PI MDB is converted to the attribute value type in PI AF. This first table shows simple data type conversions.
Property to attribute value type conversions (simple types)
|
PI Property Data Type |
AF Attribute Value Type |
|---|---|
|
Boolean |
Boolean |
|
Byte |
Byte |
|
Byte Array |
Byte Array |
|
Date |
DateTime |
|
Double |
Double |
|
Double Array |
Double Array |
|
Float |
Single |
|
Float Array |
Single Array |
|
Long |
Int32 |
|
Long Array |
Int32 Array |
|
Short |
Int16 |
|
Short [] |
Int16 Array |
|
String |
String |
Some property data types convert to an attribute value type of <Anything>. If the attribute value type is <Anything>, then the property type also determines the attribute value in PI AF, as shown in the following table.
<Anything> value type conversions
|
PI Property Data Type |
AF Attribute Value Type |
AF Attribute Value |
|---|---|---|
|
Null |
<Anything> |
Null |
|
Object |
<Anything> |
Not Supported |
|
PIAlias |
<Anything> |
PIAlias |
|
PIHeading |
<Anything> |
PIHeading |
|
PIModule |
<Anything> |
PIModule |
|
PIPoint |
<Anything> |
PIPoint |
|
PIProperty |
<Anything> |
PIProperty |
|
PIUnitBatch |
<Anything> |
PIUnitBatch |
|
PIValue |
<Anything> |
PIValue |
|
Server |
<Anything> |
PIServer |