My Built LabWindows™/CVI™ Executable No Longer Works in NI-DAQmx 15.1 or NI-DAQmx 15.1.1

Updated Dec 6, 2018

Reported In

Software

  • LabWindows/CVI

Driver

  • NI-DAQmx 15.1
  • NI-DAQmx 15.1.1

Issue Details

I am using LabWindows/CVI 2010 and NI-DAQmx 15.1.1. I am getting an error: DAQmxCreateTask called from a CV2010 project returns -200398 [0xfffcf132] unable to find DAQmxAdjust9246GainCal in NICAIU.DLL.

I built my application into an executable using CVI and DAQmx 14.5 or DAQmx 15.0. I upgraded to DAQmx 15.1 or 15.1.1 and the application no longer works. The error I see is:

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.
Function Name: DAQmxAdjust9246GainCal


Solution


This was a known issue affecting NI-DAQmx 15.1 and NI-DAQmx 15.1.1. Please upgrade to the latest version of NI-DAQmx to resolve this issue. 

Unused & empty functions were removed from the niDAQmx.h header file between NI-DAQmx 14.5/15.0 and 15.1. 

The functions removed in NI-DAQmx 15.1 were:
DAQmxAdjust9246GainCal
DAQmxAdjust9246OffsetCal
DAQmxAdjust9247GainCal
DAQmxAdjust9247OffsetCal
DAQmxGetTimingSyncPulseForce
DAQmxSetTimingSyncPulseForce
DAQmxResetTimingSyncPulseForce


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

WAS THIS ARTICLE HELPFUL?

Not Helpful