Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

nidaqmx.Task: (OSError: [WinError 126] The specified module could not be found)

The following code for data acquisition gives the below error

import nidaqmx
with nidaqmx.Task() as task:
    nidaqmx.Task.ai_channels.add_ai_voltage_chan("Dev1/ai0")
    task.read()

OSError: [WinError 126] The specified module could not be found.

Do you know what is the reason and how to fix it? Thanks, Cheers!

like image 557
user14188321 Avatar asked Sep 13 '25 18:09

user14188321


1 Answers

Run this pip install nidaqmx command from cmd to install module.

like image 50
Seyi Daniel Avatar answered Sep 16 '25 08:09

Seyi Daniel