01-25-2018 01:19 AM
Hello,
Is it possible to convert LabWindows/CVI directly into a format that can be used in LabVIEW VIS?
I already known that the opossite it's not possible, because there is an article for that (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PARDSA4) , but i'm searching the contrary case.
Thanks so much.
01-25-2018 02:05 AM
The same as suggested win the KB you linked, you can create DLLs in CVI and use them in LabVIEW: see this article that describes how to do this
Building a DLL with LabWindows/CVI 8.5 for use with LabVIEW 8.5
Despite being aimed to old versions of the IDEs, the principles are applicable to more recent versions of CVI (and of LV, I suppose).
CVI Comes with some examples of building DLLs that you may also use as a reference in this task: you can find them by searching for "DLL" in the example finder (Help >> Find Examples... menu function)
01-25-2018 02:07 AM - edited 01-25-2018 02:07 AM
Thanks
But, this way is the unique way to "integrate" LabWindows in Labview?
01-25-2018 02:16 AM
I have already listened to talk about this solution, but I if I didn't work with DLL , Would I have any way to convert LabWindows/ CVI Program into LabVIEW VI?
Thanks so much.
01-25-2018 06:37 AM
Not that I know of: all the documentation I can find in my LV install or on NI site refers to calling libraries or DLL. Just as an example, look at these links:
Can LabVIEW C? - Example 3: Using the Right Tools with LabVIEW
There used to be an alternative with CIN (Code Interface node) but this functionality got deprecated in LV 2010 leaving only the Call Library function as a solution for code interconnection.
01-25-2018 06:40 AM
Thanks you so much.
🙂