<div dir="ltr">You need to create a parameter renderer. In the gui modify config/parameter_renderers.yml:<div><span style="font-size:12.8px">InternetGatewayDevice.WANDevic</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">e.1.WANGponInterfaceConfig.</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">RXPower: mw_power</span><br></div><div><span style="font-size:12.8px">InternetGatewayDevice.WANDevic</span><wbr style="font-size:12.8px"><span style="font-size:12.8px">e.1.WANGponInterfaceConfig.T</span><span style="font-size:12.8px">XPower: mw_power</span><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Then in your config/parameter_renderers dir add a file called mw_power.rb:</span></div><div><div><font face="monospace, monospace"><span style="font-size:12.8px">def mw_power(val)</span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8px">  dbm = val * 0.1</span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8px">  </span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8px">  "#{dbm} dBm"</span></font></div><div><font face="monospace, monospace"><span style="font-size:12.8px">end</span></font></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 30, 2017 at 12:35 PM, Tunde Oyeyemi <span dir="ltr"><<a href="mailto:toyeyemi@ipnxnigeria.net" target="_blank">toyeyemi@ipnxnigeria.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I need advise on the integration of Parameters values conversion on the GUI. I have the values for the following parameters added to the summary list. However, the unit for the parameters is in mW but I need the values in dBm on the GUI using the formula below. Please how do I achieve this. I will appreciate your input on this.<br>
<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANGponInterfaceConfig.<wbr>RXPower<br>
InternetGatewayDevice.WANDevic<wbr>e.1.WANGponInterfaceConfig.<wbr>TXPower<br>
<br>
==============================<wbr>=======<br>
<br>
#!/usr/bin/perl<br>
<br>
use POSIX qw(log10);<br>
<br>
$P = shift;<br>
$RxP = $P/10000000;<br>
$log_10 = 10*log10($RxP*1000);<br>
$rounded = sprintf "%.2f", $log_10;<br>
print "\n";<br>
print $rounded."dBm";<br>
print "\n";<br>
<br>
==============================<wbr>==========<span class="HOEnZb"><font color="#888888"><br>
<br>
Tunde Oyeyemi.<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.genieacs.com" target="_blank">Users@lists.genieacs.com</a><br>
<a href="http://lists.genieacs.com/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.genieacs.com/mail<wbr>man/listinfo/users</a><br>
</font></span></blockquote></div><br></div>