LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

using Lab windows instrument drivers in external compiler MSVC

Hello
I am creating my .uir file in lab windows, making a .obj file and using this in Visual Studio as external compiler. I have used 3 Instrument drivers, toolbar.fp, animate.fp and pwctrl.fp . How do i link these function panels in VC. Should i include the function panels *.fp in my Lab Windows project ? and then create an obj. I am getting linker errors with these instruments when trying to create a dll file in MSVC.
How do i go about this problem. Kindly help as i am in a dire situation regarding this problem as our clients suddenly have asked us for a change from C to C++ .

with gratitude
vivek $
0 Kudos
Message 1 of 2
(2,972 Views)
Hello

You should be able to add the .c files to the VC project, or add the obj files to the project settings. That should fix it. VC doesnt support fp files and this is probably one of the things you are missing. To add the obj files to the linker settings, go to Project >> Settings >> Linker tab. Add the name of the obj file to the list. Make sure you have added the path information for where the obj file is located to VC as well.
You can add the directories under the Tools >> Options >> Directories tab.

All the files for the fp are located under ..\CVI\toolslib\toolbox

Hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,972 Views)