Error -200398 [0xfffcf132] Occurs When Deploying LabWindows™/CVI™ Executables

Updated Sep 28, 2023

Reported In

Software

  • LabWindows/CVI

Driver

  • NI-DAQmx

Issue Details

I am using LabWindows/CVI and NI-DAQmx to build an executable.  It has worked previously, but now returns a Non-Fatal Run-Time Error.

The message reads: 
Function DAQmxCreateTask: (return value == -200398 [0xfffcf132]), Unable to find function in NI-DAQmx dynamic link library (DLL) NICAIU.DLL.

The DLL exists on your computer, but the version is incorrect. Install the correct version of the DLL on your machine.


The error I see looks like this: 
 


Or this:
 

Solution


This was a known issue affecting non-current versions of DAQmx. Please upgrade to the latest version of NI-DAQmx to resolve this issue. 

This error can occur when unused or empty functions are removed between DAQmx versions.  Updating to more recent versions resolves this error by replacing references to those functions.

This issue is specific to how LabWindows/CVI loads the DAQmx C DLL and does not affect other application development environments such as LabVIEW.