parameter value conversion on GUI

Tunde Oyeyemi toyeyemi at
Sat Jul 1 15:16:38 EDT 2017

Thanks Dan for the explanation. However, the value is still in mW. How 
do I embed my calculation to show in dBm as shown below.

$P is the value in mW.
$M is the value in dBm  that I need.

$RxP = $P/10000000;
$log_10 = 10*log10($RxP*1000);
$M = sprintf "%.2f", $log_10; ($M is rounded up to 2 decimal places).

‘Tunde Oyeyemi

More information about the Users mailing list