MathGroup Archive 1997

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: LabVIEW front end

  • To: mathgroup at smc.vnet.net
  • Subject: [mg8985] Re: [mg8920] LabVIEW front end
  • From: Mark Evans <evans at gte.net>
  • Date: Tue, 7 Oct 1997 03:35:31 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

I am familiar with your situation, having used both programs for some
years.  As far as I know there is no ready-made solution.  You will have
to write the MathLink code yourself.

On the LabVIEW side, it will be embedded in a Code Interface Node (or
maybe a DLL), and on the Mathematica side, you will have some
port-listening setup for the time when the first (i.e. initialization)
call from LabVIEW arrives.

The only caution is to beware what you are doing inside Mathematica if
your concern is fast real-time operation.  Depending how tight your
timing requirements may be, I would suggest an asynchronous arrangement
that queues up the data inside Mathematica to give it all the time it
needs to perform your analysis.



Michael Winter wrote:
> 
> I am currently using LabVIEW 4.0 for data acquisition, but need to access
> some of the functions in Mathematica for analysis. In order to do the
> analysis in real-time, I need to set up a connection between the two with
> Mathlink.
> 
> A few years ago there seemed to be quite a few people doing this, but now
> that I need to do it, all the information seems to have disappeared (seemed
> to happen about the time National Instruments purchased HIQ). The only
> remnant I can find is a LabVIEW VI found at both the National Instruments
> FTP site <>, and the Mathsource site. Unfortunately, it was written for an
> older version of LabVIEW for the Mac, and won't run on either a PowerMac or
> Win95 system.
> 
> Anyone have any experience with LabVIEW/Mathematica communication they'd be
> willing to share or know where I might find a "ready made" solution?
> 
> Thanks for your help.
> 
> -Mike



  • Prev by Date: Useful Dumb User Questions
  • Next by Date: Parsing polygons: The Sequel
  • Previous by thread: Re: LabVIEW front end
  • Next by thread: Re: Order of execution of initialization cells