Benefits
Benefits of Calling the Mathematica Kernel from a LabVIEW VI
Calling the Mathematica kernel from within a VI offers many
practical advantages. For example, you may need Mathematica's
sophisticated data-processing functions and may then want to display
the resulting graphics on a VI front panel. Or perhaps you would like
to generate publication-quality PostScript graphic elements for a
report or export a PDF or DXF file based on the output generated by
your VI. This mode of interaction can also be used to
generate Mathematica notebooks on the fly--a nice way to report
experimental results. Or you may want to take advantage
of Mathematica's symbolic and numerical functions while
formulating an appropriate analysis and control strategy for your
motion control, machine vision, or LabVIEW RT (real-time) application.
These and many other possibilities become available when you are
calling Mathematica directly from your VI diagram.
Both standard and add-on functions implemented
in Mathematica application packages can also be accessed from
LabVIEW. Because some algorithms involving many mathematical
computations are tedious to implement in G, LabVIEW's native
programming language, Mathematica Link for LabVIEW allows you
to divide up your most demanding requirements and implement the
computational steps in the program best suited to each
task. Furthermore, Mathematica Link for LabVIEW makes it
possible to use the Mathematica programming language to
interactively experiment with mathematical algorithms--even if these
algorithms are ultimately destined for formula nodes in stand-alone
LabVIEW applications.
"I would like to express thanks for creating a
product such as Mathematica Link for LabVIEW. I think that for
many users of both programs the absence of a fundamental, easy way to
share data--as natural as that sharing may be--has prevented a lot of
analysis beyond what was minimally required for the experiment."
Waleed Anbar
MIT Plasma Science and Fusion Center
Massachusetts Institute of Technology
|
Benefits of Calling LabVIEW VIs from a Mathematica
Notebook
Mathematica Link for LabVIEW also enables you to use
a Mathematica notebook as your primary user interface,
dynamically calling and running LabVIEW VIs in the background. This
option is particularly attractive when a long series of
measurements needs to be logged and analyzed interactively--a
requirement common to many research and development projects. In this
instance, Mathematica notebooks can be used as electronic
laboratory notebooks, and entire sessions can quickly and conveniently
be saved to notebook files for further analysis or hard-copy
output.
| |