11-17-2010 11:57 AM
Hi everybody,
I am pretty new in the LabWindows/CVI environment, so apologize for any silly question. I have a real-time application running in a PXI, but I would like to "complete" it by adding new functionalities I have in C Code generated from Dymola. I have thought about creating a DLL of that code (using LabWindows) and then insert it in the .vi (the one I have running in the PXI) using the Call Library Function so that I could have the new .vi running in the PXI.
Will it work??
Thanks
Solved! Go to Solution.
11-17-2010 12:13 PM
Yes, LabView can call functions in a DLL created using CVI.
CVI ships with multiple examples that create a DLL. LabView ships with examples that use a DLL.
It could be a good exercise to build a DLL from a CVI example, and then call it from a modified LabView example.
11-18-2010 02:07 AM
Hi all,
AI S is right, you may find this KnowledgeBase and the associated links really helpful. This tutorial seems also interesting. Nevertheless, you should take into account the code will run on a Real Time Platform (such as the functions will run with the same priority as the caller threadand many other issues). Don't forget to FTP the *.dll file to the PXI.
Hope this helps,
11-26-2010 07:46 AM
Thank you very much for your help. I have finally managed to deploy a very simple dll created with CVI to Labview RT!!!!