Using External Code in LabVIEW

Call Library Function Node

Using External Code in LabVIEW

You can use LabVIEW to call code written in other languages in the following ways:

  • Using platform-specific protocols.
  • Using the Call Library Function Node to call the following types of shared libraries:
    • Dynamic Link Libraries (DLL) on Windows
    • Frameworks on Mac OS
    • Shared Libraries on Linux
  • Creating a Code Interface Node (CIN) to call code written specifically to link to VIs. LabVIEW must be installed on the computer you use to create a CIN.
Note  To convert an instrument driver written in LabWindows™/CVI™, download the LabVIEW Interface Generator for LabWindows/CVI Instrument Drivers from ni.com/idnet to complete the conversion of the front panel file.

Refer to cvilvsb.h in the labview\cintools directory for information about creating a LabVIEW CIN in LabWindows/CVI.

Note  There are platform-specific considerations when calling external code in LabVIEW.

(Windows) To view related topics, click the Locate button, shown at left, in the toolbar at the top of this window. The LabVIEW Help highlights this topic in the Contents tab so you can navigate the related topics.