PI Asset Framework Server Data Types
AVEVA® PI Asset Framework (AF) servers store data in attributes, which typically
represent values retrieved from sensors, control systems, calculations, or manual inputs. You
can use the read or readHistory
function to retrieve data from the server. When you read data from the server, MATLAB® translates the value into the corresponding MATLAB data type.
This table lists the PI AF server data types and their corresponding MATLAB data types.
| Server Data Type | MATLAB Data Type |
|---|---|
Int16 | int16 |
Int32 | int32 |
Int64 | int64 |
Single | single |
Double | double |
Byte | uint8 |
String | string |
System.DateTime | datetime |
AFEnumerationValue | string representing the enumeration member. |
Boolean | logical |
These PI AF server data types are not supported in MATLAB:
Custom-defined types.
Arrays of primitive types, such as
Int16[],Int32[],Int64[],Single[],Double[],Byte[],String[],System.DateTime[], andBoolean[].
See Also
Functions
afclient|read|readHistory