Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
mapping values to something meaningful
-
Hi Guys,
I'm using the Admin Template for my dashboard. I have a few values coming in that are numeric that mean different things.
What is the best way for me to translate these whole numbers into something?
Ideally it'd be great if I could define a translation map or table or something and then reference that?
for context, I've got data coming from a UPS and the number represents the power source:
1 - "main input"
2 - "bypass input"
3 - "battery"I've had a look through the docs and couldn't find anything that jumped out at me as a solution to this.
Cheers!
-
I do all our translations within the data point.
If the point has multiple values you can create a new template and do add Text Render Properties to it.
In the image below, this point can have multiple values and the values mean different things:
Here's a binary point render:
-
@mihairosu Thanks very much! This is exactly what I need.