09-29-2022 01:03 PM - edited 09-29-2022 01:04 PM
Hi, I am looking to read analog input readings using USB-6353. Does this have python support for automated logging? If so, I have installed nidaqmx but receive an error about not being able to load "nicaiu" module. I am using python 3.9 and would like to use this.
09-29-2022 04:42 PM - edited 09-29-2022 04:43 PM
I did download the hardware package but now see the error raise DAQError or DaqError(error_buffer.value.decode("utf-8"). I have tried running the following code:
09-29-2022 04:56 PM - edited 09-29-2022 05:11 PM
I have downloaded hardware package and now do not see nicaiu missing module error. Can someone point me to link where I can read python analog voltage example? I get raise DAQerror when trying to add ai voltage chan on Dev1/ai0.
09-29-2022 08:15 PM
Please provide all the missing information.
OS, bitness, DAQmx driver version, programming language etc.,
09-30-2022 01:19 PM - edited 09-30-2022 02:12 PM
Hi, OS is windows 10/64 bit system and programming language is Python with visual studio. I downloaded DAQmx using pip install nidaqmx and have version 0.6.4 ,NI-DAQmx Python API
I am running python code on this page: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Pf1SAE&l=en-US
But see daq error with error code Hex 0x80040301
09-30-2022 02:24 PM
The problem may be there is no name assigned to device as you can see in image attached above. How to add name?
09-30-2022 03:33 PM
@ghsnc765 wrote:
The problem may be there is no name assigned to device as you can see in image attached above. How to add name?
Looks like DAQmx driver is not installed (not just the Python package). Did you install DAQmx driver from https://www.ni.com/en-us/support/downloads/drivers/download.ni-daqmx.html#460239 ?
09-30-2022 03:34 PM
Hi, yes that was installed