I am writing an application using labview and need to use external code. I have read that using CINs are old fashioned and 'wrong' to use. Is this correct? Should I use shared dlls instead?
What are the advantages/disadvantages of both methods?
I am writing an application using labview and need to use external code. I have read that using CINs are old fashioned and 'wrong' to use. Is this correct? Should I use shared dlls instead?
What are the advantages/disadvantages of both methods?
I don't have personal experience of writing external code to be called by LabVIEW, but from the NI knowledge base: "When given the choice, a DLL is the choice to make."
The advantages they list include:
Potential disadvantages of DLLs are:
I'm pretty sure that every time I have seen this discussion in several years of following LabVIEW lists and forums the advice has been the same: CINs are obsolete, use DLLs - just be aware of the potential issues they can cause.
Thanks nekomatic for your answer. If anyone else is interested in this I found an article from the depths of the internet that explains advantages and disadvantages of both methods. Turns out CINS used to have advantages over shared dlls before labview 8.20, but they are obsololete now.
FTA: CINs have basically not one single advantage anymore over the use of the Call Library Node but quite a few disadvantages