LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Location of labview.lib in labVIEW 2014

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.  

0 Kudos
Message 1 of 4
(3,812 Views)

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?

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 4
(3,789 Views)
Yes, that is what I am trying tou do. Also, the folder you desribed is where I expected to find labview.lib, but it is not in that folder (i.e., cintools).
0 Kudos
Message 3 of 4
(3,668 Views)

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

Kelli Kravetz
Product Marketing Manager
LabVIEW, LabVIEW NXG, LabWindows/CVI, Measurement Studio
National Instruments
0 Kudos
Message 4 of 4
(3,502 Views)