Can I Do Symbolic Mathematical Calculations in LabVIEW?

Updated Dec 7, 2022

Reported In

Software

  • LabVIEW

Issue Details

Due to the nature of the project I am working on I need to implement symbolic mathematical calculations which may include mathematical expressions, algebra, computation with mathematical formulas, solving differential equations, etc. 
Can I do this using LabVIEW?

Solution

In general LabVIEW does not support mathematical expressions and symbolic calculation. LabVIEW follows the dataflow model for running VIs. 

However, you can use several approaches to use LabVIEW to solve mathematical issues. These methods may include:
  • Eval Formula String VI in Mathematics->Formula->Advance Formula Parsing on the Functions Palette
  • Use Formula Nodes to interface graphical LabVIEW code with your mathematical formulas in text-based syntax
  • The Ordinary Differential Equations VIs and Partial Differential Equations VIs found in Mathematics->Differential Eqs on the Functions Palette
  • 3rd party toolkits to connect LabVIEW with other software

Additional Information

LabVIEW follows a dataflow model for running VIs. A block diagram node executes when it receives all required inputs. When a node executes, it produces output data and passes the data to the next node in the dataflow path. The movement of data through the nodes determines the execution order of the VIs and functions on the block diagram.