02-07-2006 06:19 AM
02-07-2006 08:56 AM
02-07-2006 10:47 PM
02-08-2006 03:54 AM
Not sure about the latest CVI versions but in LabWindows/CVI 6 it was definitely possible. You did need to include the cvilvsb.h header file provided with the LabVIEW cintools to tell the CVI compiler a few things he needed to know, but that was it. cvilvsb.h also contains some explanations as to how to go about doing this althoughI have no idea if that explanation is still fully correct as I haven't worked with CVI since version 6.
@DavidLee wrote:
Hi,
Can I using LabWindows/CVI to compile a CIN code ? If LabVIEW could support such a code block ?
David
02-08-2006 03:59 AM
There is no difference between a CIN and a DLL in that respect. A CIN is technically just a special form of a DLL anyhow. Also the panel is not contained in the DLL itself (at least it wasn't in earlier CVI versions) but in the UIR file. So you would need to distribute your UIR file as well together with the DLL/CIN. Using a CIN might pose problems to determine the path at which the UIR file needs to be loaded since a CIN is really a DLL that gets copied at load time into the temproary directory and loaded from there while your UIR file would stay at whatever place you have copied it.
@DavidLee wrote:
Hi Dennis,
But if the generated dll include a panel created by CVI, I'd like to know can it display in LW enviroument?
David