Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling labwindows in labview

Hi,

 

I need some real help.

 

Can someone give me a very simple example on  how to call a labwindows application in LABVIEW?

My labwindows application have to do some mesearments ....

 

I am using labwindows 8.5 and my Labview 10.

 

Thank you.

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

Hi agyna,

I cannot give you a complete example, but you could find useful informations in this tutorial:

Tutorial: Calling a LabWindows/CVI DLL from a LabVIEW Application

 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 4
(3,495 Views)

You might also want to look at putting your CVI code into a Function Panel. This has a number of advantages including the ability to document your code and CVI can automatically create the DLL project. Further more LV can then import the FP DLL via the "LabVIEW Instrument Driver Import Wizard (LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers)", see http://lumen.ni.com/nicif/us/gb_infolvinstdriver/content.xhtml. This has the advantage that all the FP documentation is exposed in LV. Please note several odd quirks:

  1. Error cluster interface is not supported so you need to look at the wrapper VIs created
  2. This tool is not available for LV2010!
0 Kudos
Message 3 of 4
(3,485 Views)

thanks, I will try.

0 Kudos
Message 4 of 4
(3,469 Views)