Solution
This could be occurring because the target computer may be:
- A different OS than the Server computer - DLL's can change location or not even be available between different OS's
- The function cannot call a DLL that was not sent over through the Application (.exe)
You could fix this issue by:
- Using the same OS on your Server and Target if using DLL's from the OS system
- If the DLL's are from a 3rd party: Install the DLL's from the 3rd part onto the target computer
- Add the DLL to the executable so that it is carried over to any target computer:
- Go to the Project Explorer
- Right click Build Specifications
- New --> Shared Library (DLL)
- In Information choose the Destination directory of the DLL's that you want to include
- In Source Files chose what you want to "Always Include"
- Click Build
- Make sure that the file will be part of the EXE by following this article How Do I Add A DLL To A LabVIEW EXE?.
- Open the the VI being referenced in the error message, and make sure that the DLL(s) being called from this VI exists in the path defined in the Call Library Function Node.
- If the DLL was moved to a RT PXI and built with Visual Studio, make sure that you have Microsoft Visual Studio Runtime Support installed under LabVIEW Real-Time in the installation wizard in NI-MAX (the Visual Studio Runtime Support and LabVIEW Real-Time versions depend on the ones installed on your computer):
