12-17-2008 12:57 PM
I am trying to create a formula using log10(X) in a formula node. I can enter log(X) with no errors, but when I enter log10(X) I get an error. How do I use log10 in a formula node? Is log(X) actually log10?
Alan
12-17-2008 01:25 PM - edited 12-17-2008 01:26 PM
12-17-2008 01:32 PM
Log is typically base 10, test it in some code to find out.
12-17-2008 04:31 PM
I ran into this a while ago. There are two different contexts in LabVIEW that give different meanings to the logarithm functions, re what the base is. I think maybe one context is mathscript and the other is formula nodes. If you get the documentation for one when you are doing the other things make little sense.
I think maybe they just change which base "log" refers to and how to specify the other base.