主要内容

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 TypeMATLAB Data Type
Int16int16
Int32int32
Int64int64
Singlesingle
Doubledouble
Byteuint8
Stringstring
System.DateTimedatetime
AFEnumerationValuestring representing the enumeration member.
Booleanlogical

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[], and Boolean[].

See Also

Functions

Topics