From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

mathscript node vs formula node

Hi,

What is the difference between a MathScript node and a Formula node?

They look like they have the same function. 

Cory K
0 Kudos
Message 1 of 5
(7,100 Views)
Looks can be deceiving. Smiley Wink  Have you looked in the LabVIEW Help? Both of those nodes are fully explained in there. The Formula Node is for entering C-like code. The MathScript Node is for entering Matlab-like code.
Message 2 of 5
(7,089 Views)

Hi Teacher,

 

Which one is better integrated with LabVIEW, native to LabVIEW, and runs faster?  I am writing instrument driver.  If one of my customers has a only got a base-licence, he will not be able to run something writen by Mathscript.  Can he run if driver is writen by formula?

 

Thank you.

0 Kudos
Message 3 of 5
(6,662 Views)

Hi quig_shan61,

 

The Formula Node is included in the base package.    If you ever need to find out which VI is included in the different LabVIEW packages, you can look in the LabVIEW help.   At the top of the help document, it saves which LabVIEW package the VI needs.

 

Hope this helps,

 

Starla T. 

Message 4 of 5
(6,634 Views)

What do you need to do with an instrument driver that would require either and that you cannot do in pure LabVIEW code?

Message 5 of 5
(6,621 Views)