Failed to Load Shared Library Error When Deploying VI Using LabVIEW DSC

Updated Sep 10, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

I have successfully developed a real-time application using functions from the DSC (Datalogging and Supervisory Control) Module, and it runs successfully in the development system. However, when I try to deploy it to my real-time device I receive an error similar to the following:
LabVIEW: Failed to load shared library NVIORef.dll: EVT_EnableValueChangeNotifications:C on RT target device 
or
LabVIEW: Failed to load shared library dscProc.dll:ni_lvdsc_process_GetProcessListEnd:C. Ensure that the library is present on the RT Target. 

 
Why is this occurring and how do I fix the problem?

Solution

LabVIEW DSC VIs are not supported for non-Windows targets. As a result, when you deploy the VI, LabVIEW cannot find the DSC module DLLs on the real-time target and throws an error. To resolve this, remove all VIs that are from the DSC palette from your LabVIEW application and redeploy the VI.

This issue has also been reported for Windows targets when the DSC run-time system is not installed. Make sure that it is installed on your computer so that LabVIEW run-time can recognise the DSC VIs.

WAS THIS ARTICLE HELPFUL?

Not Helpful