07-24-2015 04:37 PM
I desire to use LavVIEW's "Call Library Function" node to execute C++ image processing code as part of a LabVIEW project; my goal is to take the image RGB2Lab conversion outside of the LabVIEW environment where the conversion is orders of magnitude faster. Following along with the YouTube video "https://youtube/1k1-YPu1ZAc" titled "Extending LabVIEW: creating a DLL in Visual Studio," one is directed to copy from the cintool folder two files: "extcode.h" and "labview.lib". I my case, the former is present, but the latter is not. Is the "labview.lib" file in 2014 version of Labview now stored in another location? Also, if there is a better approach than the one I am using, one that is clearly outlines the whole process (preferrably in a video format), that would be greatly appreciated. I personally have been unsuccessful using the tutorial posted on the NI's website, however this may be due either to my version of Visual Studio or to my lack of knowledge with respect to use of C++ programming with Visual Studio.
07-24-2015 05:39 PM
Jwtrexler,
labview.lib is in the following folder of my computer.
C:\Program Files (x86)\National Instruments\LabVIEW 2014\cintools
I haven't watched the video you posted, but are you trying to write some C++ code in VS then build that into a DLL and call it in LabVIEW?
07-25-2015 09:21 AM
07-27-2015 06:07 PM
The labview.lib should be in the C:\Program Files (x86)\National Instruments\LabVIEW 2014\cintools as mentioned before. This could be a result from your installation. If you try to reinstall LabVIEW it should download the missing libraries. If this doesn't work, you can try to force reinstall using the steps here: http://digital.ni.com/public.nsf/allkb/ADD22E807D5A12AD862579EC00760F79.
Hopefully this helps you out!
Kelli K.
Applications Engineering
National Instruments