05-24-2012 06:07 PM
Hi,
I am hoping this is a simple question to get answered... I have a values in dBm and I am trying to convert it into mW so I am using this equation in a statement line
"Parameters.value_mW = 10^(Parameters.vaule_dBm / 10)" but the vaule it keeps giving me is 10.... ?_? So for debugging purposes I tried setting the equation to "Parameters.value_mW = 5^(Parameters.vaule_dBm / 10)" and behold it gives me a 5 instead of 10. It seems that TestStand is completly ignoring the exponential my number is being raised to.
Thanks for your help,
Dustin
Solved! Go to Solution.
05-25-2012 08:32 AM
Hi Dustin,
To do exponential in TestStand, you will need to use Pow(). ^ is actually bitwise exclusive-OR.
Hope this helps.
05-25-2012 10:30 AM
Thanks!!! Can't believe I didn't think of that...