LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Typing into external command line ?

I want Mathematica 5.0 do some math for LabView data and return those processed data back into LV.

With LV I can open the Mathematica kernel with the Systec Exec.vi.
The Mathematica command line then opens.

How could I LabView have type ( premade text files ) into this external command line?
Is there a ( combination of ) genuine LV vi(s)or free non commercial vi(s) doing this job ?
0 Kudos
Message 1 of 3
(2,869 Views)
Hello,

You have several options:


1. The first, and easest way would be using the pre-build toolkit to link to Mathematica. You can find more information about this at the following link:

LabVIEW -> Mathematica

2. It is not possible to let LabVIEW type inside a excisting Command Pompt. You can let LabVIEW activate the the Command pompt Window though through the Windows API and then use the Keyboard que to "print" characters in the command line.

3. Try to find out if you can let Mathematica start up form the command line with pre given arguments (this information you have to collect from Mathematica). If so you could start up Mathematica and directly give some kind of command to it using the Syst
em exec.vi.

4. Try to determine if Mathematica has an ActiveX or DDE interface and how it is build. From LabVIEW you can call the commands using the ActiveX Server.

Best Regards,

RikP
Application Engineering
National Instruments
Rik Prins, CLA, CLED
Software Development Engineer
0 Kudos
Message 2 of 3
(2,869 Views)
Thanks, Rik.
This was of great help to me.

Peter.
0 Kudos
Message 3 of 3
(2,869 Views)