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.
How to divide or multiply a SNMP Value
-
-
Change the data type to Numeric, then.
-
-
The data type is the type in Mango. The Write Type could still be set to gauge and still permit you to set it (and it would transform it back with the multiplier and augend on the way out). So, it being Numeric will only affect things in Mango.
-
-
Something else is going on there. You would have been clearly warned that you would lose the point value history of the multistate point when you changed it to numeric. Perhaps that could be improved.
But it sounds like those points are not polling. Do you have any events relating to this?
-
-
Hmm. And no events about why it's not working?
Yes you can definitely make a meta point and transform the value that way.
-
-
Please check for a related event on the events page.
Doesn't seem like the actual polling for data would be different for the different data types, The only part that is very concerned with the data type of the point is the variableToValue and valueToVariable functions but both of those should be able to handle a Gauge and Numeric. I shared with you the variableToValue function before: https://forum.infiniteautomation.com/topic/3887/snmp-host-testing
Please could You tellme how to make a script.
Create a meta data source. Create a meta data point. Add the point you wish to divide by 10 into context,
return p.value / 10; //where p is the variable name of the context point
-
Thanks so much, with Your script, now it is working... it is the most important thing, because the customer is testing this Scada platform.
Soon We will start checking what happen with this controller and them kind of SNMP Data.
Again, thanks for Your support