pandaman Posted August 17, 2005 Report Share Posted August 17, 2005 How would you express exponential expressions using ONLY expression nodes (found in numeric on functions bar)? I have tried 10^x, but the values are not desirable: 1------[10^x]-----11 2------[10^x]-----8 3------[10^x]-----9 4------[10^x]-----14 5------[10^x]-----15 6------[10^x]-----12 I have tried exp(), but it doesn't work... ... Quote Link to comment
Neville D Posted August 17, 2005 Report Share Posted August 17, 2005 How would you express exponential expressions using ONLY expression nodes (found in numeric on functions bar)? I have tried 10^x, but the values are not desirable:1------[10^x]-----11 2------[10^x]-----8 3------[10^x]-----9 4------[10^x]-----14 5------[10^x]-----15 6------[10^x]-----12 I have tried exp(), but it doesn't work... ... 5693[/snapback] Try x**y (where y is the exponent). Neville. Quote Link to comment
pandaman Posted August 17, 2005 Author Report Share Posted August 17, 2005 Try x**y (where y is the exponent).Neville. 5694[/snapback] Wow, it worked! I wonder though why LabVIEW uses ** instead of ^... it would make much more sense to use the former since it works in the Eval f(x) methods. I am very curious as to how ^ operates in expression nodes, since I did receive output. Thanks for the help :worship: Quote Link to comment
AnalogKid2DigitalMan Posted August 17, 2005 Report Share Posted August 17, 2005 ^ may be reserved for bit exclusive or operations Quote Link to comment
pandaman Posted August 17, 2005 Author Report Share Posted August 17, 2005 ^ may be reserved for bit exclusive or operations 5697[/snapback] Oh yea, it's an exclusive OR bit operator.... Quote Link to comment
Neville D Posted August 17, 2005 Report Share Posted August 17, 2005 Wow, it worked! I wonder though why LabVIEW uses ** instead of ^... it would make much more sense to use the former since it works in the Eval f(x) methods. I am very curious as to how ^ operates in expression nodes, since I did receive output.Thanks for the help :worship: 5696[/snapback] No problem. Somewhere in the LV documentation there is a page showing all the operators allowed for the formula node & expression node. N. Quote Link to comment
progor Posted August 18, 2005 Report Share Posted August 18, 2005 you can find it in Help - Precedence of Operators in Formula Nodes and Expression Nodes Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.