User | Kudos |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
Background:
MathScript is slow compared to compiled LabVIEW for my application. Maybe, because it is interpreted, it is slower for most cases and not just mine.
In (older) MatLab, it is generally better to use "built-ins" compared to hand-made functions, because the built-ins are compiled and run faster. Sometimes "a = sum(b,c)" is much faster than "a = b+c".
Current MathScript allows me to make hand-made functions, but not directly called vi's. (as far as I know or can search)
Suggestion:
I would like to call a VI from the text in MathScript, like I would a function. As long as I pass in the right variables, I would expect the compiled (pure) VI to run substantially faster than MathScript alone.
Additional thought:
When moving from mostly MathScript to purely LabVIEW, there are intermediate stages where part of the code is in both forms. If we were able to do the above suggestion, the intermediate form would be faster and cleaner than the original, and would allow piecewise movement instead of "all or nothing".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea that has not received any kudos within a year after posting will be automatically declined.