LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compile the code that calls Labview from Matlab

Hi all, I am a new user of LabView. I am using AD7746 capacitance meter for testing my device. My task is to write a Matlab code that will call LabView software to read the data and do a lot of post processing with this data. I could have used LabView for this, but there are tools that I developed in Matlab and I need to use these with the data. Above all, the main task is to be able to compile all the above code (LabView code + Matlab Code). I have seen MITs capabilities in doing this, but am not sure if it can be compiled. Also, its sad to learn that this toolkit is no more supported in new versions. Could anyone provide me a resource where I can get the information to get this task done? I apologize if there is a similar post on this topic earlier.

Thank you
Prabhakar

0 Kudos
Message 1 of 6
(3,476 Views)

On the LabVIEW side, you can create a DLL if you have the professional version or have the separate application builder. I'm assuming that Matlab can call a DLL. How are you interfacing to the AD7746? Do you have the evaluation version with the USB connection?

0 Kudos
Message 2 of 6
(3,473 Views)

Hi

 

Thanks for the immediate response. Regarding the interfacing, yes I use USB connection.

Regarding creating a DLL, how can I do that ? I have the professional version.

 

Thank you

Prabhakar

0 Kudos
Message 3 of 6
(3,470 Views)

To create a DLL, open the LabVIEW help and find the Application Builder topic. There is a subtopic on building shared libraries.

Message 4 of 6
(3,461 Views)

Thank you for providing the resource. I searched for it and there is a good documentation out there.

I have one more question. Can the same task be done in linux environment ? I have seen

that linux equivalents of dll are .so files. But can these be compiled?

 

Thank you

Prabhakar

0 Kudos
Message 5 of 6
(3,432 Views)

If you have a separate license for the Linux version of LabVIEW.

0 Kudos
Message 6 of 6
(3,419 Views)