Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Asset Framework and PI System Explorer (PI Server 2024 R2)

List of data types

  • Last UpdatedDec 18, 2024
  • 2 minute read

The following table contains definitions of the data types in use in PI Asset Framework (AF).

Data type

Data Archive equivalent

Description

Range

Boolean

None

A data type that tracks true or false conditions

True or False

A Boolean attribute can be stored into a PI point of type String and any of the Integer tags, but Digital is the preferred representation.

Byte

None

An 8-bit unsigned data type

0 to 255

These values can be represented in a larger PI data type such as Int16. However, if Data Archive contains data outside the byte range, an error is returned when retrieved through PI AF.

DateTime

Timestamp

Date and time stored internally in 64 bits

  • If stored in Data Archive: 1 Jan 1970 to 19 Jan 2038, with a precision of 15 microseconds

  • If not stored in Data Archive: 1 Jan 0001 to 31 Dec 9999, with a precision of 100 nanoseconds

Double

Float64

A 64-bit floating point number

±5.0e−324 to ±1.7e308, 15 digits of precision

GUID

None

A unique 128-bit data type used for the global identification of objects

00000000-0000-0000-0000-000000000000 to ffffffff-ffff-ffff-ffff-ffffffffffff

The above values can be represented as a String PI data type.

Int16

Int16

A 16-bit signed integer

-32,768 to 32,767

The PI AF Int16 data type is not equivalent to the Data Archive Int16 data type. In Data Archive, the Int16 data type only supports positive integers.

Int32

Int32

A 32-bit signed integer

-2,147,483,648 to 2,147,483,647

Int64

None

A 64-bit signed integer

-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807

There is no equivalent of an Int64 in Data Archive. For non-numerical representations (such as an ID number), a string may be used. For numerical representations, Float64 provides some equivalence but will be subject to rounding issues with very large (positive or negative) numbers.

Single

Float32

A 32-bit floating point number

±1.5e−45 to ±3.4e38, 7 digits of precision

String

String

A sequence of multiple characters

Data Archive strings limited to 976 characters, and are not unicode

TitleResults for “How to create a CRG?”Also Available in