Loading the NI-DAQmx I/O Controls Library in LabWindows/CVI

Updated Jan 19, 2023

Reported In


  • LabWindows/CVI Base


  • NI-DAQmx

Issue Details

I want to use the DAQmx custom control functions to programmatically create and configure DAQmx controls on my UIR. I know that I need the NIDAQmx I/O Controls library to gain access to these functions but it is not available. Where can I find the NIDAQmx I/O Controls library to add to my project?


LabWindows/CVI does not automatically load the NIDAQmx I/O Controls into the default Libraries so it is best to add it to your project.
  • Find the daqmxioctrl.fp file for the NIDAQmx I/O Controls library, which is located in the [National Instruments]\Shared\CVI\toolslib\custctrl directory.
  • In LabWindows/CVI, right-click your project and select Add Existing File.
  • In the Add Files to Project window, browse to the daqmxioctrl.fp file, then add it to the project.

Additional Information

The NI-DAQmx I/O Controls library contains functions such as NIDAQmx_NewTaskCtrl() and NIDAQmx_SetTaskCtrlAttribute(), for programmatically creating and configuring DAQmx custom controls on the UIR. You can see an example of these functions in use by looking at the shipping example located in:
[Documents and Settings]\All Users\Documents\National Instruments\CVI\samples\DAQmx\Analog In\Measure Voltage\Acq-Int Clk