LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Mathematica with Labview?

I currently use MathLab script in my programs. Is there an easy way to do the same with Mathematica scripts and formulas?
0 Kudos
Message 1 of 8
(5,978 Views)
how about FORMULA NODE under STRUCTURES of Function Pallete?

See example in labview's search example> fundamental> structures..
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 2 of 8
(5,978 Views)
LabVIEW haven't built-in possibility use Mathematica scripts. There are only scripts of Matlab & HiQ.
But i think you can use Mathematica as ActiveX server.
0 Kudos
Message 3 of 8
(5,978 Views)
Actually Nada, that isn't exactly true. The best (and easiest) method for LV/Mathematica communications is the bi-directional 'Mathematica Link for LabVIEW' from BetterVIEW Consulting. (www.bettervi.com) This not only allows you to embed Mathematica scripts in your VI diagrams and front panels, but it also permits you to call a LabVIEW VI from a Mathematica Notebook! Numerous support VIs and samples are provided in the package, as well as a 200+ page User's Guide.
0 Kudos
Message 4 of 8
(5,978 Views)
Yes, the solution you are looking for can be found in "Mathematica Link for LabVIEW" from BetterVIEW Consulting. (www.bettervi.com)

This toolkit includes a library of VIs that allow you to send Mathematica scripts to Wolfram's MathKernel. It also includes tools that enable you to interactively call VIs from the a Mathematica notebook -- ideal for batch testing, running a series of experiments, generating automated reports using the Mathematica's notebook metaphor.

Once a link between Mathematica and LabVIEW has been established, scripts, data, and parameters in a wide variety of formats can be passed bi-directionally over the Link.

For more information and the "Mathematica Link for LabVIEW White Paper", visit http://www.bettervi.com/mlink/
0 Kudos
Message 5 of 8
(5,978 Views)
Formula nodes are fine if you simply need to evaluate an equation -- and you have enough information to specify the equation when VI is wired.

However, if you need interactive flexibility and would like to dynamically change equations at run-time, formula nodes won't work for you. Furthermore, if your interest in Mathematica is access to the enhanced power of symbolic manipulation (rather than simple evaluations of predefined equations), formula nodes really can't help you at all.

The solution you need for robust Mathematica script processing in LabVIEW is "Mathematica Link for LabVIEW". For more information, visit www.bettervi.com/mlink
0 Kudos
Message 6 of 8
(5,978 Views)
"BetterVIEW" schrieb im Newsbeitrag
news:506500000005000000F70D0100-1042324653000@exchange.ni.com...
> Formula nodes are fine if you simply need to evaluate an equation --
> and you have enough information to specify the equation when VI is
> wired.
>
> However, if you need interactive flexibility and would like to
> dynamically change equations at run-time, formula nodes won't work for
> you. Furthermore, if your interest in Mathematica is access to the
> enhanced power of symbolic manipulation (rather than simple
> evaluations of predefined equations), formula nodes really can't help
> you at all.


you also have the choice of using the "interactive formula node" in LabVIEW:
see the examples in ..\examples\math\math.llb"
0 Kudos
Message 7 of 8
(5,978 Views)
Thanks for the tip. I hadn't run across that particular example. Another great option for interactivity is CalcExpress. This is a powerful toolkit for anyone looking for interactive LabVIEW scripting.

Of course, the original post asked about a 'Mathematica' option. One can assume that this person is looking for the advanced mathematical capabilities only Mathematica (or Matlab) can provide. The forumla mode is a useful workhorse for numerical evaluation, but interactive or not, it can't approach the power of a decicated mathematics package like Mathematica.

But thanks again for pointing out the example!
0 Kudos
Message 8 of 8
(5,978 Views)