annuler
Affichage des résultats de 
Rechercher plutôt 
Vouliez-vous dire : 

Why is the exponential not working in TestStand?

Résolu !
Accéder à la solution

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

0 Compliments
Message 1 sur 3
3 709 Visites
Solution
Accepté par l'auteur du sujet dlovell

Hi Dustin,

 

To do exponential in TestStand, you will need to use Pow(). ^ is actually bitwise exclusive-OR.

Hope this helps.

Rohama K.
Message 2 sur 3
3 703 Visites

Thanks!!! Can't believe I didn't think of that...

0 Compliments
Message 3 sur 3
3 692 Visites