08-30-2001 10:05 AM
08-30-2001 04:01 PM
08-31-2001 09:35 AM
10-16-2006 06:09 PM
10-17-2006 05:13 PM
10-18-2006 07:44 AM
High Dough:
Our LabVIEW 7.1 installationI doesn't have the MathScript Palette., is it free of charge?
I wanted to use ActiveX to pass data From LabVIEW To Matlab.
Our Customer (Steel Industry) uses Matlab to Analyse data files from production which are created by an old Data Acquisition system on site.
We have built a new data acquisition system for them based on National Instruments Hardware and Software. The Data logger is an executable built on LabVIEW 7.1 which logs data from differents sources (Analogues and Counter Cards, OPC, Reflective Memory, EGD -Ethernet, Profibus ect..). Now they want to read the new data files in Matlab as they used to do it with the old Data Logger.
The inconvenient is that those new data files are compressed binary files. So instead of writing a script in Matlab which read the files, decompress the data (inflate) and pass it over the Matlab Workspace I wanted to use a LabVIEW program (executable) that I already got to do this job. The only thing I'm missing is passing the decompressed data array (2D) from the LabVIEW executable to the Matlab workspace and for that I though I might use ActiveX access to Matlab.
That is why I want to know how to use the Matlab ActiveX Class Methods and Properties in LabVIEW.
Your feedback will be highly appreciated.
Thank you
Felix.
10-18-2006 09:26 AM
@Felix Belt wrote:Our LabVIEW 7.1 installationI doesn't have the MathScript Palette., is it free of charge?
10-18-2006 10:39 AM
03-03-2008 07:23 AM
Hello All.
I am also attempting to use the activex API calls to interface with Matlab. I have had some success getting the 'execute' and 'getvariable' methods to work, but I am unsure of how to convert the variant data that is returned from Matlab when I want to retrieve an array of data. When I try using the 'variant to data' vi I get a "data type mismatch" error. I am hoping that even someone who doesn't have much experience with the activex will know something about dealing with the variant data.
Thank you
Ryan
03-03-2008 07:36 AM