Skip to main content
Skip table of contents

Value Conversions

Value conversions are used to define the value that the point will take from the data received in the JSON. This conversion takes place before the standard proxyExt conversion and before the conversion of Facets.

The value output from the conversion chain must be of the same type as that of the point. For example, for a NumericPoint it is necessary to use an xxxToNumeric type conversion at the end.

The conversions are chained and are applied in the Niagara display order.

Example with SigFox: (The internal temperature sensor value is coded in 2 bytes, themselves stored in a hexadecimal string)


In the above example, the following operations are performed in order:

1. We select the characters representing our value. These are the characters in the indices 6 to 9, (inclusive, so there are 4 characters selected, see StringSlice)

2. Then we apply a hexadecimal encoded text (Hex) conversion to a 2-byte (16-bit) unsigned integer, whose most significant byte is placed first. (Big Endian)

Conversions implemented

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.