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!
Run this pip install nidaqmx
command from cmd to install module.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With