The PI Point Int32 can store numbers in the range -2147483648 to 2147483647, but can it also store the unsigned range of 0 to 4294967295 by setting Zero and Span or will I need to use Float32?

The PI Point Int32 can store numbers in the range -2147483648 to 2147483647, but can it also store the unsigned range of 0 to 4294967295 by setting Zero and Span or will I need to use Float32?

- 2 people found this helpful
Data is accepted only within this range (-2,147,483,648 to 2,147,483,647)

Additional Reference : Data Type

- 3 people found this helpful
If you are reading a 32 bit unsigned integer from a source, it could be stored as a signed 32 bit integer. However, any values > 2,147,483,647 will appear as negative numbers.

Because PI does not support Int64, you cannot use it. But you may store the value as a String.

Can you use Float32? Yes, but it will truncate the number. Float32 is a Single and follows IEEE precision, which is 7 significant digits for a Float32. The value 4294967295 has 10 significant digits, so the actual value being saved to PI would be 4294967

**000**.The other option would be to use a Double precision or

**Float64**.

Data is accepted only within this range (-2,147,483,648 to 2,147,483,647)

Additional Reference : Data Type