cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Manipulate raw data

Highlighted
Newbie

Manipulate raw data

Hi There I have some Raw Data coming into Thingworx from a MODBUS device through Industrial connectivity 8. the raw data is from a tank level sensor. It is in centimetres, I want to display and store it in metres to 2 decimal places. Is there a multiplier field or function say where you could enter 0.01 or something similar to manipulate the raw data>

1 REPLY 1
Highlighted

Re: Manipulate raw data

Hi,

You can use subscription to calculate value in Meter

1. Create property with basetype as "NUMBER" and check "Logged"

1.PNG

2. Create Subscription based on "DataChange" for RawProperty

3. In Subscription code, divide raw value by 100 and pass it to "TankLevelinMeter"

     2.PNG

4. Use "TankLevelinMeter" property to display value in meter

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!