06-12-2023 11:35 AM
What happens in later versions if NI makes the decision to not support MatLab? Then what? That's what I am getting at in my previous post. Don't depend on third-party functionality that you as a programmer can do yourself.
06-12-2023 04:26 PM
@Eric1977 wrote:
I disagree on using the MatLab functions and I strongly disagree that this isn't helpful.
I find that users, more likely than not, don't need to use the matlab functions. It's usually just simple Algebra that users have leaned on MatLab to get the answer and think they need to use those functions. There hasn't been much need for me, as I can only lean on my own experience, to use ANY third-party functions that LabVIEW can't do natively. And, even if I think I do, there are many brilliant people here that can assist with usually any kind of mathematical (or non-math) help and try to steer users away from third-party software for functions unless it is absolutely necesary.
I agree with this in the context of it's always better to use built in functionality over using a library if you can. One thing that has always bugged me is how not great Labview is for displaying complex math equations, even for simple ones, it can be damn hard to SEE the equation unless you write it out, this is compounded by the fact that you can 'wire' an equation in any visual form and it will work. For complex equations I would prefer some kind of text based notation over Labview.
Here is an example of a 'simple' equation:
06-13-2023 05:09 AM
@Jay14159265 wrote:
One thing that has always bugged me is how not great Labview is for displaying complex math equations, even for simple ones, it can be damn hard to SEE the equation unless you write it out, this is compounded by the fact that you can 'wire' an equation in any visual form and it will work. For complex equations I would prefer some kind of text based notation over Labview.
Maybe you need something like this?
06-13-2023 08:26 AM
@tst wrote:
@Jay14159265 wrote:
One thing that has always bugged me is how not great Labview is for displaying complex math equations, even for simple ones, it can be damn hard to SEE the equation unless you write it out, this is compounded by the fact that you can 'wire' an equation in any visual form and it will work. For complex equations I would prefer some kind of text based notation over Labview.Maybe you need something like this?
Yes! That is awesome. If only that was a standard feature in LV.
06-14-2023 03:17 AM
@Jay14159265 wrote:
@tst wrote:
@Jay14159265 wrote:
One thing that has always bugged me is how not great Labview is for displaying complex math equations, even for simple ones, it can be damn hard to SEE the equation unless you write it out, this is compounded by the fact that you can 'wire' an equation in any visual form and it will work. For complex equations I would prefer some kind of text based notation over Labview.Maybe you need something like this?
Yes! That is awesome. If only that was a standard feature in LV.
Well, Mathematica from Wolfram Research did actually have a way to express mathematical functions in this natural way more than 25 years ago. It was amazing and used a form of mixture where you enter the formula in text form and it recalculated it in natural form. You did need a Macintosh however for this! 😁
I see that it is still around: https://www.wolfram.com/mathematica/
06-19-2023 02:27 PM
I was gonna be smart and say "Why not use the Expression Node?" but I see that does not allow for multiple variables.
Seems like something NI would want to tackle.
06-20-2023 04:51 AM
@Eric1977 wrote:
I was gonna be smart and say "Why not use the Expression Node?" but I see that does not allow for multiple variables.
Seems like something NI would want to tackle.
What of Eval Formula String?
06-20-2023 11:45 AM
I never knew about those functions. Looks like someone could concatenate their formula together and feed that right into the VI.