04-19-2012 05:04 PM
Hi guys,
I've been trying to build a program where I read various devices (i.e. Thermocouples, Pressure Transducers, etc.) with the DAQmx. I've been setting up one DAQmx for each ai channel but it is giving me a reservation error. After numerous iteration, I figured out that you could place various task in one DAQmx but I still need one DAQmx for Voltage, one for Temperature, and one for Current for the same device( Dev4). When I try to run it, the same error I had before comes up again.
My question is: is there a way I can set up different DAQmx's for the same Device?
Thanks for the help,
Gus
04-19-2012 05:32 PM
04-19-2012 06:22 PM
One DAQmx "Task" may contain many "Channels". For Analog Input tasks those channels are not restricted by type (Voltage, Temp, Current...) HOWEVER, the DAQmx task creation wizard has this odd restriction and you have to add the channels one type at a time. (Someone in the DAQmx group should look into this someday... Hint)