O'Reilly logo

LabVIEW Graphical Programming Cookbook by Yik Yang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Compiling a DLL

Dynamic Link Library (DLL) contains executable functions that can be accessed by other programs in different platform. In this recipe, we will demonstrate how to compile a DLL in LabVIEW.

How to do it...

We will create a DLL within LabVIEW. First, we will create a project.

  1. Create a project with a factorial function, a square function, and an example that calls the functions from a DLL after the functions are compiled into one.
    How to do it...
  2. After we have created the project, we will create the square function. Create the block diagram as shown in the following screenshot for the square function. It squares the input and outputs the result.
  3. On the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required