cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Using DAQ from National Instruments

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.

0 kudos
Mensaje 1 de 8
2.404 Vistas

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:

 

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

 

 

0 kudos
Mensaje 2 de 8
2.338 Vistas

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.

0 kudos
Mensaje 3 de 8
2.372 Vistas

Please provide all the missing information.

 

OS, bitness, DAQmx driver version, programming language etc.,

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 kudos
Mensaje 4 de 8
2.350 Vistas

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

 

Descargar todos
0 kudos
Mensaje 5 de 8
2.324 Vistas

The problem may be there is no name assigned to device as you can see in image attached above. How to add name?

0 kudos
Mensaje 6 de 8
2.300 Vistas

@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 ?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution
0 kudos
Mensaje 7 de 8
2.282 Vistas

Hi, yes that was installed

0 kudos
Mensaje 8 de 8
2.279 Vistas