LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mathematics

Solved!
Go to solution

Hi, this is Soumitra Sabnis from Mumbai, India.I wanted to know the exact difference between Mathscript and Formula Node.

Regards.

0 Kudos
Message 1 of 3
(2,339 Views)
Solution
Accepted by topic author soumi6793

Read this

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,334 Views)
Solution
Accepted by topic author soumi6793

Formula node <> Mathschript

Included with LabVIEW <> Separate toolkit at additional cost

C++ like syntax <> Matlab like syntax

 

Since you name the subject of this thread "mathematics", I assume that you are trying to solve a mathematical problem. Both structures are about programming, not directly about math. Right?

 

A mathematical problem does not require text based code. In most cases it is better to use plain graphical programming in LabVIEW. It will be much easier to debug and the compiler will have much more freedom to utilize all available CPU cores if needed. Seasoned text programmers seem to gravitate to text based code structures out of habit, but I would strongly recommend to take a step back and embrace graphical code.

 

What problem are you trying to solve?

 

As a comparison, here is a picture of poor mostly formula based code.

 

OverdosingOnLocals.png

 

While the graphical code version of the same is arguably much better.

 

HalloweenCandyMachine.png

 

0 Kudos
Message 3 of 3
(2,274 Views)