Using IGOR for fitting data from Labview

Hello,

I am running a labview program and every one minute I get new data that I would like to use IGOR to fit to a user defined function and then pass back the needed fitted info back to labview.

My first thought is to use labview to create an igor batch file that Igor will automatically look for and then execute which will fit the data and output another file which labview will read. This seems to be cumbersome.

Is there a better way of doing it?

Thanks
Michael
If you are running on Windows you might be able to use ActiveX Automation with Igor playing the role of server and Labview of client. For details open "Igor Pro Folder\Miscellaneous\Windows Automation\Automation Server.ihf.
You could also setup labview to act as a TCP/IP server, or a webserver. You could then use SOCKIT.xop to connect to that server, process the data and return it back. This could have the added bonus of working when Labview is running on the other side of the world to IGOR.
andyfaff wrote:
Does Labview not do data fitting?

It doesn't do fitting as good as IGOR for the functions I need.
I would paraphrase andyfaff's question: "Does Labview not do data fitting?" to "Does Igor not do data acquisition?". The answer, of course, is a resounding YES (at least if you are running Windows, use NI cards, and have Igor's NIDAQ Tools MX).

I had a project that required substantial interactive data analysis with measurement data, and opted for the Igor approach, after failing to find a satisfactory LabView method. If you can satisfy the requirements mentioned above, I would urge you to consider Igor for your DAQ needs.

Stephen R. Chinn