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.
We will create a DLL within LabVIEW. First, we will create a project.
- 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.
- 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.
- On the ...