Generate a DLL with a Type Library for Call Library Nodes from a LabVIEW Project

Updated Jul 18, 2019

Reported In

Software

  • LabVIEW

Issue Details

I generate a DLL from a LabVIEW project on my computer. When I call this DLL using a Call Library Node in another LabVIEW VI, the function prototype couldn't be recognized and need to be manually configured, as shown below.

But when I generate another DLL from the same LabVIEW Project on my colleague's computer, the function prototype can be automatically recognized, as shown below.

How could I generate a DLL with the function prototypes information?

Solution

  1. Ensure you have installed NI MSDT Build Tools on your computer.
  2. In the Project Explorer, navigate to the Build Specification for DLL and open the Build Properties dialog box.
  3. Navigate to the Advanced category, check Include a type library for TestStand or Call Library Nodes, as shown in Figure 1.
  4. Build the DLL again and it shall include a type library for Call Library Nodes.

Figure 1