Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Create task/channel AI/AO

Hello,

I used to create a task with several channels (create task + create channel). It works fine for the Analog Input channels, but if I do the same thing with the Analog Output channel, I get an error -200371
I am using a card PCI-6251 and probably the last version of Ni-DAQ.

If is normal
0 Kudos
Message 1 of 3
(3,006 Views)
Since you did not provide the tasks that you created in MAX, I'm going to assume that you get the error because the task contains the same channel(s) that you have in the physical channel constant wired to the DAQmx Create Channel. If you have an existing task, the only reason to use the DAQmx Create Channel is to add a new channel. If you want to specify all channels in the program, there is no reason to create a task in MAX.
Message 2 of 3
(2,999 Views)
Hello,

Thank for your response, You may be right, but, why does it work for the Input channels, and not for the
output channels ?

Regards
0 Kudos
Message 3 of 3
(2,990 Views)